Good Afternoon,
I’m currently working on trying to integrate In App Purchase 2 (https://ionicframework.com/docs/native/in-app-purchase-2) into my Ionic 3 app and have been running into some major issues. Since I couldn’t get it to work on my app that I’ve already built, I created a fresh app with only one additional page for testing. Try as I might (and I have tried) I cannot get the code to fully run without the following errors in xCode:
2019-06-10 13:19:06.998710-0400 IAP2 Test[7542:1096620] {“line”:76857,“column”:113,“sourceURL”:“ionic://localhost/build/vendor.js”}
2019-06-10 13:19:06.999433-0400 IAP2 Test[7542:1096620] Error Ordering {“line”:76780,“column”:133,“sourceURL”:“ionic://localhost/build/vendor.js”}
Does anyone have any suggestions on what I might try next or what the issue might be? Here are my specs:
ionic info
Ionic:
Ionic CLI : 5.0.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.6
@ionic/app-scripts : 3.2.4
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.0.1, (and 4 other plugins)
Utility:
cordova-res : 0.3.0
native-run : 0.1.2
System:
ios-deploy : 1.9.4
ios-sim : 8.0.1
NodeJS : v10.15.3 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS Mojave
Xcode : Xcode 10.2.1 Build version 10E1001
npm outdated
Package Current Wanted Latest Location
@angular/animations 5.2.11 5.2.11 8.0.0 iap2Test
@angular/common 5.2.11 5.2.11 8.0.0 iap2Test
@angular/compiler 5.2.11 5.2.11 8.0.0 iap2Test
@angular/compiler-cli 5.2.11 5.2.11 8.0.0 iap2Test
@angular/core 5.2.11 5.2.11 8.0.0 iap2Test
@angular/forms 5.2.11 5.2.11 8.0.0 iap2Test
@angular/http 5.2.11 5.2.11 7.2.15 iap2Test
@angular/platform-browser 5.2.11 5.2.11 8.0.0 iap2Test
@angular/platform-browser-dynamic 5.2.11 5.2.11 8.0.0 iap2Test
@ionic-native/core 4.20.0 4.20.0 5.7.0 iap2Test
@ionic-native/splash-screen 4.20.0 4.20.0 5.7.0 iap2Test
@ionic-native/status-bar 4.20.0 4.20.0 5.7.0 iap2Test
cordova-plugin-ionic-webview 4.0.1 4.1.0 4.1.0 iap2Test
rxjs 5.5.12 5.5.12 6.5.2 iap2Test
cordova plugin ls
cc.fovea.cordova.purchase 8.1.0 "Purchase"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.0.1 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
Any help would be greatly appreciated.
Thank you.