Coming soon: Landing Framework - White label marketing for agencies.

Documentation

Pulse Platform

Troubleshooting

iOS

Could not cast value of type 'CLBeaconRegion' to 'CLCircularRegion'

When you see this error in Xcode, this is because the iBeacon plugin collides with the Geo-fence plugin: https://github.com/cowbell/cordova-plugin-geofence/pull/177.

You can manually update the file plugins\cordova-plugin-geofence\src\ios\GeofencePlugin.swift, search for func locationManager(manager: CLLocationManager, didStartMonitoringForRegion region: CLRegion) and update the function to this:

func locationManager(manager: CLLocationManager, didStartMonitoringForRegion region: CLRegion) {
  if region is CLCircularRegion {
    let lat = (region as! CLCircularRegion).center.latitude
    let lng = (region as! CLCircularRegion).center.longitude
    let radius = (region as! CLCircularRegion).radius
  
    log("Starting monitoring for region \(region) lat \(lat) lng \(lng) of radius \(radius)")
  }
}