I have in my Starter Create sub call
Now I put out the Log message above and what happens is when my App is left running and the screen goes blank I see another call to BillingSupported
ANOTHER CALL to BillingSupported when APP is paused
WHY would BillingSupported being called again when APP is paused.
Almost seems like my Starter App is being created again, but yet I do not see any LOG messages from it.
Is this normal for BillingSupported to be called over???
Never noticed this before.
BobVal
Note: still using 7.3 on this app
B4X:
gBillingManager.Initialize("BillingManager", gBMK)
return
B4X:
Public Sub BillingManager_BillingSupported(Supported As Boolean, Message As String)
' #if Debug
Log("BillingManager_BillingSupported:" &Supported &" Message:" &Message &" Subscriptions(" &gBillingManager.SubscriptionsSupported &")")
' #end if
' Do some work and call
gBillingManager.GetOwnedProducts
Now I put out the Log message above and what happens is when my App is left running and the screen goes blank I see another call to BillingSupported
B4X:
Logger connected to: samsung SM-T210R
--------- beginning of /dev/log/main
running waiting messages (8)
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
*** Service (starter) Create ***
Service_Create
Service_Create - Waiting for Main
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Service_Create - Main Available
Continue_Create
SN:RF2D60E3PGP DeviceID:4100727b19635000
Continue_Startup
BillingManager_BillingSupported:true Message:Setup successful. (response: 0:OK) Subscriptions(true)
*** Service (httputils2service) Create ***
** Service (httputils2service) Start **
** Service (httputils2service) Start **
StarterProgress - Device Check
StarterProgress - Version Check
StarterProgress - Get Owned Products
StarterProgress - Process Subscriptions
BillingManager_OwnedProducts - Starter_Ready
** Activity (main) Pause, UserClosed = false **
ANOTHER CALL to BillingSupported when APP is paused
B4X:
BillingManager_BillingSupported:true Message:Setup successful. (response: 0:OK) Subscriptions(true)
StarterProgress - Device Check
sending message to waiting queue (CallSubDelayed - StarterProgress)
StarterProgress - Get Owned Products
sending message to waiting queue (CallSubDelayed - StarterProgress)
StarterProgress - Process Subscriptions
BillingManager_OwnedProducts - Starter_Ready
sending message to waiting queue (CallSubDelayed - StarterProgress)
sending message to waiting queue (CallSubDelayed - Starter_Ready)
StarterProgress - Version Check
sending message to waiting queue (CallSubDelayed - StarterProgress)
StarterProgress - Get Owned Products
sending message to waiting queue (CallSubDelayed - StarterProgress)
StarterProgress - Process Subscriptions
BillingManager_OwnedProducts - Starter_Ready
sending message to waiting queue (CallSubDelayed - StarterProgress)
sending message to waiting queue (CallSubDelayed - Starter_Ready)
running waiting messages (8)
** Activity (main) Resume **
WHY would BillingSupported being called again when APP is paused.
Almost seems like my Starter App is being created again, but yet I do not see any LOG messages from it.
Is this normal for BillingSupported to be called over???
Never noticed this before.
BobVal
Note: still using 7.3 on this app