In your AndroidManifest.xml you should add the following lines:
Read moreWhat is geofencing used for?
A geofence is a perimeter boundary created around the location of a smartphone or other device, based on GPS or RFID signals. Geofencing has mainly been used to allow advertisers to send targeted messages to users who enter their area .
Read more