Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5948

Env name getter

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • None
    • None
    • cordova-plugin-device
    • None

    Description

      It'll be really cool and useful have some getter or property inside of app that can indicate in what type of build we work (dev/prod). For example dev when we build debug build and prod when release build. It can be extremely helpful when developers build serious commercial products. In this case switching of some methods and requests in app can be automatized.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              crazedcoder Вячеслав Шабельник
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: