cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Monitoring and Debugging on Mobile For Offline

I'm building a somewhat complicated Canvas App that requires the ability to switch between offline / online modes during or between sessions.  The app uses collections for data sources in most areas, which are created while online and then saved to local storage using SaveData().  When offline, it loads the collections from the locally stored files using LoadData().  It determines if it's online/offline by checking connection status but also checking the value of a checkbox on the settings screen that tells it to simulate being offline for testing.

 

Of course I encounter the limitations concerning SaveData / LoadData in studio which means a great deal of my app cannot be tested in Studio.  Studio won't write or read data to local files, which is just astonishing to me.  Has anyone found a better way to do this?  Do I just need to use a different low code / no code tool than Powerapps for mobile apps?  If so, does anyone have any suggestions?

 

Thanks!

1 REPLY 1
Super User III
Super User III

@jefferygleason 

Done quite a few online/offline apps in PowerApps and haven't encountered much issue with that aspect of it.

In general, you will have a statement somewhere that will simply populate your collection based on status.  If offline and on a mobile, then Load from device.  It's one line.  After that everything else is identical, browser or device.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (70,732)