Android Question [Solved] Code modules variables after user inactivite

arf programas

Member
Licensed User
Hello

I have two questions about the same subject..

1) I know the Starter service is not killed by OS after B4A 9.0+ when we have a foreground service, but what happens with code modules variables?

2) e.g.: when the user resumes an activity that depends of SQL declaration in Starter service, if that was already initialized, it's seems to work fine. But, is that true to code modules declarations?

In module:
B4X:
Public VarXPTO As Map
Is 'VarXPTO' always accessible with the original values? Even if the app resumes after a while of inactivite?


I'm asking because i'm recivieng a lot of firebase crashes lately and I'm trying to solve the problems...

Thanks in advance.
 
Last edited:
Top