Mapwize SDK Android Changelog
4.0.0
- Fixing compatibility issues with Android 11.
- If this line is used in your app, it has to be removed:
Mapbox.getInstance(applicationContext, "pk.mapwize")
.
3.8.7
- Fixing OfflineManager issue.
3.8.6
3.8.5
- Adding MarkerProps Serializer and Parser.
3.8.4
- Adding the floor controller component
3.8.3
- Improving support for entering-zoom
3.8.2
- Fixing Parcelable implementation issue on Place Class.
3.8.1
- Adding
centerOnPlace
method for PlaceDetails
- Adding
centerOnVenue
method for VenueDetails
3.8.0
- Adding externalIds support
3.7.3
- Adding
getTranslation(language)
to Floor
3.7.2
- Adding
translations
to Floor
3.7.1
- Adding API method to create and retrieve
Issue
- Fixing an issue with geojson display
3.7.0
- Adding translated floor property to
PlaceDetails
, direction routes
- Updating connector view in direction
- Adding support for
titleDisplay
place property
- Adding
titleDisplay
to Style
3.6.5
- Adding mainColor to
MapOptions
.
- Fixing default
endMarkerOptions
of DirectionOptions
- Making
DirectionMode
Parcelable
.
3.6.4
- Fixing Serializer for
calendarEvents
in PlaceDetails
3.6.3
- Using a floor object instead of a number in
PlaceDetails
3.6.2
- Adding a Parser and a Serializer for
PlaceDetails
for mapwize-sdk-react-native
- Adding
addOnLanguagesChangeListener
.
3.6.1
- Fixing place's
calendarEvents
can be null
3.6.0
3.5.2
- Fixing an issue with navigation not starting
3.5.1
- Fixing issue with offline floor numbers
- Fixing dispatch issue with the OnLanguageChangeListener
3.5.0
Deprecating the following methods, class and attributes:
- Methods:
- In
MapwizeMap
: the Add markers methods
- In
MapwizeMap
: the Add promoted place methods
- Attributes:
- displayStartMarker, startMarkerIconName, displayEndMarker and endMarkerIconName in DirectionOptions
Adding a Marker
to the map is now done using MapwizeMap#addMarker
methods:
- A
Marker
can be created using the factory methods Marker#createMarker
- The second parameter
MarkerOptions
now allows more customization to the Marker
Adding new select place methods (MapwizeMap#selectPlace
):
- Selecting a place allows you to highlight and improve its visibility
Adding Some customization to the DirectionOptions
:
- Adding
DirectionOptions#startMarkerOptions
to customize the starting Marker
of a Direction
/Navigation
- Adding
DirectionOptions#endMarkerOptions
to customize the last Marker
of a Direction
/Navigation
- Adding
DirectionOptions#backgroundLineOptions
, DirectionOptions#foregroundLineOptions
and DirectionOptions#progressLineOptions
to allow more customization of the Direction
drawing process
Adding MarkerOptions
to help customize the drawing of the Marker
(eg. iconName
, title
and lineDashPattern
)
Adding LineOptions
to help customize the drawing of the lines of the Direction
(eg. lineWidth
, lineColor
and lineDashPattern
)
3.4.5
- Fixing Floor Change Error issue
- Fixing Offline Direction issue
3.4.4
- Fixing an issue to support Android 11
3.4.3
- Fixing crash affecting icon parsing for some venues
3.4.2
- Fixing sdkVersionName and osVersionName in Telemetry Event
- Fixing starting Navigation and setting Direction at the same time
3.4.1
- Fixing refresh on an empty venue
3.4.0
3.3.1
- Adding support for min/max Zoom for connectors
- Fixing issue with Api.getDirection method when taking isAccessible as parameter
3.3.0
- Adding failure listener methods called when the content could not be loaded, to be added to the classes implementing OnVenueEnterListener, OnUniverseChangeListener or OnFloorChangeListener:
- void onVenueEnterError(@NonNull Venue venue, @NonNull Throwable error)
- void onUniverseChangeError(@NonNull Universe universe, @NonNull Throwable error)
- void onFloorChangeError(@Nullable Floor floor, @NonNull Throwable error)
- Fixing issue with GeoJSON layers
- Change getUserIndoorLocation to return a MapwizeLocation that implements DirectionPoint
3.2.1
- Adding method to add and remove promoted places using PlacePreview
- Adding support for min/max zoom on GeoJSON layers
3.2.0
- Improving the OfflineManager to have a more robust and smooth download. Adding support for selecting zoom range and introducing offline regions.
- Adding downloadData method allowing to choose the zoom range.
- Adding OfflineRegion class.
- Removing skipMapboxDownload download options. Mapbox download is handled automatically.
- Removing method removeDataForVenue. Use removeOfflineRegion instead.
- Removing method isOfflineForVenue. Use hasOfflineRegion instead.
- Removing method getOfflineVenues. Use getOfflineRegions instead.
- Removing method getOfflineUniversesForVenue. Use getOfflineRegion instead.
- Adding method getOfflineRegions.
- Adding method getOfflineRegion.
- Adding method hasOfflineRegion.
- Adding method removeOfflineRegion.
- Adding method checkForUpdate.
Improving offline search results
Introducting direction modes to allow computation of optimized directions for different profiles. This feature extends the existing accessibility feature in the directions.
- Adding directions API methods to use direction mode. Those methods are fully functional offline.
- Directions API methods with
isAccessible
are still available but are deprecated. Those methods are not working offline anymore and now require a network connection.
- Adding
getDirectionModes
method on the map and onDirectionModesChange
listener to retrieve the available modes for the current venue/universe.
Adding method to get the user heading
Adding support for minZoom/maxZoom on layers and places
Adding support for default floor/bearing/pitch when entering in venue
3.1.13
- Using defaultFloor, defaultBearing and defaultPitch when entering in a venue
- Adding MapwizeConfiguration#Builder#serverUrl(String serverUrl) to simplify custom url settings
- Deprecating method that used serverScheme, serverHost, serverApiPath
- Adding documentation about MapwizeApi regarding when the result are returned from the database when offline mode is used
- Adding interpolation on stroke width to increase the width as the user zooms in
- Fixing issue when downloading multiple venues that use the same universe
- Offline manager call the onFailure callback when trying to download multiple venue/universe at the same time
- Improving offline manager process. Better error handling and progress.
- Adding method to check if new data is available for an offline venue/universe
- Adding method to get all the venue/universe offline at once
- Handling defaultFloor, defaultBearing and defaultPitch when entering in a venue
3.1.12
- Fixing crash when promote a place on floor null
- Improving MapOptions parcelable implementation
3.1.11
- Fixing potential crash on venueEnter
- Adding navigationDidFail in the onNavigationUpdate listener
- Adding onLanguageChangeListener and add/remove methods
3.1.10
- Fixing offline direction Serialization issue
3.1.9
- Fixing typo in Serializer
3.1.8
- Fixing a potential crash on provider stop
- Adding serialize methods
3.1.7
- Fixing a potential issue when calling methods while the map is being destroyed
3.1.6
- Fixing a potential caching issue when multiple venues are taken offline
3.1.5
- Fixing issue with Mapbox OfflineRegions == null
- Fixing issue on navigation start
- Deprecate startNavigation method and replace it with a new one that take an isAccessible argument
3.1.4
- Improving download data process and avoid OutOfMemory issue
- Fixing crash on download data if no direction are available
- Fixing issue with animationDuration == 0 in centerOn methods
3.1.3
- Fixing entering venue issue when venue is offline
3.1.2
- Fixing NPE on removeLocationProvider
- Adding fade animation on floor change
3.1.1
- PlacePreview implements DirectionPoint
3.1.0
- Improving threading managment
- Fixing issue with the first user location not displayed
- Fixing issue with GeoJSON layers
Warning
Methods that interact with the MapwizeMap such as move camera or add marker HAVE TO be called on the ui thread. Those methods are annotated @UiThread.
3.0.3
- Fixing crash when trying to restrict content to venueIds
- Fixing crash that can happen when IndoorLocationProvider is set
- Exposing MapboxView under MapwizeMap.getMapboxView
3.0.2
- Changing returns type of getFloors method from Double to Floor
- Fixing issue with getFloors returns empty array
3.0.1
- Fixing method visibility issue
3.0.0
This new version focusses on performance! The rendering engine has been completely redesigned while we have tried to keep the usage of the SDK as close as possible to the previous version to make migration as easy as possible. Here are the main changes to take into account:
- MapwizeForMapbox changed to MapwizeSDK: Please check the details in the documentation on how to install the SDK.
- AccountManager -> MapwizeConfiguration: AccountManager has been replaced with MapwizeConfiguration. MapwizeConfiguration is the first object that you have to instantiate in order to get access to the MapwizeApi and the MapView.
- Api -> MapwizeApi: Api has been replaced with MapwizeApi. The interface remains (mostly) the same. You can get a MapwizeApi from the factory
MapwizeApiFactory#getApi
or MapwizeApiFactory#getApi(MapwizeConfiguration)
.
- MapwizeApi and MapwizeConfiguration: The usage of those 2 objects has changed to make it simple to use a single configuration stored in your info.plist, or possible to change configuration at run time.
- Standalone MapView: The map is now a standalone view and not a plugin. The instanciation of the underlying Mapbox map is done directly by the MapView. Still, the full Mapbox map remains available.
- Floors: Methds returning floors such as
getFloors
, getFloor
, getFloorForVenue
now return a Floor object instead of just a floor number.
- Camera Animation: Methods moving the camera such as
centerOnVenue
can now specify an animation duration.
- Markers: Methods that are synchronous now return the Marker immediatly. Adding marker on a placelist might require an Api call so the markers are returned using the OnMarkersAdded interface.
- Promoting places: Methods taking places as parameter do not return anything. Methods taking a PlaceList as parameter might require an Api call so the promoted places are returned using the OnPlacesPromoted interface.
- Setting style for places: The method
setPlaceStyles
has been added to improve the performance when changing the style on a lot of places.
- Map events: New events have been added to the map, in particular will change and did change for floors and universes.
- Object preview: Some events now only return preview of objects like places and venues. When possible, methods like
centerOn
can use those preview objects. If you need the full object, you can use getFullObjectAsync
on the preview object.
2.3.6
- Fixing callback not called on OfflineManager#downloadData if there is no direction on the venue
2.3.5
- Fixing multiple failure call on OfflineManager#downloadData
2.3.4
- Adding MapOptions to restrict content to a list of venues
- Fixing issue with download manager downloading the content twice
2.3.3
- Fixing background thread crash
2.3.2
- Fixing issue with setFloor and setFollowUserMode when locationProvider is not set
2.3.1
- Fixing issue with connectors not displayed
2.3.0
[BREAKING CHANGE] All addMarker methods now take a callback that contains the added marker(s) instead of returning the marker directly. This avoids issues when the SDK has to make a request to the server in order to add a marker.
- Upgrading Mapbox to v8.0.0
- Using the Mapbox Location Component to handle navigation and provide every Mapbox customization methods
- Navigation callback is now also triggered at start
- Handling the place order in the place click event
- Handling invisible places in the addMarkers(PlaceList placelist) method
- Adding process to refresh the venue if something has changed in the venue
- Adding placetypeId in the place object
- Avoiding SQL crash when downgrading the SDK version
2.2.2
- Updating Mapbox to 7.3.2
- Improving NullPointerException protection
2.2.1
- Fixing crash when the view is destroy in some circonstances
2.2.0
- Refactoring offline download process
- Only downloading modified data
- Improving error handling
- Skipping Mapbox download if not required
- Keeping existing offline data if the download of an update fails
2.1.12
- Adding getData() method to MapwizeObject interface
- Fixing null pointer issue on searchParams
2.1.11
- Fixing issue with parser
- Adding methods for cordova
2.1.10
- Fixing Offline download callback not called issue when the connection is interrupted
- Improving Offline download error message
- Improving progress value in the Offline downloader
- Adding download method that allow developper to skip the Mapbox data download
2.1.9
- Fixing issue with api methods
- Adding parsing methods for Cordova
2.1.8
- Adding parsing methods for Cordova
2.1.7
- Improving offline download workflow
2.1.6
- Fixing crash when hiding the follow user mode
- Fixing issue with set style method
- Fixing issue with promoted place methods
- Adding setter on Account Manager to change the server url dynamically
2.1.5
- Fixing no callback call issue on Api#getVenue
- Fixing issue with location engine
2.1.4
- Fixing default floor error
- Fixing floor when entering in venue with follow user mode activated
- Improving database writing performance
2.1.3
- Removing unnecessary API call if data is already in database for places and universes.
2.1.2
- Fixing double callback call on Api methods
- Changing parser visibility to public
2.1.1
- Adding constructor for OfflineManager that takes a style url as parameter
- Fixing crash when entering in a venue
- Fixing issue with layer transition animation
2.1.0
- Adding sign in / sign out api methods
- Fixing inconsistant behaviour on Navigation
2.0.0
- Adding complete offline support for display, search and directions.
- Adding cache for displayed content.
1.7.2
- Adding setApiKey method on account manager
- Preventing crash with compass update
1.7.1
- Adding mapView.isDestroyed() check before adding element to the map
1.7.0
- Adding Java documentation
- Replacing MapwizePlugin constructor with MapwizePluginFactory
- Replacing setListener methods to addListener to allow multiple listener on events
- Renaming and adding several options to MapOptions
- Renaming : venueId and organizationId -> restrictContentToVenueId and restrictContentToOrganizationId
- Adding : universeId (set the universe displayed at start), centerOnPlace and centerOnVenue
- Reworking package organization to improve visibility for classes and interface
- Fixing Parcelable implementation
- Fixing issue with setUniverse methods
1.6.1
- Fixing bug when a data try to be display from a non ui thread
1.6.0
1.5.1
- Fixing issues when entering access key
1.5.0
- Updating Mapbox dependencies to 6.3.0
- Fixing memory issues
1.4.3
- Improving floor and venue detection to avoid overload
- Filtering compass value to improve performance
1.4.2
- Improve layer transition
- Improve background computation behavior
1.4.1
- Adding floor in ApiFilter
- Fixing issues with navigation
1.4.0
- Adding navigation methods allowing developer to start a navigation instead of a direction if the starting point of a direction is the user position.
- Adding support for default center and default zoom on venue
- Fixing issue with Api.getMapwizeOkhttpClient
1.3.9
- Adding non null check to avoid crash if follow user mode is activated before a location is provided
1.3.8
- Limiting request on start
1.3.7
- Adding non null check to avoid so crash on venue enter
1.3.6
1.3.5
- Fixing crash on malformated icon url
1.3.4
- Fixing issue with languages
1.3.3
- Fixing crash on exit venue
1.3.2
- Fixing crash if sw and ne are equals when parsing bounds
- Fixing issue with direction display
1.3.1
- Fixing issue with preferred language
- Fixing possible crash on marker click
Version 1.3.0
- Upgrading to Mapbox 6.0.1
- Fixing issue with end direction marker
- Add possibility to hide place markers and shapes using custom style
- Cancel followUserMode on compass click
- Fixing place click issue
Version 1.2.5
- Updating build tools, compile sdk version and following libraries
- com.android.support:appcompat-v7:27.1.1
- com.android.support:cardview-v7:27.1.1
- com.squareup.okhttp3:okhttp:3.10.0
Version 1.2.4
- Adding venueId and organiationId on MapOptions to limit displayed venues
Version 1.2.3
- Fixing issue with removing a marker
Version 1.2.2
Version 1.2.1
- Adding setLatLngFloor method on Mapwize Marker
- Fixing click issues caused by invisible marker
- Running onPluginDidLoad on main thread
- Fixing issues with UISettings
- Fixing issues with StrictMode policy
Version 1.2.0
- Allowing Mapwize to be instantiated before Mapbox has finished loading to start fetching data earlier and improve loading performance
- Adding OnDidLoadListener on MapwizePlugin
- MapwizePlugin constructor does not require the MapboxMap and allows the extra UISettings
- Adding UISettings class to handle UI options
- Moving showFollowUserMode and showFloorController from MapOptions to UISettings
- Allowing to move MapboxLogo, MapboxAttribution and MapboxCompass without impacting Mapwize UI
- Improving Mapwize UI components
- Adding support for default Mapwize outdoor map style. Dedicated Mapbox account only required to customize the outdoor map.
- Mapwize logo and attributions are displayed by default when default Mapwize outdoor map is used
- Adding DirectionOptions and method setDirection(Direction direction, DirectionOptions options)
- Removing setDirection(Direction direction, Icon icon)
- Changing default camera behaviour of setDirection(Direction direction)
Version 1.1.6
- Fixing change floor call on venue Enter / Exit
- Avoid potential crash on venue enter
Version 1.1.5
- Fixing methods that take a list of interface
- Fixing typo : getDistance -> getDistances
Version 1.1.4
Version 1.1.3
- Improving stability
- Updating location layer visual on venue enter
Version 1.1.2
- Fixing issue on follow user mode and heading
Version 1.1.1
- Adding distances Api route
- Adding setDirection with Icon paramater
Version 1.1.0
- Changing floors behaviour to only have in the floor selector the floors for which there is a layer visible on the screen. Changed the behaviour of getFloors and on didChangeFloors accordingly.
- Removing default tilt on FOLLOW_USER_AND_HEADING mode
Version 1.0.7
- Limiting map freeze on drag
- Fixing connector display
- Adding data attribute to Place and Venue classes
Version 1.0.6
- Limiting user location blinking
- Adding LatLngFloorInVenue class
- Adding MapwizePlugin.grantAccess
- Removing Realm
Version 1.0.5
- Adding support for mapboxMarkerClickListener, mapboxPolygonClickListener, mapboxPolylineClickListener.
Version 1.0.4
- Improving support of different device resolution.
Version 1.0.3
- Adding animation on location change
Version 1.0.2
- Adding getUserHeading, setUniverse, setFloorForVenue, getPreferedLanguage.
- Removing out-of-floor icons
- Adding support for custom Mapwize server
Version 1.0.1
- Fixing bugs
- Adding support for mainColor
- Adding API methods
- Exposing okhttp client