Moved from: https://github.com/expo/expo/issues/11
Add support for in app purchases to standalone apps on iOS and Android in the managed workflow
------------------------------
Status as of November 7, 2019:
This feature is definitely important for us in the medium to long-term but we need to build some more infrastructure before it's possible. We're currently rewriting our build service to make it capable of handling adding In-App Purchase support to apps but it's not there yet.
Any updates on this?
@Harsh Bhatia: this is definitely important for us in the medium to long-term but we need to build some more infrastructure before it's possible. We're currently rewriting our build service to make it capable of handling adding In-App Purchase support to apps but it's not there yet.
Hey guys, Does In app purchase work on standalone ? I checked to the documantation. There is a line that says us only active on bare.
👋 I know this has been asked multiple times in this thread, but is there any timeline for in-app using the managed workflow? We need to make some decisions about our revenue model, and would prefer to go with subscriptions for our app. We took a shot at ejecting and ran into other problems due to modules we were using that are only available in a managed workflow. Any feedback would be appreciated!
Expo would 🚀 if in-app were available! Thank you all!
@Ryan Vanbelkum: what we did, in the meantime, was launch a separate “pro” version of the app.
This doesn't really solve the problem if you still have to eject your Expo app. I'm almost done with a managed workflow Expo app and thinking about making it free to start with and adding in-app purchases later on. Can you give an estimate on when this can be used in the managed workflow? Will it be weeks? Months? A year?
@Holger Sindbaek: https://expo.canny.io/feature-requests/p/in-app-purchase-within-expo
*InAppPurchase mechanism WITHIN Expo, not requiring eject/bare workflow*. I started a new feature request asking for this specifically: https://expo.canny.io/feature-requests/p/in-app-purchase-within-expo For now. it seems more helpful to comment here, and to ask what the longer-term intent of this module is. I hope that you could comment further on the intent of this module. From our perspective, it seems that a lot of work was done and a module was created, and the new module may be technically awesome, but I don't think it addresses the central issue that this feature request was about (certainly from our perspective): creating an InAppPurchase mechanism WITHIN Expo. In order to use this module, as far as I understand, requires ejecting from Expo, and is intended to for the foreseeable future. Is that correct? That's exactly what I believe this feature request was trying to avoid. There are already a number of existing libraries for doing in app purchase from *outside* of Expo, after an eject. I believe that the whole point (at least our whole point) of this feature request was a desire to be able to do IAP without having to eject from Expo. I realize that there are some significant technical challenges relating to this. That's why you guys get paid the big bucks. ;-0 Without being able to do in app purchase WITHIN Expo, it seems to me that this module does not really address the central intent of the feature request. Also, do others agree with my comments? Does the existing new module (requiring expo eject) serve people's needs, or were people asking for an in app purchase mechanism that doesn't require eject, like we were? Thank you.
@Christopher deCharms: Exactly my thoughts. What's the point of an in-app-purchase module where you have to eject from Expo anyways? What's the timeline for using this with Expo WITHOUT ejecting?
@Christopher deCharms: Same here. I tried to eject and do all the native stuff but it's not as easy.
I'd even pay a premium service for using expo features such as this. Anyway, it seems that they are working on it for free so thank you again guys.. let's be patient !
@Thomas G.: Can you link to a guide on how to do that?
@Holger Sindbaek: I'm implementing revenueCat SDK. Its seems promising, my app is not ready yet though. I'm having trouble doing all the native stuff such as pod configuration, creating APK myself for android, refactoring the push notification service using Firebase instead of Expo etc.
@Christopher deCharms: hopefully expo team sees your comment
Sweet! Will expo-in-app-purchases work with ExpoKit?..
@RG: Yep!
Hey everyone,
I'm super excited to announce that the initial release of the Expo In-App Purchases module is finally ready! Thanks everyone for your patience as we worked hard over the past couple months to bring you this feature.
You can now run npm install expo-in-app-purchases and head over to the docs to learn more about how to use it: https://docs.expo.io/versions/latest/sdk/in-app-purchases/. As a reminder, this is only available in the bare workflow for the time being.
Looking forward to everyone's feedback and hope to see some great Expo apps being monetized soon!
@Sergei Chestakov: FANTASTIC. Thank you so much for your work in making this happen. Super happy, as I'm sure that many people will be, that this functionality will be available in Expo. Two questions: 1) When do you estimate it will it be available in Expo managed workflow/SDK/etc (or is that the plan), 2) Have you included back-end processing to track payments? #2 is super-important for being able to run an actual business using in app purchase... pretty much impossible without it, even if you can complete individual transactions. See revenue-cat for an example of this as I said in my previous post. Thanks again!
@Sergei Chestakov: Hey! If we have to eject to use this module, what's the point? There were already RN libraries for IAP.
@Yunus Bayraktaroğlu: 'we need to do more work on build service before we can make it available for managed workflow apps'
This is just the first step towards the greater goal. Well done team Expo!
Will this feature be shipped in sdk 34??
@Rajendran Nadar: as same as my question! and exactly when?
@Rajendran Nadar: No, you need the uni module: expo-in-app-purchases
@Pawel: How can we get it ?
@Thomas G.: just npm install expo-in-app-purchases. They released v 1.0.0 yesterday. But I think you need the current master version of expo as well. Or wait for the next minor release which is probably 33.0.8?!
@Pawel: Thank you for your answer. So it won't be possible to use this with managed workflow if i understand correctly ?
@Pawel: Is there documentation somewhere? I saw this link in the readme https://docs.expo.io/versions/latest/sdk/in-app-purchases, but the page doesn't load.
@Walsh Costigan: the docs are still WIP. You can track the progress over here: https://github.com/expo/expo/pull/4607
@Thomas G. as far as I know it should work with managed workflow. It's the same as using expo-permissions or expo-file-system uni module.
@Pawel: No it is not available for managed workflow. (Check brent's comment below)
@Rajendran Nadar: Thank you, I didn’t know that.
@Walsh Costigan: Page is now loading for me
track progress here: https://github.com/expo/expo/pull/4416
@Brent Vatne: Thank you!!!
@Brent Vatne: https://github.com/expo/expo/pull/4416 wow, it's was merged to master? so can you tell me when can I use this feature?
@Thua Nguyen: sdk 34
@Rajendran Nadar @Thua Nguyen: you will only be able to use it in bare/ejected projects for the near future. we need to do more work on build service before we can make it available for managed workflow apps
@Brent Vatne: What's the timeline(ish) for managed workflow? Can't IAP already be set up once ejected anyways?
@Walsh Costigan: there is no timeline at the moment for getting it running in managed workflow, i'd recommend using the 'bare' workflow for now to use it. unfortunately it will require us building out some more infrastructure to make this possible for managed apps still
Any timeline?
When you mean medium to long-term, do you mean 3~6 months, or 1~3 years?
Edit: Brent answered, apparently "medium to long-term" means 1~3 years, lol.
@George William: Did you get any response on this George?
@Stavros Zavrakas: No.
@Brent Vatne Could you give us a better idea of what medium to long-term means? Thanks
@Allen Wood: it's beyond our current planning window and depends on the successful completion of other large projects. we can't promise anything concrete so if you need this now we suggest that you eject to a bare project rather than wait.
@Brent Vatne: Thank you