My question is about In-App Update's FLEXIBLE case, when the "wait for Wi-Fi" option is chosen. How to detect this state?
The exact flow for context:
- Application is started, In-App Update FLEXIBLE dialog comes up
- I choose "When Wi-Fi is available" then press the "Update" button
- Kill the application
- Start the application again and continue In-App Update
I use this listener below to listen to events. However, there is no option for this specific event I want to listen to: "waiting for wi-fi to be turned on pending state".
This is the code that starts or continues In-App Update:
Is there any way I could detect that "When Wi-Fi is available" has been selected and In-App Update is waiting for Wi-Fi to be turned on? Unfortunately, InstallStatus.PENDING doesn't cover this case :(