chirag04 / react-native-in-app-utils

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

Implement purchaseProductForUser and restorePurchasesForUser methods #119

Closed RalfNieuwenhuizen closed 7 years ago

RalfNieuwenhuizen commented 7 years ago

Support giving a username to purchase and restore methods to prevent mixing up double accounts in the same apple ID. https://stackoverflow.com/questions/29255568/is-there-any-way-to-know-purchase-made-by-which-itunes-account-ios/29280858#29280858

chirag04 commented 7 years ago

@RalfNieuwenhuizen This is awesome and thanks for sending the PR. left some notes but mostly looks good.

chirag04 commented 7 years ago

@RalfNieuwenhuizen One last nit and will merge after that.

Might be worth doing a test on your end one more time. haha. I will take your word for it that this works :)

chirag04 commented 7 years ago

@RalfNieuwenhuizen good for merge on your end?

RalfNieuwenhuizen commented 7 years ago

Tested and working, thanks for the comments!

Op 24 aug. 2017 4:10 p.m. schreef "Chirag" notifications@github.com:

@RalfNieuwenhuizen https://github.com/ralfnieuwenhuizen good for merge on your end?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/chirag04/react-native-in-app-utils/pull/119#issuecomment-324646385, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJDyrBwc_tIwAJlFLG-AZvAy0wEGi3Iks5sbYQ8gaJpZM4PBXM7 .

chirag04 commented 7 years ago

published.