Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
5.3.1
Description
Add a convenience property InternetAccess in Qt Qml element.
At a minimum this property should be true or false and should be available on all platforms.
Whether an Internet connection is available or not is critical for commercial applications.
1) When using cloud services. If the app can't connect to the server, let the user know that.
2) In-app purchases!!! If the user tries to buy a virtual product and this fails because there is no Internet connection. The user must be informed that he needs an active Internet connection.
3) When you are trying to connect to Facebook, Game Center, Google Play Game Services, Amazon GameCircle or any other social services. It would be nice to know beforehand in QML if an Internet connection is available or not in QML.
Of course this information can be retrieved by using XMLHttpRequest in QML or by using QNetworkAccessManager in Qt. But this is a critical information that requires real-time updates and I think this alone would deserve a convenience property of its own and an optimal approach with minimum bandwidth usage.