Category: React Native Share

Posted in React Native Share

Save photo crash

On iOS a have a crash trying to saving photo with simple share and a base64 image. This is the stack: Crashed: com.apple.root.default-qos 0 libsystem_kernel.dylib…

Continue Reading
Posted in React Native Share

react-native 0.47 createjsmodules issue

Hi It looks like that the commit has already been done to resolve react-native 0.47 issue. However i can’t find which version to install now…

Continue Reading
Posted in React Native Share

sharing base64 on facebook on android m+

Sharing a base64 image on facebook is not working currently, The share window opens without any image. Heres the test code: let shareImageBase64 = {…

Continue Reading
Posted in React Native Share

Android email share name has extension .null

This works with IOS but with Android 7 ( Huawei ) the file attached is like 1501167383416.null. … share = (uri) => { RNFetchBlob.fs.readFile(uri, ‘base64’)…

Continue Reading
Posted in React Native Share

How to share external video file?

I have tried to share external video file. here is my codes. onShare = (title) =>{ let shareOptions = { message: this.state.question, url: ‘data:video/mp4;base64,’+this.state.video_base64, };…

Continue Reading
Posted in React Native Share

You attempted to set the key ‘social’ with the value

Hi, i get this error, You attempted to set the key ‘social’ with the value “twitter” on an object that is meant to be immutable…

Continue Reading
Posted in React Native Share

Facebook sharing

Facebook sharing ignores message when there is an image url attached.

Continue Reading
Posted in React Native Share

How to share local image as url??

When I try : let shareOptions = { title: “React Native”, message: “Hola mundo”, url: ‘file://’ + ‘./Rick_Sanchez.png’, //url: IMG, type: ‘image/png’, subject: “Share Link”…

Continue Reading
Posted in React Native Share

Runtime error: Attempt to invoke virtual method ‘android.content.res.XmlResourceParser

I’m getting the following error when using version 1.0.24 (after adding the provider). Did anyone face this? (it was working with the previous version…) 10x!!!…

Continue Reading
Posted in React Native Share

com.share01.MainApplication cannot be cast to cl.json.ShareApplication

I created a test react-native project,but got error: com.share01.MainApplication cannot be cast to cl.json.ShareApplication steps: 1)react-native init share01 2)yarn add react-native-share 3)react-native link 4)copy the…

Continue Reading