Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This pull request includes new features and some design changes that affects some methods. Please look at the release notes. Navigation SDK versions supported: - Navigation SDK for Android: 5.1.1 - Navigation SDK for iOS: 5.3.1 --------- * chore: beta 2 base initial commit --------- Co-authored-by: Ville Välimaa <[email protected]> Co-authored-by: Jukka Alavesa <[email protected]> Co-authored-by: Joona Petrell <[email protected]> Co-authored-by: Joonas Kerttula <[email protected]> Co-authored-by: Timo Pieti <[email protected]> * tests: Integration tests improvements * rename tests --------- Co-authored-by: Mikko Katajaharju <[email protected]> * feature: marker image registry Adds support to register custom bitmap images to be used with google maps markers. --------- Co-authored-by: Vesse Saastamoinen <[email protected]> Co-authored-by: Joonas Kerttula <[email protected]> * chore: Hide generated method channel message types from app facing api * Hide generated method channel message types from app facing api * Remove deprecated analysis rules * chore: Align enable setter method naming with the native SDK side * feature: Add API to query Navigation SDK version * feature: Add API to query Navigation SDK version * refactor: Move SDK version number to example app main page * chore: Flutter analyze fixes * chore: Drop example tests --------- Co-authored-by: Joona Petrell <[email protected]> * feature: Enable abnormal reporting API * feature: Send Navigation UI enabled change events Co-authored-by: Joona Petrell <[email protected]> * chore: fix warnings from Android side * chore: fix warnings from Android code * fix null check and formatting * feature: add listeners for my location * feature: add listeners for my location and my location button * rename consume setter and update doc * shorten snackbar duration, hide previous * feature: Add route token support to set destinations Adds route token support to set destinations. Also update example app to get route token via Routes API for testing purposes. Co-authored-by: Joonas Kerttula <[email protected]> * example: Add support to read dart maps api key from dart defines on android * Add support to read dart maps api key from dart defines on android * feature: Rename initialNavigationUIEnabled to initialNavigationUIEnabledPreference * Rename initialNavigationUIEnabled to initialNavigationUIEnabledPreference - Setting initialNavigationUIEnabled to true only succeeds if the navigation session has been initialized, rename to preference enumeration to indicate this - Added integration tests for the widget initialization options - Initial camera position now defaults to zoom level 3.0 instead of 0.0 (iOS defaults to 4.0, Android to 3.0), which fixes widget initialization example opening in broken view on iOS * Start Maps API examples in classic map mode * Make NavigationViewOptions's UI preference default to automatic * feature: min/max zoom apis * feature: min/max zoom apis * fix: correct check for default zoom levels * fix: remove hard zoom limits * fix: set stored zoom values from initial map options * fix: change min zoom constant to 2 * fix: flutter analyze issues * fix: add reset button, change functions and variables to private * changing tests again and again * move zoom controls to camera page * move zoom constants from public api to example app * rename exception, add string description, remove zoom limits * fix analyze * feature: add camera changed listener * feature: add camera changed listener * some camera update ui changes * update docs * tests: Add simulator, routingOptions, simulationOptions and displayOptions integration tests * integration tests for routing options, clear destinations and get current time and distance * integration tests for displayOptions and guidanceRunning check to routingOptions test * adding pause and resume simulation tests * removing unnecessary enableMyLocation settings * refactor navigation set up so it can be done with shared function * improved comment clarity * move displayOption tests to already existing tests * declare start location coordinates before the tests * shorten the distance to destination on some runs * test naming update * tests: Add test for initialMin/MaxZoomPreference * Add test for initialMin/MaxZoomPreference * add numbering to test cases to run them in correct order --------- Co-authored-by: vessaas <[email protected]> * fix: fix roadsnapping listeners stopping listening after re-initialization. * tests: Use real implementation of navigation plugins instead of mocked version * Use real implementation of navigation plugins instead of mocked version * chore: Simplify session event API * Remove unused NavigationSessionEvent and rename setDestinations params * Simplify navigation session api * Remove legacy conversion tests * feature: add camera follow location listener * tests: Clean up old patrol helper script and update instructions. * chore: rename incidentCards to trafficIncidentCards * chore: Mention traffic incidents API rename in the change log * feature: add gps availability listener * feature: add gps availability listener * fix typos, show event counter on android only * add gps availability event to the listener, update doc * docs: Document followMyLocation() API in more detail * feature: Throw exception if cleanup() is called before initialization on iOS * docs: update dart docs Co-authored-by: Joonas Kerttula <[email protected]> * tests: Add camera event integration tests * refactor camera test with function that waits for camera movement to finish * increased simulation speed and animation wait function retries to make tests more reliable * add camera event tests * add followMyLocation event tests * add startedFollowingMyLocation position test * make camera event tests more reliable * cameraUpdate, moveCamera and animateCamera tests * remove setting default tilt, since the core issue is now fixed * chore: format and script fixes * docs: update changelog and contributing documentation * chore: clean up todos * docs: Update changelog to include new features * docs: Improve documentation quality * chore: Update pubspec - Include proper version and repository information * docs: Added few API omissions in the changelog * docs: fix dart define usage instructions * tests: Stabilize camera integration tests and standardize location simulation * fix camera test flakiness, remove unnecessary zoom tests and refactor followMyLocation checks and some sometimes failing test with the animation wait function --------- Co-authored-by: Joonas Kerttula <[email protected]> * chore: Remove unnecessary throw (#5) --------- Co-authored-by: Timo Pieti <[email protected]> Co-authored-by: Ville Välimaa <[email protected]> Co-authored-by: Jukka Alavesa <[email protected]> Co-authored-by: Joona Petrell <[email protected]> Co-authored-by: Vesse Saastamoinen <[email protected]> Co-authored-by: Mikko Katajaharju <[email protected]> Co-authored-by: Vesse Saastamoinen <[email protected]>
- Loading branch information