问题
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