title: Lauching a task when WIFI connects on Android Oreo or newer
body: <p>I have an <a href="https://translate.googleusercontent.com/translate_c?depth=1&amp;rurl=translate.google.com&amp;sl=es&amp;sp=nmt4&amp;tl=en&amp;u=https://github.com/daxslab/es_wifi_etecsa&amp;xid=17259,15700023,15700043,15700124,15700186,15700190,15700201,15700237,15700242,15700248&amp;usg=ALkJrhhZfAmFUHzvLlZ01xE5bkYo6f3YCg" rel="nofollow noreferrer">app</a> 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.</p>
  
  <p>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.</p>
  
  <p>I am missing something or Google has killed my app?</p>