Token based licensing in iOS Runtime SDK v100.x

635
3
Jump to solution
03-21-2018 07:18 AM
MuruganandhamKuppan1
New Contributor III

Is it possible to do token based licensing the iOS runtime SDK v 100.x? This has been documented in Runtime SDK v 10.2, but not in Runtime SDK v 100.x. How can we achieve token based licensing in v 100.x?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Nicholas-Furness
Esri Regular Contributor

If you're getting a token already and authenticating the layers via backend, to remove the watermark you still need to license your app for deployment (that is to say, licensing the runtime is distinct from authenticating for data access).

To do that, follow the instructions here: License your app—ArcGIS Runtime SDK for iOS | ArcGIS for Developers 

That link includes a code snippet to use if not working with named users - it uses a license key.

If you're deploying your app with Lite License functionality, then you can get the license key at Licensing your ArcGIS Runtime App | ArcGIS for Developers , and click the "Show my ArcGIS Runtime Lite License key" button at the top-right.

View solution in original post

3 Replies
MarkDostal
Esri Contributor

Hello, and thank you for your question.  The token based licensing in 10.2.x is the same as the licensing your app with a named user in 100.x.  See the new licensing doc here:  License your app—ArcGIS Runtime SDK for iOS | ArcGIS for Developers 

Look for the section "License your app with a Named User account".

If you have any more questions, please let us know.

Mark

0 Kudos
MuruganandhamKuppan1
New Contributor III

Hi,

The authentication process has been handled in backend and i can load all the layers. But the water mark text, 'Licensed For Developer Use Only'  in mapview is not removed. The things i have are "a token" and "a Client Id". How can i remove the water mark. 

FYI, the watermark hides and reappears automatically sometimes.

Regards,

0 Kudos
Nicholas-Furness
Esri Regular Contributor

If you're getting a token already and authenticating the layers via backend, to remove the watermark you still need to license your app for deployment (that is to say, licensing the runtime is distinct from authenticating for data access).

To do that, follow the instructions here: License your app—ArcGIS Runtime SDK for iOS | ArcGIS for Developers 

That link includes a code snippet to use if not working with named users - it uses a license key.

If you're deploying your app with Lite License functionality, then you can get the license key at Licensing your ArcGIS Runtime App | ArcGIS for Developers , and click the "Show my ArcGIS Runtime Lite License key" button at the top-right.