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

App crashes and log me out on portable devices when loading simple display form page (web browsers ok)

On my web browser, it's loading the page fine. When I tried on my mobile or tablet, this one page will crash and log me out from PowerApps. 

 

It didn't give me any error message log me out right away. My data source is from SharePoint with only 5 rows for testing.

 

Can someone guide me through how to troubleshoot this issue? 

 

Edit: I just found out that Gallary page button that takes me to detail page is the one causing the issue. The following code crashing the app. Any idea?

 

Select(Parent); Navigate(Details, ScreenTransition.Fade, {GBarcode : Gallery1.Selected.Title2.Text})

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

@dynamicsedge @MikeHung 

 

The back button = back()

Anyway, I restored to last 3 days and building it again. It's seen to be working now. I'm going to keep checking portable devices as I move forward. 

 

Thank you!

 

 

 

View solution in original post

9 REPLIES 9
Highlighted
Super User II
Super User II

@WhatisPowerApps 

 

Unsure, but try this in a separate copy of app (use Save As to make another copy of app):

 

  1. If you remove Select(Parent) does it still crash?
  2. In addition to #2, if you remove the optional 3rd argument to Navigate, does it still crash?

 

 

Highlighted

@dynamicsedge 

Both cashes and copy of app also crashes... 

Highlighted

@WhatisPowerApps 

 

What if the Barcode Scanner is removed entirely - does it still crash?

 

This is just to check it, you obviously may want to put it back in.

 

Does it crash even if the Barcode functionality is taken out?

Highlighted

@dynamicsedge 

I have two pages that have barcode scan function. Removing barcode didn't help either. I'm trying to remove everything one by one. Even my home button crashes and log me out. This is very frustrating. I don't have issue with the web browser. 

Highlighted

@WhatisPowerApps 

 

Try these steps:

 

  1. From PowerApps maker press F12
  2. Press Download
  3. This saves .msapp file to your default downloads folder of the browser - make a note of where this is by going to your browser's "Downloads" functionality and find the folder on your computer where it saved it - the .msapp should be there.
  4. In new browser window go to https://us.create.powerapps.com/
  5. Go to "Open"
  6. Go to "Browse files"
  7. Select your .msapp file that was just mentioned in #3
  8. Go to Save As
  9. Save it as another name
  10. Does it help or it still crashes even the new app re-imported this way?
Highlighted

@dynamicsedge 

It crashes. I removed everything in the Gallary page where I scan the barcode except the home button. That button also logs me out. I have nothing else to remove for testing. 

Highlighted

@WhatisPowerApps can you share a session id of the crash? Thanks.

 

Here is how you can find the session id:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/get-sessionid

Highlighted

@WhatisPowerApps 

 

So then if that is the only button...and it still crashes it.

What does the home button do specifically?

 

That is, what does its OnSelect property say on it, etc.

Highlighted

@dynamicsedge @MikeHung 

 

The back button = back()

Anyway, I restored to last 3 days and building it again. It's seen to be working now. I'm going to keep checking portable devices as I move forward. 

 

Thank you!

 

 

 

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,403)