joergb Member Licensed User Longtime User Jan 9, 2020 #1 Hello everyone, i've written an App which saves it's settings to a Map File Write: B4X: Copy 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: Copy 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.
Hello everyone, i've written an App which saves it's settings to a Map File Write: B4X: Copy 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: Copy 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.
Erel B4X founder Staff member Licensed User Longtime User Jan 9, 2020 #2 Try to reproduce it in a small project. Upload the project and also post the logs. Upvote 0