AirMap is updating its identity provider and authentication mechanisms to be OIDC-compliant (https://openid.net/connect/). This will incur some breaking changes in version 3.0 of the AirMap SDK for Android. While these changes are minimal, there are a few things you will need to update if you are using any of the authentication features of the AirMap SDK.
The format of the airmap.config.json
configuration file has changed slightly. Please visit the AirMap Developer Portal (https://dashboard.airmap.com/developer) to enter your application's package name if you use AirMap login & signup then download an updated configuration file.
The AirMapSDK no longer requires developers to manually refresh access tokens after they expire. The SDK now automatically handles refreshing access tokens so long as the refresh token has not been invalidated by the user.
The new auth library uses a redirect uri that is dictated by a custom URL scheme that should be the same as your package name. Simple add this line to your build.gradle in the default config section:
manifestPlaceholders = ['appAuthRedirectScheme': applicationId]
You can get support from AirMap via the following channels:
- Our developer workspace on Slack
- Our developer guides and references at https://developers.airmap.com/