I am trying to create phoneGap app in AEM for my existing website. I have a requirement to store some data in mobile storage and i achieved it by making changes directly in index.html. I have used some cordova plugins to do it.
But, my actual requirement is to run script of storing data in mobile storage from our normal clientlibs structure. My homepage is in content folder and the jsp and js files are inside apps folder, so is there any possibility to run this code from my normal clientlibs or jsp files ? if yes how ?