简体   繁体   English

网络掉线状态

[英]Network drop status

I want to get notified where ever there is a network drop in application.我想在应用程序出现网络中断的地方得到通知。 Iam using Reachability for getting notified,when there is no internet but iam not getting any notification when iam connected to both Ethernet and WIFI,and any one it get disconnected and other is connected ,Please help iam stuck on it.我正在使用 Reachability 来获得通知,当没有互联网但当我同时连接到以太网和 WIFI 时我没有收到任何通知,并且任何一个断开连接而另一个连接,请帮助我卡在它上面。

I know this is a little bit too much work for this simple task, but it's one way for you to get your work done.我知道这对于这个简单的任务来说有点太多工作,但这是您完成工作的一种方式。 Try Firebase Offline Capabilities .尝试Firebase 离线功能

It simply detects network drops and notifies you, plus, it's fast and simple to integrate.它只是检测网络掉线并通知您,而且集成起来既快速又简单。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM