Hi … I’m trying to send an image with whatsapp … the image is a base64 file. Sometimes it works … but sometimes not and then either whatsapp or my app crashes …
my code
$cordovaSocialSharing.shareViaWhatsApp(null , base64 , null)
.then(function(result) {
console.log(result);
}, function(err) {
console.log(err);
});
The error I have
2016-01-21 14:59:46.641 logofyer[10070:4519289] *** Assertion failure in -[_UIOpenWithAppActivity performActivity], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3512.30.14/UIDocumentInteractionController.m:408
2016-01-21 14:59:46.642 logofyer[10070:4519289] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UIDocumentInteractionController has gone away prematurely!'
*** First throw call stack:
(0x181885900 0x180ef3f80 0x1818857d0 0x1821f899c 0x186bfefb0 0x186e29970 0x1868cfc90 0x1868d2e88 0x1866a7284 0x1865b3394 0x1865b2e90 0x1865b2d18 0x183f89c00 0x100291bb0 0x100297658 0x18183cbb0 0x18183aa18 0x181769680 0x182c78088 0x1865e0d90 0x100061748 0x18130a8b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
has anyone managed to share a image (base64) with whatsapp?