<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AGSRuntimeEnvironment.setClientID(clientID, error: &amp;error) for API 100.0 in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsruntimeenvironment-setclientid-clientid-error/m-p/126510#M1185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your question and using the ArcGIS Runtime SDK for iOS! &amp;nbsp;The solution is a bit different than the old "clientID" method, but it's still pretty easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you sign into your developers account, go to this page:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/arcgis-runtime/licensing/" title="https://developers.arcgis.com/arcgis-runtime/licensing/"&gt;Licensing your ArcGIS Runtime App | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&amp;nbsp;and look for the "Show my ArcGIS Runtime Lite license key" button. &amp;nbsp;Clicking this button will display a string similar to what you have above:&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;CODE class="" style="border: 0px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;runtimelite,1000,rud#########,day-month-year,####################&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN style="background-color: #ffffff;"&gt;" &amp;nbsp;This is your license key string you should use in the "&lt;SPAN class="" style="color: #5c2699; background-color: #f8f8f8; font-size: 12.643750190734863px;"&gt;AGSArcGISRuntimeEnvironment&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8; font-size: 12.643750190734863px;"&gt;.setLicenseKey&lt;/SPAN&gt;" method; just copy and paste it into your code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;The whole process is described in&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/ios/latest/swift/guide/license-your-app.htm" title="https://developers.arcgis.com/ios/latest/swift/guide/license-your-app.htm"&gt;License your app—ArcGIS Runtime SDK for iOS | ArcGIS for Developers&lt;/A&gt;. &amp;nbsp;The table in the "Licensing Capabilities" section describes the process for getting a key for the various licensing levels.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Mar 2017 15:27:17 GMT</pubDate>
    <dc:creator>MarkDostal</dc:creator>
    <dc:date>2017-03-10T15:27:17Z</dc:date>
    <item>
      <title>AGSRuntimeEnvironment.setClientID(clientID, error: &amp;error) for API 100.0</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsruntimeenvironment-setclientid-clientid-error/m-p/126509#M1184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to register my application to remove the whatermark on the map. But I still can't find the AGSRuntimeEnvironment.setClientID(clientID, error: &amp;amp;error) in new API 100.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw it &lt;CODE class=""&gt;&lt;SPAN class=""&gt;AGSArcGISRuntimeEnvironment&lt;/SPAN&gt;.setLicenseKey(&lt;SPAN class=""&gt;"runtimelite,1000,rud#########,day-month-year,####################"&lt;/SPAN&gt;)in guide, but it dosen't work for me and the whatermark's still there.&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Here's my code:&lt;/CODE&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;do {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;let result = try AGSArcGISRuntimeEnvironment.setLicenseKey(ClientID)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print("License Result : \(result.licenseStatus)")
}
catch let error as NSError {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print("error: \(error)")
}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My ClientID is 16 characters only, and I didn't undertand anything about the information discribed in a String showed in the guide:&lt;/P&gt;&lt;P&gt;("&lt;CODE class=""&gt;&lt;SPAN class=""&gt;runtimelite,1000,rud#########,day-month-year,####################&lt;/SPAN&gt;&lt;/CODE&gt;").&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:11:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsruntimeenvironment-setclientid-clientid-error/m-p/126509#M1184</guid>
      <dc:creator>TércyoStorck1</dc:creator>
      <dc:date>2021-12-11T07:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: AGSRuntimeEnvironment.setClientID(clientID, error: &amp;error) for API 100.0</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsruntimeenvironment-setclientid-clientid-error/m-p/126510#M1185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your question and using the ArcGIS Runtime SDK for iOS! &amp;nbsp;The solution is a bit different than the old "clientID" method, but it's still pretty easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you sign into your developers account, go to this page:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/arcgis-runtime/licensing/" title="https://developers.arcgis.com/arcgis-runtime/licensing/"&gt;Licensing your ArcGIS Runtime App | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&amp;nbsp;and look for the "Show my ArcGIS Runtime Lite license key" button. &amp;nbsp;Clicking this button will display a string similar to what you have above:&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;CODE class="" style="border: 0px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;runtimelite,1000,rud#########,day-month-year,####################&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN style="background-color: #ffffff;"&gt;" &amp;nbsp;This is your license key string you should use in the "&lt;SPAN class="" style="color: #5c2699; background-color: #f8f8f8; font-size: 12.643750190734863px;"&gt;AGSArcGISRuntimeEnvironment&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8; font-size: 12.643750190734863px;"&gt;.setLicenseKey&lt;/SPAN&gt;" method; just copy and paste it into your code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;The whole process is described in&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/ios/latest/swift/guide/license-your-app.htm" title="https://developers.arcgis.com/ios/latest/swift/guide/license-your-app.htm"&gt;License your app—ArcGIS Runtime SDK for iOS | ArcGIS for Developers&lt;/A&gt;. &amp;nbsp;The table in the "Licensing Capabilities" section describes the process for getting a key for the various licensing levels.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 15:27:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsruntimeenvironment-setclientid-clientid-error/m-p/126510#M1185</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2017-03-10T15:27:17Z</dc:date>
    </item>
  </channel>
</rss>

