How can I add API keys to the SDK?

Add your API keys to the SDK (in your application’s onCreate() or before using map
Java
MapplsAccountManager.getInstance().setRestAPIKey(“SET_REST_API_KEY”);
MapplsAccountManager.getInstance().setMapSDKKey(“SET_MAP_KEY”);
MapplsAccountManager.getInstance().setAtlasClientId(“SET_CLIENT_ID”);
MapplsAccountManager.getInstance().setAtlasClientSecret(“SET_CLIENT_SECRET”);
Mappls.getInstance(getApplicationContext());

Kotlin
MapplsAccountManager.getInstance().restAPIKey = “SET_REST_API_KEY”
MapplsAccountManager.getInstance().mapSDKKey = “SET_MAP_KEY”
MapplsAccountManager.getInstance().atlasClientId = “SET_CLIENT_ID”
MapplsAccountManager.getInstance().atlasClientSecret = “SET_CLIENT_SECRET”
Mappls.getInstance(applicationContext)

Note : You cannot use the Mappls Map Mobile SDK without these function calls. You will find your keys in your API Dashboard.

For More Details Visit : mappls-android-sdk/docs/v1.0.7/Getting-Started.md at main · mappls-api/mappls-android-sdk · GitHub