File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ export const consumePurchase = (token) => Platform.select({
145145 */
146146export const validateReceiptIos = async ( receiptBody , isTest , RNVersion ) => {
147147 if ( Platform . OS === 'ios' ) {
148- const URL = ! isTest ? 'https://sandbox.itunes.apple.com/verifyReceipt' : 'https://buy.itunes.apple.com/verifyReceipt' ;
148+ const URL = isTest ? 'https://sandbox.itunes.apple.com/verifyReceipt' : 'https://buy.itunes.apple.com/verifyReceipt' ;
149149 try {
150150 let res = await fetch ( URL , {
151151 method : 'POST' ,
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-iap" ,
3- "version" : " 1.2.2 " ,
3+ "version" : " 1.2.3 " ,
44 "description" : " React Native In App Purchase Module." ,
55 "main" : " index.js" ,
66 "types" : " index.d.ts" ,
You can’t perform that action at this time.
0 commit comments