iOS Question iPhone 11 won't save MapData

joergb

Member
Licensed User
Longtime User
Hello everyone,

i've written an App which saves it's settings to a Map File

Write:
B4X:
Dim mp as Map

mp.Put("ip", "192.168.0.1")
mp.Put("port", "9999")
mp.Put("tnr", "1")
File.WriteMap(File.DirLibrary, "sma.map", mp)

and Read:
B4X:
Dim mapdata as Map
if File.Exists(File.DirLibrary, "sma.map") then
  mapdata = File.ReadMap("File.DirLibrary, "sma.map")
End If

older versions worked fine with this, so there's no misplaced "delete", but the iPhone 11 won't save the Map File.
Even rotating the phone makes it reset everything.
it ran on File.DirDocuments first, but for trying to fix this bug i changed to DirLibrary. Didn't work.
 
Top