I have read the Android documentation here and this similar question here, but have a question on the real life implications of this version.
My app had a targetSdkVersion
of 25 while in development, and I was trying it out with a SDK level 27 (Android 8.1) phone with no issues.
My question is specifically about broadcast receivers. Prior SDK 26, you can register for broadcasts in manifest file and you will receive all the broadcasts you registered for. But 26 changed that to severely limit this mechanism that you cannot receive any implicit broadcasts, like Wifi connection changes. And instead they recommend using JobScheduler, with a minimum period of 15 minutes. This would absolutely not work for my app.
Now what I want to understand is, what are the implications of releasing my app with a target SDK version of 25, given that I do not use any features of latest SDK (27)?
Would there be any restrictions for a phone running SDK > 25 to use my app?
Thank you.