react-native-iap icon indicating copy to clipboard operation
react-native-iap copied to clipboard

Error: This feature is not available on your device.

Open KiranBluelabel opened this issue 2 years ago • 7 comments

I am getting this error while calling getProducts() of iap for android

KiranBluelabel avatar Feb 14 '23 14:02 KiranBluelabel

same with the latest version

RohanSensei avatar Mar 01 '23 11:03 RohanSensei

This is probably because of the user's play store does not support the new Play Billing SDK. The methods were removed in this library as they were marked as deprecated

andresesfm avatar Mar 16 '23 21:03 andresesfm

@andresesfm therefore, do u think we should advise our customer to update their android version on their phone? Also, do u have a specific android version which has been cutoff?

senghuot-lay avatar Apr 17 '23 05:04 senghuot-lay

I've added isFeatureSupported you should check if it's available before using the api

andresesfm avatar Apr 17 '23 22:04 andresesfm

I've added isFeatureSupported you should check if it's available before using the api

When I tried to use this function the entire app crashed with the following error. I also tested it on a brand new empty project. And I called initConnection before calling isFeatureSupported if that matters. In all cases the app crashes.

  • react-native-iap: 12.10.4
  • react-native: 0.70.8 and 0.71.7
  • Platforms (iOS, Android, emulator, simulator, device): Android 11 device
  • PlayStore: 35.3.10-21
Screenshot 2023-04-20 at 10 57 19

bokuzminski avatar Apr 20 '23 09:04 bokuzminski

In my case I needed to accept invite via URL on my device after starting Internal Testing in Google Play and adding myself as license tester.

ulexxander avatar May 05 '23 17:05 ulexxander

I've added isFeatureSupported you should check if it's available before using the api

When I tried to use this function the entire app crashed with the following error. I also tested it on a brand new empty project. And I called initConnection before calling isFeatureSupported if that matters. In all cases the app crashes.

* react-native-iap: 12.10.4

* react-native: 0.70.8 and 0.71.7

* Platforms (iOS, Android, emulator, simulator, device): Android 11 device

* PlayStore: 35.3.10-21
Screenshot 2023-04-20 at 10 57 19

I am having the same This feature is not available on your device problem and after trying to call the isFeatureSupported first I get the cannot convert argument crash.

henkkasoft avatar Sep 01 '23 21:09 henkkasoft