NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore
http://docs.nativescript.org/runtimes/ios
Apache License 2.0
298 stars 59 forks source link

allow console in production build #1282

Open farfromrefug opened 3 years ago

farfromrefug commented 3 years ago

Right now console is disabled in production builds. https://github.com/NativeScript/ios-runtime/blob/9ed612b7d8479176df2abee50df70e6213b62b74/build/project-template/internal/main.m#L32 however you might need them in testflight releases to debug issues. Would be great to have a forceLog option likeandroid (and thus making it global). this is also something we should see in the v8 runtime