Android Question Why: This sub should only be used for variables declaration or assignments of primitive values. (warning #29)

Bob Spielen

Active Member
Licensed User
When I use B4X v10.0:

auth.Initialize("auth")

Im getting the message :

Starter - 34: This sub should only be used for variables declaration or assignments of primitive values. (warning #29)

What am I doing wrong?
 

DonManfred

Expert
Licensed User
Longtime User
You should DIM it in process_globals. NO Initialization.
It must be initialized in service_create
 
Upvote 0
Top