You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying your plugin in a phonegap 3.0 hello world project to keep things simple. When I call the purchase function:
window.storekit.purchase("com.example.app.inappid1", 1);
I am getting in the console:
2013-10-08 16:19:54.062 InAppTest[2934:60b] InAppPurchase[objc]: About to do IAP
2013-10-08 16:19:54.064 InAppTest[2934:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid product identifier: (null)'
*** First throw call stack:
(0x31303f53 0x3b6da6af 0x31303e95 0x33a0690f 0x105897 0xfe3e1 0xfdd11 0xfd8e9 0xfda93 0xfd9b1 0x31ce703b 0x312cf18b 0x312ce65b 0x312cce4f 0x31237ce7 0x31237acb 0x35f58283 0x33ad9a41 0x103f67 0x103f28)
libc++abi.dylib: terminating with uncaught exception of type NSException
The "null" is very weird. I am getting the same issue in my real app with the real app id. Any ideas of what could be wrong?
Thanks a lot for your help!
poiuytrez
PS: My real app is using Phonegap 1.9 with the old inappplugin (I even contributed to it). I am upgrading it to Phonegap 3.0
The text was updated successfully, but these errors were encountered:
Hi!
I am trying your plugin in a phonegap 3.0 hello world project to keep things simple. When I call the purchase function:
window.storekit.purchase("com.example.app.inappid1", 1);
I am getting in the console:
2013-10-08 16:19:54.062 InAppTest[2934:60b] InAppPurchase[objc]: About to do IAP
2013-10-08 16:19:54.064 InAppTest[2934:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid product identifier: (null)'
*** First throw call stack:
(0x31303f53 0x3b6da6af 0x31303e95 0x33a0690f 0x105897 0xfe3e1 0xfdd11 0xfd8e9 0xfda93 0xfd9b1 0x31ce703b 0x312cf18b 0x312ce65b 0x312cce4f 0x31237ce7 0x31237acb 0x35f58283 0x33ad9a41 0x103f67 0x103f28)
libc++abi.dylib: terminating with uncaught exception of type NSException
The "null" is very weird. I am getting the same issue in my real app with the real app id. Any ideas of what could be wrong?
Thanks a lot for your help!
poiuytrez
PS: My real app is using Phonegap 1.9 with the old inappplugin (I even contributed to it). I am upgrading it to Phonegap 3.0
The text was updated successfully, but these errors were encountered: