Skip to content

Adding permissions to android and ios #1159

@vishnuc

Description

@vishnuc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions