Fovea / cordova-plugin-purchase-demo

Demo of the Purchase Plugin for Cordova
32 stars 35 forks source link

Demo code error #12

Closed tolvajtamas closed 8 years ago

tolvajtamas commented 8 years ago

Hello!

Please fix the demo code of www/js/index.js at line 285: var elId = p.id.split(".")[3]; This does not work on IOS.

Correct should be: var elId = p.id; // id without package name!

Thanks,

Tamas Tolvaj