nativescript-google-maps-sdk
nativescript-google-maps-sdk copied to clipboard
Application suddenly hangs and just shuts down without no NativeScript crash log
I have used this plugin a long time now without a problems but noticed in harder use that when I navigate around to different views which is necessary in this application it just hangs, Google maps going "white" and soon after that whole application just closes without nativescripts own crash report view.
Only thing I see is this via console:
I have seen few hangs with error log where cause is OOM but it seems to be very hard to reproduce intentionally, so I can't post it just yet.
I'm using Nativescript with javascript and it's version 2.4.2 since some plugins ain't working on newest nativescript for me. I how ever don't believe my case is that but something to do with destroying google maps view before navigating out and in again or something..
Based on monitoring and logs it's OOM (OutOfMemory) error when stack gets too big. So question is that is there a correct way to destroy gmap view when navigating out. It takes small amount more of memory each time I navigate out and back in to the view which has maps view, till it hangs completely due OOM.
Did you find a way to clean destroy the gmap view?
This is becoming a major problem for me too.
Any way to destroy mapview?
Hello, any news? Thanks