Mapbox map crashes the app while working on page with keep alive

I am trying to implement a Mapbox map on a page which is stetted to be on keep alive mode.

That means, this page is continuously working even when navigating to another page - in order to keep the map functioning and avoid reloading it over and over each time that the user back to the map’s page.

In Android 10 Samsung Galaxy A70 there is problem that the app crashes when holding in outer pages while the map is still working. I don’t know why but it just crashes and shuts down the whole app.

How to make the map still functioning without making it crashing the app?
Is there a procedure to implement maps in F7?