NetInfo is not working when the application is closed #20670
Labels
🌐Networking
Related to a networking API.
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
Hi all,
I need to get the networking status of the smartphone when the app is closed.
I am trying with:
x = await NetInfo.getConnectionInfo();
Always I am receiving
{"type":"unknown","effectiveType":"unknown"}
If the application is active, this is working.
How to get the smartphone network status when the application is closed?
Thanks a lot
The text was updated successfully, but these errors were encountered: