Javascript Database Not Working in Native App but working in Safari
Hi folks,
I am currently working on creating a Sports/Fitness Training iPhone app. I am coding my app in HTML, Javascript and CSS using Phone Gap in Xcode to change my app from a web app to a native application.
I have stumbled upon a problem just when I thought I was nearly finished. The problem is that I have a database where user's can enter in details of previous training sessions. This databse appears to be working correctly in Safari when I test it out as a web app. However when I have the application loaded onto my native device (iPhone) the database does not look like it is being created and no entries are going into it as a result. I am using Session Storage for the database.
Any advice or ideas on what could be going wrong here would be greatly appreciated?
|