chirag04 / react-native-in-app-utils

A react-native wrapper for handling in-app payments
MIT License
890 stars 185 forks source link

Free trial period for in-app-purchase #81

Closed kawashimaken closed 7 years ago

kawashimaken commented 7 years ago

It might not be the responsibility of this library, however I wonder if anyone have implemented the free-trial period for in-app-purchase with this lib? (For example check if the free trial period is over, etc) Or, simply just set up the free-trail period in iTunes-connect and forget it, don't have to code anything in react native side?

My understanding is (auto-renewal case): (1) FIRST, user have to 'purchase' not matter the free trial period is set or not. (2) if the app is configured to have free trial period, THEN user can use the app in that free trial period without being charged (3) when the free trial period is over, apple's system starts to auto renew user's purchase, user still can use the app, but now user will get charged from then on.

I'l appreciate any experiences if you have some to share. Thank you! :-)

kawashimaken commented 7 years ago

There is nothing to set up in this Library, so I am closing this.

chirag04 commented 7 years ago

@kawashimaken It would be nice if you can send a PR to the readme for with the setup you did. others might benefit from that.

kawashimaken commented 7 years ago

It's my pleasure! https://github.com/chirag04/react-native-in-app-utils/pull/83