Skip to content
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

Crash since updating #457

Open
mrwrighty opened this issue Jan 28, 2021 · 2 comments
Open

Crash since updating #457

mrwrighty opened this issue Jan 28, 2021 · 2 comments

Comments

@mrwrighty
Copy link

Old app worked fine with NS6 and NS7. Had to mod project so updated to Nativescript 7.1.2

Application refuses to load any page with a mapView defined. Upgraded to and nativescript-google-maps-sdk version 3.0.2 and now get this crash report when running ns debug iOS: -

NativeScript encountered a fatal error: Uncaught ReferenceError: NativeClass is not defined
at
(file: node_modules/nativescript-google-maps-sdk/map-view.ios.js:49:0)
at ../node_modules/nativescript-google-maps-sdk/map-view.js(file:///app/vendor.js:65443:30)
at webpack_require(file: app/webpack/bootstrap:816:0)
at fn(file: app/webpack/bootstrap:120:0)
at (file: app/app.js:41:18)
at ./app.js(file:///app/bundle.js:221:30)
at webpack_require(file: app/webpack/bootstrap:816:0)
at checkDeferredModules(file: app/webpack/bootstrap:43:0)
at webpackJsonpCallback(file: app/webpack/bootstrap:30:0)
at (file:///app/bundle.js:2:57)
at require(:1:137)
(CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Uncaught ReferenceError: NativeClass is not defined
at
(file: node_modules/nativescript-google-maps-sdk/map-view.ios.js:49:0)
at ../node_modules/nativescript-google-maps-sdk/map-view.js(file:///app/vendor.js:65443:30)
at webpack_require(file: app/webpack/bootstrap:816:0)
at fn(file: app/webpack/bootstrap:120:0)
at (file: app/app.js:41:18)
at ./app.js(file:///app/bundle.js:221:30)
at webpack_require(file: app/webpack/bootstrap:816:0)
at checkDeferredModules(file: app/webpack/bootstrap:43:0)
at webpackJsonpCallback(file: app/webpack/bootstrap:30:0)
at (file:///app/bundle.js:2:57)
at require(:1:137)

@mrwrighty
Copy link
Author

mrwrighty commented Jan 28, 2021

Ok this is a repeat of #452

Not fixed in 3.0.2

@OPADA-Eng
Copy link

Any solution other than the workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants