[Interest] QNetworkAccessManager networkAccessible - Android vs iOS
ekke
ekke at ekkes-corner.org
Tue Aug 9 11:32:01 CEST 2016
Hi,
just noticed a difference between Android and iOS
Before doing a request I'm checking the Network
if(mNetworkAccessManager->networkAccessible()!=QNetworkAccessManager::Accessible){
on Android all works well.
Switching off wifi and mobile data --> Not Accessible
Switching on again --> Accessible
on iOS it's different:
Switching off wifi and mobile data --> Not Accessible
Switching on again --> state not changed back to accessible
--
QNetworkAccessManager is initialized at first use and then re-used.
If I always create a new QNetworkAccessManager before executing the
request, all is detected well also on iOS
Can I 'reset' the accessibility or should I always create a new
QNetworkAccessManager and report a bugreport ?
thx
ekke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160809/f7f70723/attachment.html>
More information about the Interest
mailing list