Push notifications on Beacon detection when app is not running/killed
I started learning about beacons and started using them in my Android apps recently. But I'm unable to solve the problem given to me:
1. Display a push notification whenever my Android Oreo device enters the region of the beacon.
2. Display a push notification whenever my Android Oreo device exits the region of the beacon
CONDITIONS:
Notification must be displayed even if the app is not opened
Notification must be displayed even if the app is killed
There should be no delay in displaying...