0 Replies Latest reply on Dec 17, 2010 12:32 PM by oskouidev

    Local Database file is being deleting when we update the app version

    oskouidev Level 1

      This issue is in a desktop .air application built on FLEX 3.0


      I was looking around for a solution, but could not get any. The problem is that the local SQL .db file is being deleted when I update the current version number in <projectName>-app.xml file.


      When I revert back to old version number, the application is working fine and the .db file is NOT deleted. The aiwd.db is in applicationStorageDirectory

      (this is used : private var databaseName:String = "aidw.db"; databaseFile = File.applicationStorageDirectory.resolvePath(databaseName); )


      Could anyone please let me know what is happening or if you need any more information.