Reputation: 9
I want to update an android app with android in app update but I have some problem if the phone is connected to a WIFI provided by a cell phone (sharing its cellular network).
In app Update seems to works like this:
When update is found and suggested to the user (firstScreen)
When you click on update
If you are connected to wifi coming from cellular network, it's acting like your are waiting for wifi. It's not a problem in IMMEDIATE update because you could choose to update anyway. But if you have a FLEXIBLE update, it freezes in PENDING status because the phone is waiting for wifi (wifi not from cellular network).
The real problem is that the first screen seems to analyze wifi or and second screen seems to analyze network source. Maybe because first screen uses NetworkInfo and the second uses NetworkCapability or something.
Does anyone have this problem too?
To prevent user to be blocked when he chose a Flexible update on cellular wifi I will need to found the network source.
Upvotes: 1
Views: 277