<?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 Adding Photo Attachments with iOS devices in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-photo-attachments-with-ios-devices/m-p/565794#M52818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I may be losing my mind here, but I just have a general question.&amp;nbsp; A few months ago (probably late September or early October) I was testing an app (copied verbatim from an Esri sample) on my iPhone and iPad and noticed the attachment editor widget would not upload attachments when using an iOS device.&amp;nbsp; It would just hold the thumbnail next the the "Browse" button but it would never upload.&amp;nbsp; I tested the same app on a colleague's Android device and was able to upload photo attachments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using the code from the Samples page for the "Attachment Editor" that previously used the &lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer/0"&gt;San Francisco 311 sample service&lt;/A&gt;.&amp;nbsp; I just went back to the &lt;A href="http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=ed_attachments"&gt;Sample page for the Attachment Editor&lt;/A&gt; today to find a completely different app that now uses the JS API version 3.15 (was referencing 3.14 last time I saw) with a different feature service.&amp;nbsp; So today I copied the code verbatim from the sample and I can now upload photos from iOS.&amp;nbsp; It is also worth noting at the time of testing before, I was using iOS 8.1 (I think) and have since updated to iOS 9.1 and I am now able to upload attachments through the Esri widgets.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is, does this work now because of iOS updates?&amp;nbsp; I was under the impression Safari did not have any sort of file picker support? I believe this update is related to the iOS update because I can change the JS API reference back to 3.14 and I am still able to add attachments from my iPhone.&amp;nbsp; I tried looking at what's new with the iOS 9.x updates and couldn't see anything about file uploads through browsers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I crazy?&amp;nbsp; Has this always worked and there was an error in the old Sample?&amp;nbsp; Unfortunately, I copied over the code I had for the old sample, but I didn't really see any issues with it (also, since it worked on Android I'm pretty sure it was fine).&amp;nbsp; Sorry if this is a dumb question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Dec 2015 17:52:13 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2015-12-16T17:52:13Z</dc:date>
    <item>
      <title>Adding Photo Attachments with iOS devices</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-photo-attachments-with-ios-devices/m-p/565794#M52818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I may be losing my mind here, but I just have a general question.&amp;nbsp; A few months ago (probably late September or early October) I was testing an app (copied verbatim from an Esri sample) on my iPhone and iPad and noticed the attachment editor widget would not upload attachments when using an iOS device.&amp;nbsp; It would just hold the thumbnail next the the "Browse" button but it would never upload.&amp;nbsp; I tested the same app on a colleague's Android device and was able to upload photo attachments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using the code from the Samples page for the "Attachment Editor" that previously used the &lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer/0"&gt;San Francisco 311 sample service&lt;/A&gt;.&amp;nbsp; I just went back to the &lt;A href="http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=ed_attachments"&gt;Sample page for the Attachment Editor&lt;/A&gt; today to find a completely different app that now uses the JS API version 3.15 (was referencing 3.14 last time I saw) with a different feature service.&amp;nbsp; So today I copied the code verbatim from the sample and I can now upload photos from iOS.&amp;nbsp; It is also worth noting at the time of testing before, I was using iOS 8.1 (I think) and have since updated to iOS 9.1 and I am now able to upload attachments through the Esri widgets.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is, does this work now because of iOS updates?&amp;nbsp; I was under the impression Safari did not have any sort of file picker support? I believe this update is related to the iOS update because I can change the JS API reference back to 3.14 and I am still able to add attachments from my iPhone.&amp;nbsp; I tried looking at what's new with the iOS 9.x updates and couldn't see anything about file uploads through browsers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I crazy?&amp;nbsp; Has this always worked and there was an error in the old Sample?&amp;nbsp; Unfortunately, I copied over the code I had for the old sample, but I didn't really see any issues with it (also, since it worked on Android I'm pretty sure it was fine).&amp;nbsp; Sorry if this is a dumb question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 17:52:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-photo-attachments-with-ios-devices/m-p/565794#M52818</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-12-16T17:52:13Z</dc:date>
    </item>
  </channel>
</rss>

