dooboolab-community / react-native-iap

In App Purchase module for React Native!
https://react-native-iap.dooboolab.com
MIT License
2.74k stars 633 forks source link

Expo Android Build Issue #2406

Open ikarakose opened 1 year ago

ikarakose commented 1 year ago

Description

I am working with expo. I can successfully build to ios. but in android build I get the following error when use "eas build android"

android

Expected Behavior

I expect the android build to complete successfully.

Environment:

react-native-iap: 12.7.4 react-native: 0.68.2 expo: ^45.0.0

andresesfm commented 1 year ago

It looks like you have to choose between the Play and the Amazon variants

Pashevka commented 1 year ago

I have same issue. How can i pick between PLay and Amazon in expo?

a-eid commented 1 year ago

use the expo plugin,

     [
        "react-native-iap",
        {
          "paymentProvider": "both" // play ...
        }
      ]
MuhammadFaisal215 commented 2 months ago

Hi @ikarakose @Pashevka I was also facing this issue and I have resolved it by following this documentation. https://react-native-iap.dooboolab.com/docs/get-started Read the android configuration part.