Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding permissions to android and ios #1159

Open
vishnuc opened this issue Jan 13, 2025 · 1 comment
Open

Adding permissions to android and ios #1159

vishnuc opened this issue Jan 13, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@vishnuc
Copy link

vishnuc commented Jan 13, 2025

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 vishnuc added the bug Something isn't working label Jan 13, 2025
@RCGitBot
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants