cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kryger
Advocate II
Advocate II

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
Kryger
Advocate II
Advocate II

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

View solution in original post

10 REPLIES 10
Pstork1
Dual Super User III
Dual Super User III

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.
Paul_C
Microsoft
Microsoft

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

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.

 

@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)

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

- Paul C.
Software Engineer on PowerApps
Kryger
Advocate II
Advocate II

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

View solution in original post

Anonymous
Not applicable

I’m experiencing the same problem with iPhones XR running latest iOS. 
It freezes after selecting “use photo”. 
then you have to kill the app. 

please help 

Hi there, 

I’m encoutering the same issue. The app crashes everytime i want to use the camera photo. I’m using an Iphone 7, with the latest Powerapp version. The app works fine when I add anything except using the camera photo of my phone. Please help.

Paul - do you have a solution for this please - take a photo and use the photo crashes the power app and it seems to really mess up the gallery on the app when it crashes.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

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