'setRestAPIKey' method not available in LicenceManager class

180 Views Asked by At
LicenceManager.getInstance().setRestAPIKey("your_rest_api_key");
LicenceManager.getInstance().setMapSDKKey("your_java_script_key");

I have compiled the latest maps sdk 2.3.0. Here .setRestAPIKey() and .setMapSDKKey() methods are not working. Inside the LicenseManager.class I found .setMapmyIndiaBeaconToken() method.

1

There are 1 best solutions below

0
Abhishek Kumar On

Instead of using LicenceManager use `MapmyIndiaAccountManager' class.

The full implementation is

MapmyIndiaAccountManager.getInstance().setMapSDKKey("your_java_script_key");
MapmyIndiaAccountManager.getInstance().setRestAPIKey("your_rest_api_key");