Questions tagged [react-native-iap]
65 questions
0
votes
1 answer
How to use developerPayload in react-native-iap
I'm trying to provide a Google subscription service using the react-native-iap API.
I'm trying to enter data into the developerPayload value to split the service.
const result = await requestSubscription(
sku,
false,
offerToken,
…

Mamochi
- 85
- 8
0
votes
0 answers
Fatal Exception: java.lang.NullPointerException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkNotNullParameter
I have migrated react-native-iap from 5.1.1 to 12.5.0 it is giving this error in crashlytics. How can I test in app purchases in debug mode to debug this issue. Crashlytics error is not helping.
I tried to look into the react-native-iap but could…

user3101926
- 1
- 1
0
votes
0 answers
presentCodeRedemptionSheetIOS customization
Font size of the app name is over sized, we are using react-native-iap which of course uses nativeModules and Apple APIs under the hood. The Native overlay is showing app and seems everything fine, the only problem is that the UI is overSized and we…
0
votes
0 answers
How to add android fields to my expo react-native default config?
I have a managed expo project that uses react-native. I am getting an error when building for android that is essentially this error: https://github.com/dooboolab/react-native-iap/issues/1373
I see the solution is to add the following code to the…

guitarman0456
- 41
- 3
0
votes
0 answers
React-native-iap getAvailablePurchases() return empty array ios
I use auto renewal subscription with react-native-iap in my app
I need to check user has subscription on phone or not, for do this I use getAvailablePurchases()
like this
import * as RNIap from 'react-native-iap';
const init = await…

Yaroslav Pesotskii
- 21
- 5
0
votes
0 answers
Storekit 2 is not available on this device
I've implemented a subscription process for users using EXPO IAP, but to check if the user has a current subscription for IOS, I'm using react-native-IAP and implementing storekit 2 using this package, but I am getting the following error when…

Michael Schmitz
- 19
- 3
0
votes
0 answers
How to remove testing environment form react-native-iap in Production React Native
I have implemented the subscription on iOS and android via react-native-iap. It's working fine on testing on google play and testflight, but when the app goes to production in iOS and Android, it still shows the testing environment.
How do I change…

Muhammad Ashfaq
- 2,359
- 5
- 20
- 46
0
votes
0 answers
No updates when Google in-app purchase flow continues on another device
I'm developing a react-native app that targets Android TV and tvOS. Using react-native-iap I've have successfully added support for Google Play inapp products and latest subscription model (billing API 5.0.0).
Purchase updates are received and…

Shobbe
- 1
0
votes
0 answers
RNIap.getSubscriptions(itemSubs) give me an empty array where as RNIap.getProducts(itemSkus) gives me the product
react-native - 0.70.1
react-native-iap - 8.2.1
used in my project the product created in playConsole is coming but the subscription created is not coming my code is
const Products = await RNIap.getSubscriptions(itemSubs);
…

React_Coder
- 353
- 2
- 12
0
votes
1 answer
react-native-iap - getSubscriptions returns empty array
I'm using react-native-iap for in-app purchase. But when I'm calling the getSubscriptions I'm getting back an empty array. Everything works correctly for iOS.
I have read several forums and tested almost every solution there is but nothing seems to…

Eric
- 1
0
votes
0 answers
React Native IAP method requestSubscription gives 'Invalid Product Id' warning and nothing happens in ios and android
Package used : react-native-iap version-9.0.0-rc.4
We have below things done -
1.Agreements , tax and banking completed.
2.Xcode capabilities and certificate
3.In app store the in app purchase option is selected for the application
4.Added sandbox…

Twinkle Gohil
- 9
- 1
0
votes
1 answer
Upgrading subscription using react-native-iap package
Good evening developers,
I have an existing app with a subscription plan on Google Play Console with around 1000 users. Let's just say it is Plan A. Now, I want to introduce another tier of subscription, let's call it Plan B.
Plan B has a few more…

Savitra Sapre
- 1
- 1
- 1
0
votes
1 answer
React native iap android build issue
Build failed with an exception.
What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
Could not resolve all artifacts for configuration ':app:debugCompileClasspath'.
Could not resolve project…

deepanshu katyal
- 631
- 1
- 8
- 18
0
votes
1 answer
Can an Android / IOS single app have both Subscription and Full Purchase Methods?
I am new to Android / IOS apps development with React Native. I am using react-native-iap to implement in app purchases.
I want to know whether an Android / IOS single app can have both Subscription and Full Purchase Methods ?
If yes, what will…

John Stuart
- 950
- 5
- 11
- 28
0
votes
1 answer
Unable to call back for purchased products ?IAP for React native iOS
''''
requestPurchase = async (sku) => {
try {
await RNIap.requestPurchase(sku)
.then(async (result) => {
console.log('IAP req sub', result);
if (Platform.OS === 'android') {
…