phanibhushanksa

Licensing ios App

Discussion created by phanibhushanksa on Apr 3, 2018
Latest reply on Apr 3, 2018 by jacob.shapley@dfw.wa.gov

I have set the license in the viewDidLoad method as shown below. Still I am getting the pop to enter my credentials everytime I run my app.

  

    override func viewDidLoad() {

        super.viewDidLoad()

        do

        {

            let result = try?AGSArcGISRuntimeEnvironment.setLicenseKey("

runtimelite,1000,******,none,********")

            print("Registration is \(result?.licenseStatus.rawValue)")

        }

        catch

        {

            print(error)

        }

}

 

I am getting the response even if I do not enter the credentials, as the license is set and the "Developer Use Only" label is not getting displayed on the map.

 

Outcomes