cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Mobile App freezing when navigating to a photo gallery after taking a photo with the Camera control

So I am trying to build out a camera control and resulting image gallery for a mobile app. I had the camera control take a picture when a button was pressed, and then you could navigate to a gallery and view the images. The problem was, the gallery was blank. I found out the button was the problem, so I removed it and set the camera OnSelect to take the photo. Now the gallery works and displays images properly in the web version of PowerApps; however, when I load the app on my phone, my device locks up when navigating from the camera control to the screen with the gallery. I've tried this on my Pixel 2 and a co-workers Pixel 3. 

 

Camera is named MyCamera

OnSelect: Collect(MyPix,MyCamera.Photo); UpdateContext({shutter:true})

 

Button4 OnSelect: Navigate(CameraGallery,None)

 

Images in PhotoGallery

Image:ThisItem.Url

 

Let me know if you need any additional information, or if anyone has any idea why this is locking up the app. Strange that the change would cause this, but I don't know how to get my images to display any other way. I guess I could remove the option to view the photos in a gallery screen?

7 REPLIES 7
Highlighted
Helper III
Helper III

Re: Mobile App freezing when navigating to a photo gallery after taking a photo with the Camera control

So I found a thread telling the OP to turn off "Improved app rendering (final validation)" I tried this and my app still freezes, but it freezes slightly differently where the camera view still functions rather than the camera view also freezing

Highlighted
Community Support
Community Support

Re: Mobile App freezing when navigating to a photo gallery after taking a photo with the Camera control

Hi @ngreen ,

 

I just tested with a same app and I cannot reproduce your issue on my iPhone. Have you tested with other mobiles? Is it an iOS phone or Android phone? Have your updated the PowerApps application to the latest version?

 

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.
Highlighted
Helper III
Helper III

Re: Mobile App freezing when navigating to a photo gallery after taking a photo with the Camera control

@v-monli-msft 

 

I am running the latest version of PowerApps on Android 10. I can replicate the issue on other Android phones. 

Highlighted
Frequent Visitor

Re: Mobile App freezing when navigating to a photo gallery after taking a photo with the Camera control

I have the same issue with a Samsung S9 with Android Version 9

Highlighted
Community Support
Community Support

Re: Mobile App freezing when navigating to a photo gallery after taking a photo with the Camera control

Hi @ngreen ,

 

How many photos that you took before navigating to the next screen?

 

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.
Highlighted
Helper III
Helper III

Re: Mobile App freezing when navigating to a photo gallery after taking a photo with the Camera control

@v-monli-msft 

 

At least one photo will cause the app to crash. Taking no photos is the only way to keep it from crashing when navigating. More than one photo brings about the same result as only one photos.

 

Highlighted
Frequent Visitor

Re: Mobile App freezing when navigating to a photo gallery after taking a photo with the Camera control

Yes, I have the same issue

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (3,839)