Ola
I am receiving gps co-ordinates via FireBase and these show via notifications. The plan is, as soon as the notification is selected, a b4x page with GoogleMaps should be opened. This works well when the app is running. When the app is not running, after selecting the notification, the app is opened, the page to be opened gets opened, however google maps is not initialized.
How can I solve this?
A previous working google map project is here:
Thank you.
PS: I am using this example code to open another page via notification.
I am receiving gps co-ordinates via FireBase and these show via notifications. The plan is, as soon as the notification is selected, a b4x page with GoogleMaps should be opened. This works well when the app is running. When the app is not running, after selecting the notification, the app is opened, the page to be opened gets opened, however google maps is not initialized.
B4X:
java.lang.RuntimeException: Object should first be initialized (GoogleMap).
How can I solve this?
A previous working google map project is here:
[B4xPages] [SOLVED] GoogleMaps outside MainPage not working: AddPageAndCreate vs AddPage
Ola I need some advise. I have used the google maps example and however have a Google Map on another page outside the MainPage. With B4XPages.AddPageAndCreate("mapPage", mapPage) The app does not work, however with B4XPages.AddPage("mapPage", mapPage) Everything is fine. For my context...
www.b4x.com
Thank you.
PS: I am using this example code to open another page via notification.