Closed yagudaev closed 5 years ago
Installation might have fail? Do you have any logs?
I've been able to test successfully with the same version of OSX, cordova and plugin and you use. I don't have a device using iOS beta, but I doubt it'd be that.
More data needed. I can't figure anything out blindly.
@yagudaev Did you figure out the issue? Can you provide any logs? Thanks
system info
Expected behavior
After
deviceready
, window.store should return the store object.Observed behavior
window.store returns undefined
Steps to reproduce
Use the sample project here: https://github.com/Fovea/cordova-plugin-purchase-demo (need a bit of modification with content security policy see: https://blog.dotnetframework.org/2017/01/29/refused-to-load-gapready-phonegap-cordova-csp/
It will show that the store is not found.
My suspicion is that the plugin is not even loaded properly (I don't see it in the xcode workspace). I'm not entirely sure how Cordova plugins are supposed to work to test this theory further.