by Fran T
Demonstrates the use of the Wi-Fi Hotspot blocks, as well as a non-rooted UI workaround for Android Oreo, where the blocks may no longer work due to security changes.
Thanks to Kevin for identifying the necessary lock screen UI element!
The flow detects whether the Oreo UI workaround is needed by checking for an exception from a Wi-Fi Hotspot block during setup. In order for the UI method to be able to turn the hotspot on and off in Android Oreo, the Hotspot tile must be present in Quick Settings. To see if it is, expand the status bar by swiping down twice. If the Hotspot tile isn't present, tap the EDIT or “pen” button, then drag the tile to add it.
To be able to unlock the phone to access Quick Settings, you must also set your Bluetooth device as a Trusted Device. See: Settings/Security & location/Smart Lock/Trusted devices.
o Added handling for when the device is already unlocked
Reviews and ratings can be submitted in the app.