lukaspili / Reactive-Billing

Lightweight reactive wrapper around In App Billing API v3 for Android
https://play.google.com/store/apps/details?id=com.github.lukaspili.reactivebilling.sample
MIT License
246 stars 33 forks source link

Nothing happens on emulators #15

Open creati8e opened 7 years ago

creati8e commented 7 years ago

I tried to check is billing supported and get sku details on emulators, but observable does not terminated at all. It hangs on service binding state, but it does not completes with error or success. I tried Android Studio emulator with google APIs and genymotion emulator without it. All works fine on real device. What is the problem might be?

lukaspili commented 7 years ago

Are you using the sample project or your custom project? It should work on an emulator with Google APIs installed. I will check on my side.

gautamjain commented 7 years ago

I noticed the same. It can't connect to the InAppBillingService on the emulator.

The docs mention this isn't supported:

You cannot use the emulator to test In-app Billing; you must install your application on a device to test In-app Billing.