Android Question anywheresoftware.b4a.objects.IbHelper.flagStartAsync

D

Deleted member 103

Guest
Hi,

I have not seen the mistake so far, what is it?
Is it possible that the Activity-Main is in pause and the system tries to execute the function "GetOwnedProducts"?

error.PNG

main_01.JPG
 
D

Deleted member 103

Guest
Are you only calling it after BillingSupported event was raised with Supported = true ?
Yes,
this is my code in starter service:
B4X:
Private Sub billmanager_BillingSupported (Supported As Boolean, Message As String)
    'Log(Supported & ", " & Message)
    'Log("Subscriptions supported: " & billmanager.SubscriptionsSupported)
    IsBillingSupported = Supported
    If Supported Then
        CallSubDelayed (Main, "GetOwnedProducts")
    End If
End Sub
 
Upvote 0
Top