         log("Plugin initialization");
         let faker = GeofenceFaker(manager: geoNotificationManager)
         faker.start()
+        GeofencePluginWebView = self.webView
 
         //if (IsAtLeastiOSVersion("8.0")) {
             promptForNotificationPermission()

    NSLog("%@ - %@", TAG, message)
}

@objc(HWPGeofencePlugin) class GeofencePlugin : CDVPlugin {
    let geoNotificationManager = GeoNotificationManager()
    let priority = DISPATCH_QUEUE_PRIORITY_DEFAULT

    
    func locationManager(manager: CLLocationManager, monitoringDidFailForRegion region: CLRegion!, withError error: NSError!) {
        log("Monitoring region " + region.identifier + " failed " + error.description)
    }

    func handleTransition(region: CLRegion!) {
        if let geo = store.findById(region.identifier) {
            notifyAbout(geo)
            GeofencePlugin.fireRecieveTransition(geo)
        }
    }

    func notifyAbout(geo: JSON) {
