<?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 Loading ArcGIS Map in Mobile Safari Issue in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/loading-arcgis-map-in-mobile-safari-issue/m-p/1187288#M77792</link>
    <description>&lt;P&gt;I've had an ongoing issue with my web application in mobile Safari in all versions of the JavaScript API from at least 4.13-4.23. Occasionally, I receive the JavaScript error "Cant find variable: require", followed by "null is not an object (evaluating 'Z.parentNode.insertBefore')". These errors are thrown in the ESRI libraries.&lt;/P&gt;&lt;P&gt;After this error, the map fails to load. This doesn't occur all the time and I can get the map to load if I refresh the page several times. It only occurs in mobile Safari from what I can see. I assume that something with Node is not loading when I try to load the ESRI library but I don't know how to get around this.&lt;/P&gt;&lt;P&gt;I am loading the ArcGIS libraries from &lt;A href="https://js.arcgis.com/4.23/" target="_blank" rel="noopener"&gt;https://js.arcgis.com/4.23/&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2022 14:10:33 GMT</pubDate>
    <dc:creator>MikeV</dc:creator>
    <dc:date>2022-06-28T14:10:33Z</dc:date>
    <item>
      <title>Loading ArcGIS Map in Mobile Safari Issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/loading-arcgis-map-in-mobile-safari-issue/m-p/1187288#M77792</link>
      <description>&lt;P&gt;I've had an ongoing issue with my web application in mobile Safari in all versions of the JavaScript API from at least 4.13-4.23. Occasionally, I receive the JavaScript error "Cant find variable: require", followed by "null is not an object (evaluating 'Z.parentNode.insertBefore')". These errors are thrown in the ESRI libraries.&lt;/P&gt;&lt;P&gt;After this error, the map fails to load. This doesn't occur all the time and I can get the map to load if I refresh the page several times. It only occurs in mobile Safari from what I can see. I assume that something with Node is not loading when I try to load the ESRI library but I don't know how to get around this.&lt;/P&gt;&lt;P&gt;I am loading the ArcGIS libraries from &lt;A href="https://js.arcgis.com/4.23/" target="_blank" rel="noopener"&gt;https://js.arcgis.com/4.23/&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 14:10:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/loading-arcgis-map-in-mobile-safari-issue/m-p/1187288#M77792</guid>
      <dc:creator>MikeV</dc:creator>
      <dc:date>2022-06-28T14:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Loading ArcGIS Map in Mobile Safari Issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/loading-arcgis-map-in-mobile-safari-issue/m-p/1187382#M77795</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/173205"&gt;@MikeV&lt;/a&gt;are you able to reproduce the issue with this codepen: &lt;A href="https://codepen.io/andygup/pen/LYdYybe?" target="_blank"&gt;https://codepen.io/andygup/pen/LYdYybe?&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 16:08:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/loading-arcgis-map-in-mobile-safari-issue/m-p/1187382#M77795</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2022-06-28T16:08:44Z</dc:date>
    </item>
  </channel>
</rss>

