Skip to content

Latest commit

 

History

History
228 lines (169 loc) · 12.2 KB

CHANGELOG.md

File metadata and controls

228 lines (169 loc) · 12.2 KB

CHANGELOG

5.0.6

  • (iOS) Fix enum naming collision
  • (Android) Add package visibility config to support Android 11

5.0.5

  • (Android) Enable Google API key for Android to be set at runtime.
  • (iOS) Add namespace prefix to NetworkStatus enum to prevent collision with cordova-plugin-network-information.
  • (Android) Re-discover available apps when resuming from background or querying available apps.

5.0.4

  • Fix checks for empty strings/objects on iOS. Resolves #216.
  • Make LNEmptyCoord static to scope it to the class. Prevents build failures with cordova-ios@5. Fixes #217.

5.0.3

  • Pass navigate=yes to Waze on Android if input type is an address. Resolves #213.
  • Pass the now required FLAG_ACTIVITY_NEW_TASK intent flag on Android. Fixes #215.

5.0.2

  • Pin default OKHTTP version to 3.12.0 since 3.13.0 contains JDK 1.8 bytecode with which cordova-android@7.1.4 (and below) is incompatible so it causes build failure.

5.0.1

  • Fix check for empty extras parameter on iOS. Fixes #212.

5.0.0

  • Major rework of native code to separate Cordova plugin layer from native launch navigator functionality.
  • Remove obsolete Windows Phone 8 platform.
  • Add explicit enableDebug() API function to enable debug output.
  • Add plugin variable to enable specification of Google API key for geocoding on Android. Fixes #211.

v4.2.2

  • Add minimum version restriction on Cordova CLI and platforms to prevent anomalous issues being reported due to outdated Cordova environment.

v4.2.1

  • Enable override of default OKHTTP version to prevent Gradle version collisions. Fixes #193.

v4.2.0

  • Make iOS call success/error callbacks wait for and return the result of calling openURL(), rather than just assuming success immediately.
  • Add Gaode (Amap) support for Android and iOS. Resolves #185.
  • Fix launching of Citymapper (both Android & iOS) by geocoding address input since native address input is no longer working in recent versions of Citymapper. Fixes #180.
  • Fix Cabify iOS URL Scheme. See #155.
  • Replace deprecated iOS function stringByAddingPercentEscapesUsingEncoding with stringByAddingPercentEncodingWithAllowedCharacters.
  • Add 99 Taxi support for Android and iOS. Resolves #183.

v4.1.5

  • Detect and handle disabled Android apps (i.e. Google Maps). Resolves #182.

v4.1.4

  • Add missing app name native iOS constants for Cabify and Baidu.

v4.1.3

v4.1.2

  • Unpin version on cordova-plugin-dialogs dependency for Android (as well as iOS). Resolves #176 (and #175).

v4.1.1

  • (Re-)open the database for storing user prefs every time before reading/writing. Resolves #173.
  • Add extra checks for input types. Should resolve #172.
  • Unpin version on cordova-plugin-dialogs dependency. Resolves #175.

v4.1.0

  • Add Baidu Maps support for Android and iOS.
  • Fix "bicycling" transport mode parameter for MAPS.ME on iOS.

v4.0.7

  • Namespace kReachabilityChangedNotification to avoid collisions with other libraries. Fixes #162.

v4.0.6

  • Adds Cabify support for Android and iOS.

v4.0.5

  • Handle edge case where preferred app is no longer available on device. Fixes #153.
  • Namespace the Reachability class to avoid collisions with other libraries. Fixes #152.

v4.0.4

  • Fix Ionic Native navigate() options mapping in v4. Fixes #145.

v4.0.3

  • Replace bundled localforage with version that contains polyfill for promises API. Resolves #142.

v4.0.2

  • Fix infinite recursion when calling navigate() if only 1 supported app is present. Resolves #141.

v4.0.1

  • Fix references to enableGelocation vs enableGeocoding

v4.0.0

  • Add Lyft support to Android and iOS. Resolves #130
  • Add CHANGELOG
  • Add empty LAUNCH_MODE object to iOS and Windows JS layers for cross-platform compatibility. Resolves #133.
  • Rework Andoid and iOS implementations to:
    • Only geocode when necessary, therefore support offline launching of apps if correct input location format supplied. Resolves #93.
    • Support optional disabling of geocoding.
  • Fix Typescript declaration type.
  • Windows: Rename options parameter from "disableAutoGeolocation" to "enableGeolocation" for consistency with Android and iOS.
  • Remove backward compatibility shim for legacy v2 API.
  • Update Typescript types for v4.
  • Support specification of launch mode for Apple Maps on iOS: URI scheme or MapKit class. Default to URI scheme method in order to support address location types without geocoding. Resolves #106 and #107.
  • Rework app selection options structure for navigate(). NOTE: this is backwardly incompatible with v3 and below.
  • Add mechanism to optionally offer to remember user choice of app.

v3.2.2

  • Rename typing files to use NPM package names instead of Github repo names.
  • Reference type declaration in package.json.
  • Add androidTheme option
  • Document removing Apple Maps caveat. Resolves #116.

v3.2.1

Add support for a callback to which the selected app in the native picker can be passed.

v3.2.0

Bug fix: On Windows, isAppAvailable() should only return true if appName == APP.BING_MAPS. Fixes #86.

v3.1.2

  • Windows bugfix: cannot continue navigator when you dont pass options.
  • Add callbacks as parameters to userSelect.
  • Add Typescript definition
  • Encode pipe character in Sygic URLs. Resolves #83.

v3.1.1

  • Bug fix: remove anomalous module declaration from Android JS implementation. Fixes #72.

v3.1.0

  • Add support for Sygic, HERE Maps and Moovit apps to Android & iOS
  • Add ability to customise header title and cancel button text of app selection dialog
  • Enable specification of app-specific extra parameters where possible

v3.0.4

  • When reversing geocoding on iOS, use original coordinate as result rather than geocoder result. Resolves #61.
  • Add explicit support for Yandex Navigator on Android

v3.0.3

  • Fix issue #58
  • Merge pull request #61

v3.0.2

  • Add debug logging of geocoding operations
  • Fix issues #13, #59
  • Support alternate API signature: navigate(start, successCallback, errorCallback, options) - resolves #55.

v3.0.1

Replaced legacy Apache HTTP client with OkHttp client on Android to prevent Gradle build issues

v3.0.0

Version 3 is a complete rewrite of the plugin in order to support launching of 3rd party navigation apps on Android and iOS. The plugin API has changed significantly, but is backwardly-compatible to support the version 2 API syntax.

If for any reason you have issues with v3, the final release of v2 is on this branch: https://github.com/dpa99c/phonegap-launch-navigator/tree/v2. It can be specified in a Cordova project as uk.co.workingedge.phonegap.plugin.launchnavigator@2.

cordova-plugin-actionsheet has been introduced as a plugin dependency. It is used to display a native picker (both on Android and iOS) to choose which available navigation app should be used. This is used if app is specified as launchnavigator.APP.USER_SELECT, which is the default in v3 if an app is not explicitly specified.

2.9.11

Fix iOS bugs.

2.9.10

Fix iOS bug where if !disableAutoGeolocation and geolocation plugin returns error or plugin is not present, app can crash due to invalid start location. Fix Android edge case.

2.9.9

Fix bug in Windows platform.

2.9.8

Change case of Cordova package in imports.

2.9.7

Make plugin ID lower case - fixes #33.

2.9.6

Add iOS 9 whitelisting for Google Maps URL scheme. Fixes #32.

2.9.5

Add missing iOS dependency on CoreLocation framework: fixes #27.

2.9.3

Use reverse geocoding to display address of start/destination in Apple Maps when specified as a latitude+longitude.

2.9.2

Fixes #25 - when "preferGoogleMaps" set to true,If Google Maps is not available, it "will not" fall back to Apple Maps.

2.9.1

Add functionality to check if Google Maps is available on iOS device. Remove legacy interface functions.

2.9.0

Rewrite iOS implementation to use native MapKit to invoke Apple Maps.

2.8.0

Removed dependency on geolocation plugin, as this can cause issues when other plugins have dependencies.

2.7.0

Added dependency on geolocation plugin, which is used to obtain starting location if not specified.

2.6.0

Fix iOS merge issues.

2.4.0

Add support for Windows Phone 8.

2.3.0

Add support for Google Maps to iOS

2.2.0

Fixes issue on iOS 8.2+ where passing null as start location causes user to be prompted to choose, instead of using current location

2.1.0

Support optionally specifying start location for navigation and to support both lat/lon and place names interchangeably

2.0.0

Updated for Cordova/Phonegap 3.x. Add support for launching Apple Maps on iOS and Bing Maps on Windows.

1.0.0

Initial plugin version for Cordova/Phonegap 2.x. Supports launching Google Maps on Android to navigate from current location to a specific destination address/coordinate.