title: Flutter - iOS - receive_sharing_intent - Not working for JSON and XML file types
body: <p>I am building Flutter app (Android, iOS). This app shall receive JSON/XML file from another app. I am using the flutter receive_sharing_intent library to do this.
  I am following instructions as in <a href="https://pub.dev/packages/receive_sharing_intent" rel="nofollow noreferrer">https://pub.dev/packages/receive_sharing_intent</a></p>
  <p>Android is working fine without any issues.</p>
  <p>When I test with iOS, Extension displays &quot;Error loading data&quot; message
  When I look at extension code:   -&quot;attachment.hasItemConformingToTypeIdentifier(textContentType)&quot;</p>
  <ul>
  <li>File type identifier is Text instead of File.</li>
  <li>handleText() is got called instead of handleFiles()</li>
  <li>displays &quot;Error loading data&quot;</li>
  </ul>
  <p>When I browse I got this link:<br />
  <a href="https://stackoverflow.com/questions/65239077/flutter-ios-file-sharing-cannot-open-shared-file#">Flutter iOS File Sharing - Cannot Open Shared File</a></p>
  <p>It seems receiving any file type is possible. should I add additional configuration in info.plist?</p>
  <p>Thanks for your support.</p>