ios-jsc
ios-jsc copied to clipboard
Expose build configuration of the app in JavaScript
This will allow JavaScript code to check if the app is built for Debug or Release. A possible implementation is to set the value of JavaScript variable in code surrounded by:
#if DEBUG
...
#endif
Releated to: https://github.com/NativeScript/NativeScript/issues/1293
Maybe this could be of help: https://github.com/NativeScript/ios-runtime/pull/408?
Was this feature added to NativeScript release? I tried using it but, it didn't work. Is there any ETA about this feature?