-
Notifications
You must be signed in to change notification settings - Fork 158
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
RNSendIntentAndroid.openAppWithData is not a function #104
Comments
Have you upgraded your package from a older version? The function/method really existis: So I guess that you have to do some clean build or reinstall this package to try again. |
I have latest version of package and reinstall don't fix the problem. |
Can you run a clean build of your Android app to double check?
Em sex, 11 de out de 2019 às 19:14, kaiss <notifications@github.com>
escreveu:
I have latest version of package and reinstall don't fix the problem.
I checked with console.log
console.log(SendIntentAndroid),
console.log(SendIntentAndroid.openAppWithData)
and this function/method existis but I'm still getting the error
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#104?email_source=notifications&email_token=AABZH736UICMNGABB5TCLJTQOD3D3A5CNFSM4I77FAI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBBLDQY#issuecomment-541241795>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABZH7YVOWQK6OSH2NW2CRLQOD3D3ANCNFSM4I77FAIQ>
.
--
Atenciosamente,
Lucas Ferreira
@lucasferreira
|
Hi @kaaiss I forgot to ask, what its your React Native version? |
what is problem i have a same error this is my package.json about RN "react-native": "https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz", |
Hi @gudwnsdl88 I guess that our package didn't work with Expo, only with 100% RN pure apps. |
Same issue please help |
I have the same issue with a 100% react native app. |
Is linking still required even after autolink support in react native ? |
Hi @adarsh-sgh, Sadly I really don't know, since I do not have any free time by this days to update this package (much because Java-native part), I really don't know if it possible to use this extension without |
I get this error when i use:
SendIntentAndroid.openAppWithData("android.intent.ACTION_VIEW", "https://www.w3schools.com/html/mov_bbb.mp4");
error:
[Unhandled promise rejection: TypeError: RNSendIntentAndroid.openAppWithData is not a function. (In 'RNSendIntentAndroid.openAppWithData(packageName, dataUri, mimeType, extras || {})', 'RNSendIntentAndroid.openAppWithData' is undefined)]
how to fix it?
The text was updated successfully, but these errors were encountered: