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

undefined is not an object (evaluating '_reactNative.NativeModules.SendSMS.send') #25

Open
TarekSalahUddinMahmud opened this issue Aug 30, 2017 · 9 comments

Comments

@TarekSalahUddinMahmud
Copy link

when i called the send this error occurs

image

@sibelius
Copy link

@tsmrafee-bs it looks like you are using expo?

I don't think expo support this package

@rajatpillai
Copy link

I am not using EXPO but still facing this issue can anyone help me.
The error is " [TypeError: undefined is not a function (evaluating '_reactNativeSms2.default.list')] ".

@zainulhasan
Copy link

I am also facing this issues @rajatpillai any success?

@vkc23
Copy link

vkc23 commented Dec 13, 2018

I am also facing this issues on ios but Android working fine.

@Quadriphobs1
Copy link

ios +1

@vincentferniot
Copy link

After I installed the npm package, I deleted the app on emulator and stopped metro bundler, then rebuild the app and now I have this alert:

capture d ecran 2019-03-07 a 11 20 39

Just need to check if it works on a real device now !

@ananyacleetus
Copy link

ananyacleetus commented Mar 7, 2019

Is anyone else getting the same error but null is not an object?

Edit: I fixed my issue by manually linking

@Quadriphobs1
Copy link

Quadriphobs1 commented Mar 29, 2019

I did manual linking, but still having this same issue, whenever console.log(SendSMS); it has the send in the object.

@sri-chandu
Copy link

Initially i faced this issue and ended up here, then i decided to explore source code of react-native-sms package. I found out that developer used NativeModules from react-native. so i directly imported NativeModules it into my component. Guess what, its working now
image

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

9 participants