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

Getting error invoking any method #93

Open
humolabs opened this issue Apr 30, 2019 · 1 comment
Open

Getting error invoking any method #93

humolabs opened this issue Apr 30, 2019 · 1 comment

Comments

@humolabs
Copy link

Hi! Im getting an error when i try to invoke any SendIntentAndroid function

image

This happens with any funtion, i cant understand what im doing bad. Im Just copying the example provided.

import * as SendIntentAndroid from 'react-native-send-intent'

SendIntentAndroid.openChooserWithOptions( { subject: 'Story Title', text: 'Message Body' }, 'Share Story' )

Im running this with:

"dependencies": {
"expo": "^32.0.0",
"react": "16.5.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz",
"react-native-elements": "^1.1.0",
"react-native-send-intent": "^1.0.30",
"react-native-vector-icons": "^6.4.2"
},

Many thanks in advance.

@lucasferreira
Copy link
Owner

Hi @humolabs

This module only works with expo if you eject your project, because this module use the native layer (not only JavaScript).

OK?

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

2 participants