cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stapes
Impactful Individual
Impactful Individual

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.

Screenshot_20210205-164621.jpeg

0 REPLIES 0

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (1,346)