changelogs.md


cowbell/cordova-plugin-geofence

Repository  -  API  -  Source

0.7.0

  • Adding/removing geofences now throw errors correctly
  • Error codes Details
  • Fix android 6.0 crashes when user denied location permissions Details
  • Fix notification overrides (android) Details
  • Fix occasional crashes when adding geofences (android) Details
  • Support for NSLocationAlwaysUsageDescription and NSLocationWhenInUseUsageDescription (iOS) [Details](https://github.com/cowbell/cordova
  • Support for Swift 2.3, XCode 8.0-8.2
  • Swift support handling delegated to respective plugin-plugin-geofence/pull/194)

0.6.0

  • Support for Android 6 new permission acquiring model
  • Support for Cordova 6.0
  • Fix for notification permissions on iOS 8
  • Removed unnecessary WRITE_STORAGE permissions on Android
  • initialize method fails when required permissions are not granted

0.5.0

September 11, 2015
  • Support for new Google API
  • Support for Xcode 7.0, swift 2.0
  • Android native code broadcast intent. Details
  • iOS - using SwiftyJson instead of json.swift library
  • Fixing received transition type for transitionType=BOTH. Details
  • Parameters coercion. Details
  • Fixed displaying location permission dialog only when initialize function is called. Details

0.4.2

February 8, 2015
  • fixed Promise bug

0.4.1

July 7, 2015
  • dependant plugins ids updated

0.4.0

June 5, 2015
  • Support for Xcode 6.3 and swift 1.2, swift < 1.2 is not supported
  • Support for Cordova 5.0
  • Add missing namespace decleration for M2 Windows Phone
  • Notification for monitored region can be optional
  • Vibrations on/off for iOS
  • Vibration patterns for android

      //Vibrate for 1 sec
      //Wait for 0.5 sec
      //Vibrate for 2 sec
      notification: {
          vibrate: [1000, 500, 2000]
      }
    
  • Custom notification icons for android

      notification: {
          smallIcon: 'res://my_location_icon',
          icon: 'file://img/geofence.png'
      }
    
  • onNotificationClicked event
  • receiveTransition event is deprecated see onTransitionReceived
  • Google Support and Play Services load externally