Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

Testing Connection.Connected - Switching Wi-Fi off on Device closes the Power App.

I am specifically testing what can be done when the users wi-fi connection is down. This sometimes works, and sometimes doesn't. To test, I open the app, and navigate to the screen I am testing. Then I go to the device settings & switch the wi-fi to off. Sometimes the app remains open. My Icon is displayed - and the If(!Connection.Connected logic is carried out. Other times it just closes the app altogether.

Is there anything that is controlling this?

I used a simple icon, with it's Visible property set to Connection.Connected.

Where the app is not connected, I am using SaveData to save unsaved additions to the device cache.

I am using an Android device. Android 8.1.0

This is a screenshot from a rare occasion where it didn't close the app. The frown emoji has Visible property set to !Connection.Connected.



Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,505)