question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not opening share dialog on ios

See original GitHub issue
error: {
code: "ENSCOCOAERRORDOMAIN256",
domain: "NSCocoaErrorDomain",
message: "The file couldn’t be opened.",

nativeStackIOS:
[
0: "0   celebrations                        0x00000001001bc814 RCTJSErrorFromCodeMessageAndNSError + 152"
1: "1   celebrations                        0x00000001001bc73c RCTJSErrorFromNSError + 264"
2: "2   celebrations                        0x00000001001612c4 __41-[RCTModuleMethod processMethodSignature]_block_invoke_2.187 + 156"
3: "3   celebrations                        0x000000010032eda0 -[RCTActionSheetManager showShareActionSheetWithOptions:failureCallback:successCallback:] + 752"
4: "4   CoreFoundation                      0x00000001a011d610 <redacted> + 144"
5: "5   CoreFoundation                      0x000000019fffb340 <redacted> + 292"
6: "6   CoreFoundation                      0x000000019fffbf24 <redacted> + 60"
7: "7   celebrations                        0x0000000100163d24 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 2064"
8: "8   celebrations                        0x0000000100202004 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 664"
9: "9   celebrations                        0x0000000100201b88 _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 132"
10: "10  celebrations                        0x0000000100201af8 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 28"
11: "11  libdispatch.dylib                   0x000000019fb4d6c8 <redacted> + 24"
12: "12  libdispatch.dylib                   0x000000019fb4e484 <redacted> + 16"
13: "13  libdispatch.dylib                   0x000000019fb2db34 <redacted> + 1012"
14: "14  CoreFoundation                      0x00000001a00a5ce4 <redacted> + 12"
15: "15  CoreFoundation                      0x00000001a00a0bac <redacted> + 1964"
16: "16  CoreFoundation                      0x00000001a00a00e0 CFRunLoopRunSpecific + 436"
17: "17  GraphicsServices                    0x00000001a2319584 GSEventRunModal + 100"
18: "18  UIKitCore                           0x00000001cd2f0c00 UIApplicationMain + 212"
19: "19  celebrations                        0x00000001000b75f0 main + 124"
20: "20  libdyld.dylib                       0x000000019fb5ebb4 <redacted> + 4"
]
}

I get this error when trying to share a base64 image.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
joge17commented, May 14, 2019

Yes. It didn’t open because the base64 code I was passing was not correctly formatted.

0reactions
enesozturkcommented, Jun 3, 2020

Hi, It is been long time. Sory for that. I am trying to solve same issue, my base64 response is in correct format. (I tried to decode that base 64 string in online and I could do it) Here ise my url in options:

{
url: `data:text/plain;base64,${base64}`,
...
}

Am I doing something wrong?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Share extension - App not showing … | Apple Developer Forums
Something weird seems to start happening after upgrade to Xcode 12 and iOS 14. App use to show fine in share menu option...
Read more >
Top 7 Fixes for Share Sheet Not Working on iPhone and iPad
Step 1: Open Settings on your iPhone or iPad and go to Siri & Search. ; Step 2: Turn off the toggle next...
Read more >
Register app to open from Safari's "share" or "open in..." dialog ...
When I run it in iOS7 on the iOS Simulator, I only get Mail, Twitter, and Facebook showing up: No sign of My...
Read more >
Fix Issue of 'Sharing Options Not Showing' on iOS 14/13
Method 1: Force Restart Your iPhone ... If Sharing Button Not Showing after iOS update to 14/13 then a very general troubleshooting solution...
Read more >
iOS - Sharing - Documentation - Meta for Developers - Facebook
In past versions of the SDK for iOS, your app had to check for a native, installed Facebook app before it could open...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found