Open d-mh opened 4 years ago
You can setup a "application.resumeEvent" and "application.suspendEvent" listener, and for Android only, call "mapView.nativeView.onResume()" and "mapView.nativeView.onPause()" I put a bit of a delay on them, and it seems to help.
I have a problem with application written with NativeScript and Angular on Android (this is only Android app). This app is using
dapriett/nativescript-google-maps-sdk
,NativeScript/nativescript-camera
andnativescript-imagepicker
Repo url: https://github.com/d-mh/nativescript-google-maps-crash
Application crash every time when I do below steps:
map.component.ts
)event.component.ts
) - fab button on right bottom side of pageevent.component.ts
I am opening image picker (nativescript-imagepicker
)back
button on Android or location.back()What is interesting when I do
location.back()
or pressback
button on Android without opening camera or image picker, back action works great and without any errors.I am thinking this issue is related to error below:
but I am not sure how to change id on View with Angular app ...
Thank you for any inputs!
I am receiving this error: