Lauching a task when WIFI connects on Android Oreo or newer

て烟熏妆下的殇ゞ 提交于 2019-12-13 20:23:47

问题


I have an app that run some security checks and alerts the user using notifications when the device connects to a WIFI network with an specific SSID. The app run checks in background and if there is some security issue alerts the user using notifications.

The issue is that I was using a broadcast receiver for this but with Android Oreo or newer is not working any more. I was reading a lot and I can't find a way for running some background action exactly when the WIFI connection is turned on.

I am missing something or Google has killed my app?

来源:https://stackoverflow.com/questions/53926054/lauching-a-task-when-wifi-connects-on-android-oreo-or-newer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!