Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Android Lollipop #97

Open
ne0ne2004 opened this issue Nov 23, 2015 · 4 comments
Open

Android Lollipop #97

ne0ne2004 opened this issue Nov 23, 2015 · 4 comments

Comments

@ne0ne2004
Copy link

I can't seem to get a proper billing support for Amazon store. Trying on Fire (5th gen) and Fire HDX 8.9 (4th gen).

My logs:

11-23 12:14:54.600: D/OpenIAB(6342): checkOptions() Options={availableStores=[], availableStoreNames=[], preferredStoreNames=[], discoveryTimeoutMs=0, checkInventory=true, checkInventoryTimeoutMs=0, verifyMode=1, storeSearchStrategy=2, storeKeys={com.google.play=}, samsungCertificationRequestCode=899}
11-23 12:14:54.600: D/OpenIAB(6342): checkGoogle() verify mode = 1
11-23 12:14:54.601: D/OpenIAB(6342): checkSamsung() activity = .MainActivity@1e7443d6
11-23 12:14:54.608: D/OpenIAB(6342): hasRequestedPermission() is true for com.nokia.payment.BILLING
11-23 12:14:54.609: D/OpenIAB(6342): checkNokia() has permission = true
11-23 12:14:54.610: D/OpenIAB(6342): checkFortumo() fortumo sdk available: false
11-23 12:14:54.611: D/OpenIAB(6342): checkFortumo() fortumo billing required: false
11-23 12:14:54.611: D/OpenIAB(6342): checkFortumo() ignoring fortumo wrapper.
11-23 12:14:54.612: D/OpenIAB(6342): checkAmazon() Android Lollipop not supported, ignoring amazon wrapper.
11-23 12:14:54.613: D/OpenIAB-UnityPlugin(6342): createBroadcasts
11-23 12:14:54.619: D/OpenIAB-UnityPlugin(6342): Starting setup.
11-23 12:14:54.620: D/OpenIAB(6342): startSetup() options = Options={availableStores=[], availableStoreNames=[], preferredStoreNames=[], discoveryTimeoutMs=0, checkInventory=true, checkInventoryTimeoutMs=0, verifyMode=1, storeSearchStrategy=2, storeKeys={com.google.play=}, samsungCertificationRequestCode=899}
11-23 12:14:54.620: D/OpenIAB(6342): setupWithStrategy() store search strategy = 2
11-23 12:14:54.620: D/OpenIAB(6342): setupWithStrategy() package name =
11-23 12:14:54.621: D/OpenIAB(6342): setupWithStrategy() package installer = null
11-23 12:14:54.638: D/OpenIAB(6342): packageInstalled() is false for com.skubit.android
11-23 12:14:54.639: D/OpenIAB(6342): packageInstalled() is false for com.sec.android.app.samsungapps
11-23 12:14:54.640: D/OpenIAB(6342): packageInstalled() is false for com.nokia.payment.iapenabler
11-23 12:14:54.641: D/OpenIAB(6342): packageInstalled() is false for com.android.vending
11-23 12:14:54.642: D/OpenIAB(6342): packageInstalled() is false for net.skubit.android
11-23 12:14:54.644: D/OpenIAB(6342): finishSetup() === SETUP DONE === result: IabResult: 3, No suitable appstore was found (response: 3:Billing Unavailable) Appstore: null
11-23 12:14:54.644: D/OpenIAB-UnityPlugin(6342): Setup finished.
11-23 12:14:54.644: E/OpenIAB-UnityPlugin(6342): Problem setting up in-app billing: IabResult: 3, No suitable appstore was found (response: 3:Billing Unavailable)

There is a line in the logs about Amazon:

11-23 12:14:54.612: D/OpenIAB(6342): checkAmazon() Android Lollipop not supported, ignoring amazon wrapper.

There seems to be a fix for it in OpenIAB and the fix removes this log line:

onepf/OpenIAB@0ca10de

Is OpenIAB-Unity-Plugin out of date from the main OpenIAB library? Does OpenIAB-Unity not support Lollipop? Is there anything specific I need to get Amazon store working?

Thanks!

@ne0ne2004
Copy link
Author

Please help. I have OpenIAB working for Google Play and iOS. So Amazon is the last store I need to set up.

I've tried:

  • adb install -i com.amazon.venezia
  • Setting preferredStoreNames (options.prefferedStoreNames = new string[] { OpenIAB_Android.STORE_AMAZON };)

I still see "checkAmazon() Android Lollipop not supported, ignoring amazon wrapper." in the logs and nothing else that points to what the problem might be.

12-07 14:18:40.304: D/OpenIAB(10456): finishSetup() === SETUP DONE === result: IabResult: 3, No suitable appstore was found (response: 3:Billing Unavailable) Appstore: null
12-07 14:18:40.304: D/OpenIAB-UnityPlugin(10456): Setup finished.
12-07 14:18:40.304: E/OpenIAB-UnityPlugin(10456): Problem setting up in-app billing: IabResult: 3, No suitable appstore was found (response: 3:Billing Unavailable)

@ne0ne2004
Copy link
Author

Anyone else having similar issues? Or it's just me...

@IBacklundKuma
Copy link

I am also seeing this issue. I believe it was working in early November. We upgraded to the latest Unity version since then. Maybe related?

@idubeda
Copy link

idubeda commented Jul 14, 2017

I'm having the same problem. Using Fire (5th gen) for testing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants