Hi, I am trying to create an offline Power App. I have done everything seemingly correct but the SaveData and LoadData to iPad and iPhone does not work. I've looked through all the community forums but there seems to be no solution for me. The only thing I can find is that it was a bug in Power Apps but it is apparently fixed but it still does not work for me. Is it some kind of security setting somewhere blocking data to be written to the iPhone and iPad? You help is greatly appreciated...
The code:
All I am doing is:
On app startup, if the internet is connected, then I am saving a sharepoint list into a collection which I save then with SaveData to a file. On the next startup, if there is no connection, then I load from the saved file with LoadData into the collection but this collection is always empty! I do a rowcount and display it in a label. Here is the code
If(gSaveDataIsSupported,
If(gOnlineMode = false,
//False
LoadData(colCustomers,"OfflineCustomersFile",true),
LoadData(colStatusList,"OfflineStatusListFile",true);
//True
Concurrent(
ClearCollect(colCustomers,Filter(IPMCustomers,SalesGroup="QC6")),
ClearCollect(colStatusList,IPMStatusList)),
SaveData(colStatusList,"OfflineStatusListFile"),
SaveData(colCustomers,"OfflineCustomersFile");
),false);
Thanx...