I'm working on an app that uses iBeacon to survey customers who purchased a product. iBeacons are used to send push notifications asking them to rate the service. The problem is that I want to make sure that only customers who purchased something get notified.
Can I make a call to my backend and check whether that customer is eligible for the survey before issuing the notification? I figured this should go under didExitRegion but would it work when the app is not running in background?