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

NativeModules.CallDetectionManagerAndroid is null #82

Closed
klishinoleg opened this issue Dec 29, 2020 · 5 comments
Closed

NativeModules.CallDetectionManagerAndroid is null #82

klishinoleg opened this issue Dec 29, 2020 · 5 comments

Comments

@klishinoleg
Copy link

const NativeCallDetector = NativeModules.CallDetectionManager
const NativeCallDetectorAndroid = NativeModules.CallDetectionManagerAndroid

in \node_modules\react-native-call-detection\index.js

Constants is empty. What do i do wrong?

@maikenunes
Copy link

Hey @klishinoleg!

#83
My PR should fix this issue.

Let me know if you need any help.

@klishinoleg
Copy link
Author

should this work in expo?

@maikenunes
Copy link

should this work in expo?

I think so, but I didn't test it there though.

@marcesengel
Copy link
Collaborator

@klishinoleg does Expo support native modules? I think it doesn't, henceforth this module shouldn't work in there as well.

@klishinoleg
Copy link
Author

I'll try soon, but I think only in bare mode after ejecting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants