Select to view content in your preferred language

Dynamically setting Esri.ArcGISRuntime.license

463
1
Jump to solution
06-09-2020 07:46 AM
JeremyRoberts2
Occasional Contributor

We'd like to make a call to a service to return the value for Esri.ArcGISRuntime.license in our QtQuick based app.  This way when our license renews we don't have to make a new release of our app.  Is there a recommended way to do this?  Does it need to be set before appEngine.load is called?  If so, I assume we will need to make our call to our service, pause loading the app until a response is returned to obtain the key and set the property, then continue loading the app.  Is this correct?  Thanks!

0 Kudos
1 Solution

Accepted Solutions
JeremyRoberts2
Occasional Contributor

This can be closed.  I found the solution in using ArcGISRuntimeEnvironment.setLicense in the QML api.

View solution in original post

0 Kudos
1 Reply
JeremyRoberts2
Occasional Contributor

This can be closed.  I found the solution in using ArcGISRuntimeEnvironment.setLicense in the QML api.

0 Kudos