Open vforv opened 4 years ago
Looking through your plugins, I see some referring to versions that are not compatible with NS 7 - I would suggest at least these changes:
"nativescript-appversion": "^1.4.1" -> "@nativescript/appversion": "~2.0.0",
"nativescript-theme-core": "~1.0.4" -> "@nativescript/theme": "~3.0.0",
"nativescript-barcodescanner": "^3.4.1" -> "nativescript-barcodescanner": "~4.0.0",
"nativescript-iqkeyboardmanager": "^1.5.1" -> "@nativescript/iqkeyboardmanager": "~2.0.0",
(and fixing the places where they are used as well).
Not that this should work in a simulator, it just seems a bit odd that you can run the NS7 project with these old plugin versions, so I would start by updating them (and check the remaining ones, too).
Environment Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug
When I build on emulator, and device it works. When I build for device and open on device it open and close fast
here is video: https://streamable.com/u4dym2
To Reproduce
This commad is used to create build:
tns build ios --bundle --env.environment="prod" --env.uglify --env.aot --clean --release --for-device --provision YOUR PROVISIONING PROFILE
I tried this with brend new app same thing
New project generated with:
ng new --collection=@nativescript/schematics my-shared-app --shared
I tried with ns as well
When I do run on emulator like this:
tns run ios --bundle --env.environment="prod" --env.uglify --env.aot --clean
it worksSo I guess it is some bug with this part:
--release --for-device
Expected behavior
Sample project
App should work as it working on emulator