cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jeanshak
Level: Powered On

Urgent Support - are powerApps for the bin? LoadData or SaveData failed randomly on mobile devices

To improve a local stable data storage on the mobile device I made a small program. Destination is to store offline some data, inkl text and images, an if online again, the data should be send for example the sharepoint or onedrive.
When the app starts "old" data should be loaded:
Code for ONSTART (load data in the collection):

LoadData(LocPic; "LocPic"; true)

Mask:
test_collsave.png
Button Zufügen = Add data in the collection  >> following Code:

Collect(LocPic;
{FOTO:upImage_1.Image;
GEWERKNR:Text(GEWERKNR_1.Text);
BEM:"Freie Bemerkungen ";
CHECKED:false;
DATUM:Now();
GESENDET:"";
IDREC:CountRows(LocPic)+1;
BVNR:"10394";
BAUSTRASSE:"Strasse " & Text(CountRows(LocPic)+1)});;
Set(gZugefuegt;gZugefuegt+1)

Button Speichern = Store in the local data of the device:
SaveData(LocPic; "LocPic");;
Set(gZugefuegt;0)

Button Reset: trivial ;-)
Clear(LocPic);;
SaveData(LocPic; "LocPic");;
Set(gZugefuegt;0)

 

Load = Simulates an app-start:


Clear(LocPic);;
LoadData(LocPic; "LocPic"; false);;
Set(gZugefuegt;0)


IF I run this in the studio no problem: I can add data, 1 or more records into the collection LocPic and store it.
example I stored 50 records, if I press [Load-Button] als data will be restored into the collection and the gallery;


ERRORS ON MOBILE :
On the mobile Device (Andrioden > 7.x, Sony, Mi2) the [Load-Button] gives no data, the collection is empty!
Also the program stops without error; start again: Load in the ONstart event (see up first step) >> NO MORE DATA ?

How can this happen; what is maybe wrong with the code? Most times it works .... ??????????


To improve a local stable data storage on the mobile device I made a small program. Destination is to store offline some data, inkl text and images, an if online again, the data should be send for example the sharepoint or onedrive.
When the app starts "old" data should be loaded:
Code for ONSTART (load data in the collection):

LoadData(LocPic; "LocPic"; true)
Button Zufügen = Add data in the collection >> following Code:

Collect(LocPic;
{FOTO:upImage_1.Image;
GEWERKNR:Text(GEWERKNR_1.Text);
BEM:"Freie Bemerkungen ";
CHECKED:false;
DATUM:Now();
GESENDET:"";
IDREC:CountRows(LocPic)+1;
BVNR:"10394";
BAUSTRASSE:"Strasse " & Text(CountRows(LocPic)+1)});;
Set(gZugefuegt;gZugefuegt+1)

Button Speichern = Store in the local data of the device:
SaveData(LocPic; "LocPic");;
Set(gZugefuegt;0)

Button Reset: trivial ;-)
Clear(LocPic);;
SaveData(LocPic; "LocPic");;
Set(gZugefuegt;0)

Load = Simulates an app-start:

Clear(LocPic);;
LoadData(LocPic; "LocPic"; false);;
Set(gZugefuegt;0)

IF I run this in the studio no problem: I can add data, 1 or more records into the collection LocPic and store it.
example I stored 50 records, if I press [Load-Button] als data will be restored into the collection and the gallery;

ERRORS ON MOBILE :
On the mobile Device (Andrioden > 7.x, Sony, Mi2) the [Load-Button] gives no data, the collection is empty!
Also the program stops without error; start again: Load in the ONstart event (see up first step) >> NO MORE DATA ?

How can this happen; what is maybe wrong with the code? Most times it works .... ??????????

 

Support: OR IS THIS A KNOWN PROBLEM ???

 

Jens Rogge
2 ACCEPTED SOLUTIONS

Accepted Solutions
PowerApps Staff Chris
PowerApps Staff

Re: Urgent Support - are powerApps for the bin? LoadData or SaveData failed randomly on mobile devic

We have released the fix with version 2.0.730 to the Apple and Google app stores.  Please let us know if this resolves your issue. 

 

Thank you!

PowerApps Staff Chris
PowerApps Staff

Re: Urgent Support - are powerApps for the bin? LoadData or SaveData failed randomly on mobile devic

Great, some progress!  Is your Mi Max 2 using 2.0.732 and set to report crashes to developers?  I can't find any crashes for this device model in our logs for version 2.0.732.

14 REPLIES 14
PowerApps Staff Chris
PowerApps Staff

Re: Urgent Support - are powerApps for the bin? LoadData or SaveData failed randomly on mobile devic

Thanks for reporting this issue and providing the details.  We are aware of issues with SaveData/LoadData on mobile and are working on a fix.  We will use your info to make sure it fixes your issue as well.

jeanshak
Level: Powered On

Re: Urgent Support - are powerApps for the bin? LoadData or SaveData failed randomly on mobile devic

is there any time planing?
I would be able to test it with my demo app for support you! 
Is there any possibility to use it without data loss?
Example no use Date-Types or images ??

Jens Rogge
PowerApps Staff Chris
PowerApps Staff

Re: Urgent Support - are powerApps for the bin? LoadData or SaveData failed randomly on mobile devic

My estimate would be that the fix will be available in about two weeks from today.  Images seem to exacerbate the issue, so you could try removing the images but only the fix will address it for sure.

PowerApps Staff Chris
PowerApps Staff

Re: Urgent Support - are powerApps for the bin? LoadData or SaveData failed randomly on mobile devic

We have released the fix with version 2.0.730 to the Apple and Google app stores.  Please let us know if this resolves your issue. 

 

Thank you!

jeanshak
Level: Powered On

Re: Urgent Support - are powerApps for the bin? LoadData or SaveData failed randomly on mobile devic

I did reinstalled the app on the pc; also on mobile.
If I start any app powerApps ! terminates ! while showing: .... opening 
so it is now not possible to test or check the update  2.0.730
Later I will try on other mobile devices.

 

Jens Rogge
PowerApps Staff Chris
PowerApps Staff

Re: Urgent Support - are powerApps for the bin? LoadData or SaveData failed randomly on mobile devic

I'm sorry to hear that.  Does it terminate on the PC or on mobile?  Could you please share a session ID of such a session?  In the meantime, have you tried uninstalling/reinstalling PowerApps?

jeanshak
Level: Powered On

Re: Urgent Support - are powerApps for the bin? LoadData or SaveData failed randomly on mobile devic

I deinstalled all, pc and mobile.
happend on mobile. Now I try to start, it works ... ??! ;-)
I will test the save/load data function.....

 

Jens Rogge
jeanshak
Level: Powered On

Re: Urgent Support - are powerApps for the bin? LoadData or SaveData failed randomly on mobile devic

Same bad issue after one start again:

Session ID:

Sitzungs-ID: c5fb1d29-a622-0e84-d354-f2a8d9bcf6d4

((((

Jens Rogge
jeanshak
Level: Powered On

Re: Urgent Support - are powerApps for the bin? LoadData or SaveData failed randomly on mobile devic

one more Sitzungs-ID: c5fb1d29-a622-0e84-d354-f2a8d9bcf6d4
also terminate other app !
please check: it is noch iOS it it on Android 7.x

Jens Rogge

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 225 members 4,622 guests
Please welcome our newest community members: