my function on app start:
and the billing sub:
and the buy and restore sub
and the app crash allways on testflight with the inapp billing
i can add you to the tester's
B4X:
st.Initialize("LulajStore")
st.RestoreTransactions
and the billing sub:
B4X:
Sub LulajStore_PurchaseCompleted (Success As Boolean, Product As Purchase)
Log("Purchase completed")
If Product.IsInitialized Then
Log("Product: " & Product.ProductIdentifier & ", date=" & DateTime.Time(Product.TransactionDate) & _
", Transaction identifier=" & Product.TransactionIdentifier)
End If
Log("Success = " & Success)
setBuy(Success)
Premium = Success
setupPRO
End Sub
and the buy and restore sub
B4X:
Sub buyPREM_Click
If st.CanMakePayments Then
st.RequestPayment("Lulaj1Pro")
End If
End Sub
Sub restorePREM_Click
If st.CanMakePayments Then
st.RestoreTransactions
End If
End Sub
and the app crash allways on testflight with the inapp billing
i can add you to the tester's
Last edited: