dooboolab-community / react-native-iap

In App Purchase module for React Native!
https://react-native-iap.dooboolab.com
MIT License
2.81k stars 641 forks source link

This subscription will not automatically renew #1344

Closed hrishiakhade closed 3 years ago

hrishiakhade commented 3 years ago

Please use Discussion board if you want get some help out of it. Please report issue if there is a bug.

Version of react-native-iap

"react-native-iap": "^4.6.3",

Version of react-native

"react-native": "^0.63.2",

Platforms you faced the error (IOS or Android or both?)

Android

Expected behavior

Subscribe option should be there while purchasing a Subscription.

Actual behavior

One-tap buy is displayed while purchasing a Subscription.

Tested environment (Emulator? Real Device?)

Real Device

I have created 2 subscriptions in the Google play console, when I click on the buy option, it gives me the following popup.

Image

Instead of subscribe, it gives me One-tap buy options along with "This subscription will not automatically renew".

I would like to Subscribe option which will auto-renew the subscription.

 products = await IAP.getSubscriptions(productIds);

IAP.requestSubscription(item.productId).then(res => {

        })

Please let me know if I am missing anything.

hrishiakhade commented 3 years ago

https://tech.hindustantimes.com/tech/news/google-play-to-pause-auto-renewing-subscriptions-free-trials-in-india-report-71619875378816.html

I am from India. Apparently , Google is going to pause free trials for services in the country, to comply with recent regulations by Indian Government

hyochan commented 3 years ago

This is very informative. Thanks for sharing :)

Hope you are safe with Covid Virus.