web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power app restarts on ...
Power Apps
Unanswered

Power app restarts on phone after running some time

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello Experts,

 

I don't know how relevant this question is but i will  be grateful with some response. 

I have created one app which record activity of the sales people. so user goes outside open App and record his start time at that moment and app runs at the background of the phone like any other app. when user open the app and they try to get the same screen he didnt find it , app initialize again and since record was not submitted only button was pressed it got vanish.

 

can we do something to increase the app background running time so it will show the same screen where user left. of course user is not killing app here. please advise   

 

Categories:
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Would you like to increase the time that the App runs in the background of phones?

     

    If so, I'm afraid there is no way to achieve that need currently, since it would base on quite complex situations even refers to hardware. If you would like this feature be added into PowerApps, you could suggest an idea in Power Apps Idea Forum: Power Apps Ideas - Power Platform Community 

     

    The best practice of using online App is submitting in time once made any changes, I suppose. So, on your end, if you only need users record and submit locations they went to along with the corresponding time, as the workaround, you could:

     

    1\ Add a Timer into the App, set to start while filling the form and end when click the submit button.

     

    2\ Set the Duration you want, then set OnTimerEnd to:

     

    ClearCollect(colTemp, "Everything in the App that filled by user"); SaveData( colTemp, "LocalData" )

     

     

    3\ Use the LocalData to fill in the Form when app opened again.

     

    So actually this is developing an offline-capable App, please refer to below doc:

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

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @v-jefferni , Yes i want to  increase the time that the App runs in the background of phones. As you mentioned this depends on both device and App behavior. still there is no guaranty that App will be continue running at the background.

    i am handling this situation by saving data at each step , that would be better approach to avoid any loss.

     

    Thank you so much for your detailed response.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard