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

Add Media from Camera Crashes App

Hi all,

 

I have been experiencing problems with loading images into a collection, taken with the "Addmediabutton" control. The error results in a crash. This has happend on multiple devices, but android (kitkat and pie tested) and iOS (12+). Sometimes the app crashes as soon as you return from the native camera app, other times you can take some pictures before a crash, and in rare instances I can add "infinite" (10+) pictures without a problem.

Is this a bug or am I running into some limitations of the platform or my devices?

Details:
Session ID: f59c151b-fc2d-4d62-9712-ad7999902f22
PowerApps 3.19075.21

 

Best regards
Christian

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Kryger
Level: Powered On

Re: Add Media from Camera Crashes App

After the latest powerapps update I'm not experiencing the issue anymore 🙂

View solution in original post

6 REPLIES 6
Dual Super User
Dual Super User

Re: Add Media from Camera Crashes App

Since it covers several different platforms I would suspect that you are running into an issue with the amount of memory available to store collections, media, and variables in local storage in PowerApps.  Here's an article that talks about some of the storage limits in PowerApps.

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/data-types#text-hyperlink-ima...



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Microsoft Paul_C
Microsoft

Re: Add Media from Camera Crashes App

Hy Kryger,

 

Looks like your session id was from an authoring (Studio) session. 

Can you clarify if the crashes are occurring in the Studio, the player (web player or mobile players), or both?

I do see that there was an error in that authoring session, but it doesn't look like a crash.

Could you also get a player session id, if it's not too much trouble? (Directions can be found HERE.)

 

Also, thanks for reporting this issue in the first place!

 

- Paul C.
Software Engineer on PowerApps
Kryger
Level: Powered On

Re: Add Media from Camera Crashes App

I have thought of that as well, but the oldest phone we are testing are crashing less, than some of the newer phones with 3 times the memory (of course it might be related to the OS).

Thank you for the article link, it shed some light on the processes happening in the background.

 

Kryger
Level: Powered On

Re: Add Media from Camera Crashes App

@Paul_C 

The crashes are only happening in the mobile app, both on iOS and android. It only occurs when returning from the native camera app, not when adding a file from the filing system.

I haven't tried it on desktop, since I don't have a webcam connected.

 

Session id's:


1. 53216661-2ab2-4fd1-99de-2f05f6cc5d0a (Crashes almost always)
2. 4e4a176d-2f64-4226-93c6-ab7e508a4c73 (Crashes after a couple of pictures, but still random)
3. 69ecb8bc-4898-46a0-8709-6b8fbb67c4ea (Never crashes)

Microsoft Paul_C
Microsoft

Re: Add Media from Camera Crashes App

Thanks for the session ids! This should help our investigation. Smiley Very Happy

- Paul C.
Software Engineer on PowerApps
Highlighted
Kryger
Level: Powered On

Re: Add Media from Camera Crashes App

After the latest powerapps update I'm not experiencing the issue anymore 🙂

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate 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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

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