We have a wifi based application which has few millions of customer base. Core logic of the application is to connect the user to public open Hotspot with auto sign-in feature when connected. Application wholly depends on these broadcasts.
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
<action android:name="android.net.wifi.WIFI_STATE_CHANGED" />
<action android:name="android.net.wifi.STATE_CHANGE" />
</intent-filter>
Following broadcast, app will check connected wifi hotspot and try auto login.
In Android O, app doesn't receive any of the above mentioned broadcast. Looked into background service with broadcast receiver workaround and seems like android is stopping the service some time.
Any suggestion is well appreciated.