As of android API 26 (android 8.0) android is limiting access to PendingIntent.getBroadcast which is mentioned here.
So in order to send a broadcast at a specific time by using PendingIntent, I have to specify the receiver component's name in Intent.
But when I do not know that any app is hosting a receiver, is there any way sending broadcasts to another application's broadcast receiver?
I did a lot of test in order to create a broadcast which will target any application that receives the action. Here is the result:
You only will be able to target only one class of only one application!
You can easily target a class inside an application like this: