Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on ios #55

Open
peppeg85 opened this issue Apr 6, 2020 · 0 comments
Open

crash on ios #55

peppeg85 opened this issue Apr 6, 2020 · 0 comments

Comments

@peppeg85
Copy link

peppeg85 commented Apr 6, 2020

hello, thanks for this plugin, with android i have no problem, with ios it crashes, i use vanilla js, i have these errors in the console:

NativeScript caught signal 11.
Native Stack:
1   0x1060b5251 sig_handler(int)
2   0x7fff51bf5b5d _sigtramp
3   0x0
4   0x7fff51c29b85 libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::step()
5   0x7fff51c2de58 _Unwind_RaiseException
6   0x7fff4f9fc8bd __cxa_throw
7   0x7fff50b97c44 _objc_exception_destructor(void*)
8   0x7fff23ce1a71 _CFThrowFormattedException
9   0x7fff23ce4c86 -[__NSPlaceholderArray initWithObjects:count:].cold.3
10  0x7fff23c27f74 -[__NSPlaceholderArray initWithObjects:count:]
11  0x7fff23c3c909 -[NSArray initWithArray:range:copyItems:]
12  0x7fff50ba8c92 objc_setProperty_nonatomic_copy
13  0x7fff43315dea -[UIActivityViewController configureActivityViewControllerWithActivityItems:applicationActivities:]
14  0x7fff43315b3f -[UIActivityViewController initWithActivityItems:applicationActivities:]
15  0x106aa6a8d ffi_call_unix64
16  0x10dd8d950
JS Stack:
initWithActivityItemsApplicationActivities([native code])
at share(file: node_modules/nativescript-social-share/social-share.ios.js:7:0)
at shareUrl(file: node_modules/nativescript-social-share/social-share.ios.js:34:0)
at file: app/views/notificationDetails/notificationDetails.js:37:0
at file: node_modules/@nativescript/core/ui/gestures/gestures.ios.js:64:0
at UIApplicationMain([native code])
at run(file: node_modules/@nativescript/core/application/application.ios.js:312:0)
at file: app/app.js:97:0
at ./app.js(file:///app/bundle.js:595:34)
at __webpack_require__(file: app/webpack/bootstrap:750:0)
at checkDeferredModules(file: app/webpack/bootstrap:43:0)
at webpackJsonpCallback(file: app/webpack/bootstrap:30:0)
at anonymous(file:///app/bundle.js:2:61)
at evaluate([native code])
at moduleEvaluation
at
at asyncFunctionResume
at
at promiseReactionJob

Edit:

it crashes on shareUrl, it works on shareText

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant