-
-
Notifications
You must be signed in to change notification settings - Fork 24
Plugin causes Angular apps to crash #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hmmm... the plugin works fine with the Hello World TypeScript template. Maybe it’s something about the Angular drawer template. |
Also fails with the Angular Hello World template. Looks like this is something specific to Angular... but I have no idea what :( |
Hey @tjvantoll! I can reproduce this with your steps. Thanks for reporting it, I'll try to look into it asap. |
Looks like the template recently changed this line to I'll have to look into making the plugin compatible with that change. |
Please update to 1.0.7 - it's One note about version 1.0.6 and up: if you want the plugin to sync when hmr is enabled (like with If you don't pass that in, this line will be executed. |
That fixed it 🎉 Thanks @EddyVerbruggen for the super fast response! |
Hello, We have encountered this issue recently with the latest version "2.0.2" on an ios ipad. "Terminating app due to uncaught exception 'NativeScript encountered a fatal error: TypeError: undefined is not an object (evaluating 'global.process.platform') We are using nativescript 6 and here it is the tns doctor result: No issues were detected. Did we miss something? |
Hey @EddyVerbruggen,
Went to add this plugin to a new app today and noticed that it causes the app to crash at runtime with a somewhat cryptic error.
You can recreate the problem pretty simply.
tns plugin add nativescript-app-sync
tns run ios --emulator
I’ll try to debug a bit and see if this is related to the new version, or maybe the type of app.
The text was updated successfully, but these errors were encountered: