title: iOS Share Extension App Group error passing file URL in react-native
body: <p>I have an iOS share extension in my react-native app.
  I'm using <code>react-native-share-menu</code> to implement it and I'm using a custom RN view for the share dialog as per the component documentation.</p>
  <p>My custom share dialog works but as soon as I try to pass over to the app I get the error:</p>
  <p><code>container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled Error: Failed to get App Group User Defaults. Did you set up an App Group on your App and Share Extension?</code></p>
  <p>I'm trying to test on a physical device in debug.</p>
  <p>The app group on both my app and the extension target is the same: <code>group.com.myapp.ios</code>
  (for 'all' - debug and release)</p>
  <p>One thing I've noted is my target app bundle Id is different to the latter part of the group id. Does it have to match the target app bundle id?</p>
  <ul>
  <li>App = <code>com.myapp.ios.official</code></li>
  <li>Share Extension = <code>com.myapp.ios.official.share</code></li>
  </ul>
  <p>Can anyone help? Why would my chosen group Id be problematic?</p>