react-native-story-share icon indicating copy to clipboard operation
react-native-story-share copied to clipboard

Fails to share on the first try

Open jordangrant opened this issue 4 years ago • 2 comments

The first time (fresh install) I try to share to Instagram or Snap, it fails with the following error.

{ [Error: The file “Staats” couldn’t be opened because you don’t have permission to view it.]
  framesToPop: 1,
  code: 'RNStoryShare',
  domain: 'NSCocoaErrorDomain',
  userInfo: 
   { NSUnderlyingError: 
      { code: '13',
        message: 'underlying error',
        domain: 'NSPOSIXErrorDomain',
        userInfo: {},
        nativeStackIOS: 
         [ '0   staats                              0x000000010412952c RCTJSErrorFromCodeMessageAndNSError + 156',
           '1   staats                              0x0000000104129850 RCTJSErrorFromCodeMessageAndNSError + 960',
           '2   staats                              0x00000001040d04d4 __41-[RCTModuleMethod processMethodSignature]_block_invoke_2.129 + 176',
           '3   staats                              0x00000001042d3ca8 $sSo8NSStringCSgACSo7NSErrorCSgIyByyy_SSSgAGs5Error_pSgIegggg_TR + 368',
           '4   staats                              0x00000001042d6c58 $s12RNStoryShareAAC16shareToInstagram_8resolver8rejecterySo12NSDictionaryC_yypSgXEySSSg_AIs5Error_pSgtXEtF + 7404',
           '5   staats                              0x00000001042d731c $s12RNStoryShareAAC16shareToInstagram_8resolver8rejecterySo12NSDictionaryC_yypSgXEySSSg_AIs5Error_pSgtXEtFTo + 180',
           '6   CoreFoundation                      0x000000019360c724 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1283876',
           '7   CoreFoundation                      0x00000001934d5280 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 8832',
           '8   CoreFoundation                      0x00000001934d5e90 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 11920',
           '9   staats                              0x00000001040d1c38 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 1896',
           '10  staats                              0x000000010415ce8c _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 660',
           '11  staats                              0x000000010415ca00 _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 144',
           '12  staats                              0x000000010415c964 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 28',
           '13  libdispatch.dylib                   0x0000000108181e48 _dispatch_call_block_and_release + 32',
           '14  libdispatch.dylib                   0x00000001081832a8 _dispatch_client_callout + 20',
           '15  libdispatch.dylib                   0x000000010819135c _dispatch_main_queue_callback_4CF + 1376',
           '16  CoreFoundation                      0x0000000193580e20 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 712224',
           '17  CoreFoundation                      0x000000019357bb7c 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 691068',
           '18  CoreFoundation                      0x000000019357b098 CFRunLoopRunSpecific + 480',
           '19  GraphicsServices                    0x000000019d6e5534 GSEventRunModal + 108',
           '20  UIKitCore                           0x000000019769b7ac UIApplicationMain + 1940',
           '21  staats                              0x000000010286dd78 main + 124',
           '22  libdyld.dylib                       0x00000001933faf30 0DC9A4BA-C3E8-3487-99DB-1B5C86597AF5 + 3888' ] },
     NSFilePath: '/private/var/containers/Bundle/Application/9B05C12A-D9CC-45AC-B510-72131D5D914F/staats.app' },
  nativeStackIOS: 
   [ '0   staats                              0x000000010412952c RCTJSErrorFromCodeMessageAndNSError + 156',
     '1   staats                              0x00000001040d04d4 __41-[RCTModuleMethod processMethodSignature]_block_invoke_2.129 + 176',
     '2   staats                              0x00000001042d3ca8 $sSo8NSStringCSgACSo7NSErrorCSgIyByyy_SSSgAGs5Error_pSgIegggg_TR + 368',
     '3   staats                              0x00000001042d6c58 $s12RNStoryShareAAC16shareToInstagram_8resolver8rejecterySo12NSDictionaryC_yypSgXEySSSg_AIs5Error_pSgtXEtF + 7404',
     '4   staats                              0x00000001042d731c $s12RNStoryShareAAC16shareToInstagram_8resolver8rejecterySo12NSDictionaryC_yypSgXEySSSg_AIs5Error_pSgtXEtFTo + 180',
     '5   CoreFoundation                      0x000000019360c724 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1283876',
     '6   CoreFoundation                      0x00000001934d5280 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 8832',
     '7   CoreFoundation                      0x00000001934d5e90 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 11920',
     '8   staats                              0x00000001040d1c38 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 1896',
     '9   staats                              0x000000010415ce8c _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 660',
     '10  staats                              0x000000010415ca00 _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 144',
     '11  staats                              0x000000010415c964 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 28',
     '12  libdispatch.dylib                   0x0000000108181e48 _dispatch_call_block_and_release + 32',
     '13  libdispatch.dylib                   0x00000001081832a8 _dispatch_client_callout + 20',
     '14  libdispatch.dylib                   0x000000010819135c _dispatch_main_queue_callback_4CF + 1376',
     '15  CoreFoundation                      0x0000000193580e20 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 712224',
     '16  CoreFoundation                      0x000000019357bb7c 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 691068',
     '17  CoreFoundation                      0x000000019357b098 CFRunLoopRunSpecific + 480',
     '18  GraphicsServices                    0x000000019d6e5534 GSEventRunModal + 108',
     '19  UIKitCore                           0x000000019769b7ac UIApplicationMain + 1940',
     '20  staats                              0x000000010286dd78 main + 124',
     '21  libdyld.dylib                       0x00000001933faf30 0DC9A4BA-C3E8-3487-99DB-1B5C86597AF5 + 3888' ],
  line: 1753,
  column: 26,
  sourceURL: 'http://192.168.2.90:8081/index.bundle?platform=ios&dev=true&minify=false' }

jordangrant avatar Dec 05 '19 09:12 jordangrant