<?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: Set parameter in AndroidManifest.xml or info.plist,  cloud compiler in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/set-parameter-in-androidmanifest-xml-or-info-plist/m-p/859001#M2989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimiliano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, it's not possible to insert parameters directly in Android Manifest or iOS info.plist when using Cloud Make.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, we've made it possible to configure a lot of these properties using appinfo.json.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To insert &lt;STRONG&gt;android:allowBackup=false&lt;/STRONG&gt; in Android manifest file, set &lt;STRONG&gt;capabilities.backup&lt;/STRONG&gt; to false in appinfo.json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set &lt;STRONG&gt;NSAllowsArbitraryLoads=YES&lt;/STRONG&gt; in iOS info.plist, set&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;capabilities.ios.appTransportSecurity.allowArbitraryLoads &lt;/STRONG&gt;to true in appinfo.json&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manually edit your app's appinfo.json and set below properties. Save the changes, upload the app to ArcGIS Online and submit a Cloud Make build request. Built Android apk will have &lt;STRONG&gt;android:allowBackup=false&lt;/STRONG&gt; set in Manifest and iOS ipa will have&amp;nbsp;&lt;STRONG&gt;NSAllowsArbitraryLoads=YES &lt;/STRONG&gt;set in info.plist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="string token"&gt;"capabilities"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt; 
  &lt;SPAN class="string token"&gt;"backup"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
  &lt;SPAN class="string token"&gt;"ios"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="string token"&gt;"appTransportSecurity"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
      &lt;SPAN class="string token"&gt;"allowArbitraryLoads"&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
  &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE class=""&gt;&lt;CODE class=""&gt;&lt;CODE class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/CODE&gt;&lt;/CODE&gt;&lt;TABLE data-tab-size="8"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class=""&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/PRE&gt;&lt;P&gt;Refer &lt;A class="link-titled" href="https://doc.arcgis.com/en/appstudio/extend-apps/editappinfo.htm" title="https://doc.arcgis.com/en/appstudio/extend-apps/editappinfo.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Edit appinfo—AppStudio for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp; for more details. Above appinfo properties for backup and NSAllowsArbitraryLoads will be added to this documentation soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shobana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 10:38:06 GMT</pubDate>
    <dc:creator>ShobanaSuresh</dc:creator>
    <dc:date>2021-12-12T10:38:06Z</dc:date>
    <item>
      <title>Set parameter in AndroidManifest.xml or info.plist,  cloud compiler</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/set-parameter-in-androidmanifest-xml-or-info-plist/m-p/859000#M2988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm developing an app with AppStudio and QT Creator.&lt;/P&gt;&lt;P&gt;There's a way to insert parameters in Android Manifest file and/or&amp;nbsp; in iOS info.plist using only the cloud compiler? No local compiler.&lt;/P&gt;&lt;P&gt;I'd like to insert something like &lt;STRONG&gt;android:allowBackup=false&lt;/STRONG&gt; in manifest file or &lt;STRONG&gt;NSAllowsArbitraryLoads=YES&lt;/STRONG&gt; in info.plist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Massimiliano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 11:49:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/set-parameter-in-androidmanifest-xml-or-info-plist/m-p/859000#M2988</guid>
      <dc:creator>MassimilianoSantini</dc:creator>
      <dc:date>2019-03-12T11:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set parameter in AndroidManifest.xml or info.plist,  cloud compiler</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/set-parameter-in-androidmanifest-xml-or-info-plist/m-p/859001#M2989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimiliano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, it's not possible to insert parameters directly in Android Manifest or iOS info.plist when using Cloud Make.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, we've made it possible to configure a lot of these properties using appinfo.json.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To insert &lt;STRONG&gt;android:allowBackup=false&lt;/STRONG&gt; in Android manifest file, set &lt;STRONG&gt;capabilities.backup&lt;/STRONG&gt; to false in appinfo.json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set &lt;STRONG&gt;NSAllowsArbitraryLoads=YES&lt;/STRONG&gt; in iOS info.plist, set&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;capabilities.ios.appTransportSecurity.allowArbitraryLoads &lt;/STRONG&gt;to true in appinfo.json&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manually edit your app's appinfo.json and set below properties. Save the changes, upload the app to ArcGIS Online and submit a Cloud Make build request. Built Android apk will have &lt;STRONG&gt;android:allowBackup=false&lt;/STRONG&gt; set in Manifest and iOS ipa will have&amp;nbsp;&lt;STRONG&gt;NSAllowsArbitraryLoads=YES &lt;/STRONG&gt;set in info.plist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="string token"&gt;"capabilities"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt; 
  &lt;SPAN class="string token"&gt;"backup"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
  &lt;SPAN class="string token"&gt;"ios"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="string token"&gt;"appTransportSecurity"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
      &lt;SPAN class="string token"&gt;"allowArbitraryLoads"&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
  &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE class=""&gt;&lt;CODE class=""&gt;&lt;CODE class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/CODE&gt;&lt;/CODE&gt;&lt;TABLE data-tab-size="8"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class=""&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/PRE&gt;&lt;P&gt;Refer &lt;A class="link-titled" href="https://doc.arcgis.com/en/appstudio/extend-apps/editappinfo.htm" title="https://doc.arcgis.com/en/appstudio/extend-apps/editappinfo.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Edit appinfo—AppStudio for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp; for more details. Above appinfo properties for backup and NSAllowsArbitraryLoads will be added to this documentation soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shobana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:38:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/set-parameter-in-androidmanifest-xml-or-info-plist/m-p/859001#M2989</guid>
      <dc:creator>ShobanaSuresh</dc:creator>
      <dc:date>2021-12-12T10:38:06Z</dc:date>
    </item>
  </channel>
</rss>

