I made an app through Phongap and it is uploaded into google play but when I run it on Android device, I see a strange page with two buttons:
- Show SideBar
- Hide SideBar
when I click on the first one I get alert message which says:
Error:Uncaught ReferenceError: pgsidebar is not defined : file:///android_asset/www/index.js : 15
when I click on the second button I get the similar message but different number:
Error:Uncaught ReferenceError: pgsidebar is not defined : file:///android_asset/www/index.js : 9
The link to demo:
The link to the app source in Github:
The app link in Google play:
You have not included phonegap-plugin-sidebar in your config.xml so when PGB builds the app it does not include the plugin. Add the plugin into config.xml and re-build and you should be good to go.
I wonder how the app performed during your test sessions, prior to releasing it to the Store.
It was probably fine as the plugin is installed locally in the repo.