move checkRequirements to standalone function
move checkRequirements to standalone function

cowbell/cordova-plugin-geofence,cowbell/cordova-plugin-geofence,emesde/cordova-plugin-geofence,cowbell/cordova-plugin-geofence,emesde/cordova-plugin-geofence,emesde/cordova-plugin-geofence,emesde/cordova-plugin-geofence,cowbell/cordova-plugin-geofence