iOS Question Why can't the app's data file be updated?

watesoft

Active Member
Licensed User
Longtime User
When I updated the APP version, I changed some data files, but the old data is still displayed on the device. I don't know why?
"288.zip" is a zip file containing hundreds of small data files. I change more than one hundred data files in zip file.

B4X:
Private Sub Application_Start (Nav As NavigationController)
    Dim tt As Archiver
    DBFileDir=DBUtils.CopyDBFromAssets("TempData")
    kvs.Initialize(File.DirDocuments, "TempData")
    If kvs.Get("Ini")=0 Then
        tt.Unzip(File.DirAssets,"288.zip",File.DirDocuments & "288/","")
        kvs.Put("Ini",1)
        Show_ProGress.ProgressDialogHide
    Else
        DBFileDir=File.DirDocuments
    End If
End Sub
 
Top