question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Google Play In-app Billing API version is less than 3 - E_SERVICE_ERROR

See original GitHub issue

Version of react-native-iap

4.0.7

Version of react-native

0.60.5

Platforms you faced the error (IOS or Android or both?)

Android

Expected behavior

Connection init should start the connection, to get products, and after that be able to purchase.

Actual behavior

On initConnection catch I got:

error.code: E_SERVICE_ERROR
error.debugMessage: Google Play In-app Billing API version is less than 3
error.message: Billing is unavailable. This may be a problem with your device, or the Play Store may be down.

It’s happend on production app with this device:

Galaxy S8 (dreamlte)
Samsung
armeabi-v7a, armeabi, arm64-v8a
SO Android 9

I was wondering how could it be related to “Google Play In-app Billing API version is less than 3”, since the native link was done by the RNIAP.

Tested environment (Emulator? Real Device?)

Real device

Steps to reproduce the behavior

The user want to purchase, but on initConnection it fails.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
TiagoGouveacommented, Apr 6, 2020

The error still happening sometimes with some users… but I decided to ignore it and display “Connection error, try again later”.

0reactions
stale[bot]commented, Apr 6, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community’s attention? This issue may be closed if no further activity occurs. You may also label this issue as “For Discussion” or “Good first issue” and I will leave it open. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google Play In-app Billing API version is less than 3
In-app Billing API version goes with the Google Play Store and v3 is actually quite old (at least 3 years old).
Read more >
Google Play In-app Billing API version is less than 3
This error message would be thrown by Google if the user's on a very old version of the Play Store. You'll want to...
Read more >
Google Play In-app Billing API version is less than 3 · Issue #256
I am using the implementation 'com.android.billingclient: billing: 2.0.3' version of Google payment api. It works fine on Google Play in the ...
Read more >
Android : Google Play In-app Billing API version is less than 3
Android : Google Play In-app Billing API version is less than 3 [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] ...
Read more >
How to Fix "Google Play In-app Billing API version is less than 3"
Are you gettings a " Google Play In-app Billig API version is less than 3 " error?In this video, you will learn why...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found