-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Describe the bug
As @julien-l suggested in clariusdev/cast#175 (comment), we use code similar to https://github.com/clariusdev/solum/tree/master/examples/solum_android/app/src/main/java/me/clarius/sdk/solum/example/bluetooth in order to get the "networkID" parameter in a network callback. We noticed a buggy behavior in the solum_android example that happens only when the clarius app is running in the background and already connected to the probe. The first request to join the wifi doesn't invoke the network callback. Instead, the request needs to be made a second time in order for the network callback to trigger.
Since we use CastAPI, we require Clarius App running in the background. This bug can be reproduced by following the steps below.
To Reproduce
Steps to reproduce the behavior:
- Launch Clarius App on an android device.
- Find a probe and join the probe's wifi.
- Launch solumn android example - https://github.com/clariusdev/solum/tree/master/examples/solum_android
- Tap "BLUETOOTH"
- Select the same probe as step 2.
- Tap "CONNECT"
- Go back
- Tap "AUTO JOIN WI-FI"
- The "Network ID" field is blank, nothing happened.
- Tap "AUTO JOIN WI-FI", again
- The "Network ID" field is now populated.
Environment:
- Development platform [e.g. Linux, Xcode]: Android
- Clarius App version: 12.0.2-631+f8b5d0a851