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

crash on SaveData

Hi,

 

I have an app requirement to store photos during an offline session

 

PowerApps crashes when 4 photos are in the collection

 

to reproduce create a new app, insert an Add piture control, set the OnSelect to 

Collect(pics,{pic:AddMediaButton1.Media})

 

insert a gallery just to confirm the picture are being captured, items=pic

 

insert a button to save the collection for later use

OnSelect = SaveData(pics,"photos")

 

Save and run on iOS device

 

take a photo and click the button, for me after 3 or 4 photos PowerApps crashes. I suspect the collection/photos are being written to memory first and there is not enough avaialabe for the photos.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: crash on SaveData

Hi @chrisvdw,

 

This might becuase that there is too much data to be serialized for the device to handle all at once. Ideally the PowerApps client would serialize the data in smaller “chunks”. We have already logged a bug for this and we are testing the limits of SaveData and will work to ensure that a reasonable size is supported. 

 

Regards,

Mona

 

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: crash on SaveData

Hi @chrisvdw,

 

This might becuase that there is too much data to be serialized for the device to handle all at once. Ideally the PowerApps client would serialize the data in smaller “chunks”. We have already logged a bug for this and we are testing the limits of SaveData and will work to ensure that a reasonable size is supported. 

 

Regards,

Mona

 

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

ldurland
Level: Powered On

Re: crash on SaveData

any update on this? it appears to be still crashing at least in my testing. 

paul_culmsee
Level 8

Re: crash on SaveData

I am seeing intermittant crashes also using photos). I also notice this is one function that is still quite slow when you take photos using the native camera control. In other words, saving to the cache takes way longer than one would expect...

 

 

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (4,195)