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

Adding permissions to android and ios

Open vishnuc opened this issue 1 year ago • 1 comments

Hi , I want to do expo prebuild and then do expo run:ios --device or expo run:android --device to test my inapp purchase in revenue cat

I added following to my app.json

 "android": {
      "permissions": ["com.android.vending.BILLING"],
      
  and for ios
  
 "ios": {
      "entitlements": {
        "com.apple.developer.in-app-payments": []
      },

But first I want to create in app item in Google play console , I get error that I need to upload APK with billing permission.

How do I add the permission via expo , not on android folder created by expo prebuild (as I will be keep doing multiple prebuilds)

Please Give clear tutorial for IOS and Android only for adding required permissions via EXPO app.json , Documentation says installing react-native-purchases is more than enough .

Also for IOS , I was not able to promote because of this error , anyway revenuecat or expo solves this issue ?

These in-app purchases or subscriptions can’t be promoted on the App Store because your latest approved binary doesn’t include the required StoreKit APIs

vishnuc avatar Jan 13 '25 16:01 vishnuc

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

RCGitBot avatar Jan 13 '25 16:01 RCGitBot