"Accounting by Value" in Logs

In my application, I am implementing an in-app purchase using the Google In-app Billing API version 3. In the logs from my application, I see:

D/Finsky  (26024): [1204] InAppBillingUtils.pickAccount: com.example.myapp: Account determined from library ownership - [2FJ...ZIQ]

      

Another time when I test my app and switch Google account to my phone, I see:

D/Finsky  (26024): [1204] InAppBillingUtils.pickAccount: com.example.myapp: Account determined from installer data - [2FJ...ZIQ]

      

I am curious:

- What do these magazines mean?

-Why sometimes I see the first magazine, sometimes the second?

- Is there a way to find out what this [2FJ ... ZIQ] means?

+3


source to share


2 answers


Possible solution for the log Account determined from installer data

: make sure you are using the correct base64 encoded key

Probably too late for you, but I recently had the same log in my console and was wondering why an in-app purchase worked in one app while it didn't work in another - both using the same purchase code ...



I am using build flavors to build two apps with a common codebase and I just forgot to use the correct base64 encoded key. In my case, I just used one license key for two different apps in the play store ...

0


source


Apps that contain in-app purchases (IAP) and / or paid apps to provide a physical address. After adding the address, it will take a few minutes to resolve the issue automatically.



inapp purchase notification

0


source







All Articles