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

Native module RNDeviceModule tried to override RNDeviceModule for module name RNDeviceInfo #243

sibelius opened this Issue Oct 9, 2017 · 3 comments


None yet
5 participants

sibelius commented Oct 9, 2017

I've got this error on Fabric Crashlytics
android 6

using the latest version of this package

Fatal Exception: java.lang.IllegalStateException: Native module RNDeviceModule tried to override RNDeviceModule for module name RNDeviceInfo. If this was your intention, set canOverrideExistingModule=true
       at com.facebook.react.NativeModuleRegistryBuilder.addNativeModule(
       at com.facebook.react.NativeModuleRegistryBuilder.processPackage(
       at com.facebook.react.ReactInstanceManager.processPackage(
       at com.facebook.react.ReactInstanceManager.processPackages(
       at com.facebook.react.ReactInstanceManager.createReactContext(
       at com.facebook.react.ReactInstanceManager.access$600(
       at com.facebook.react.ReactInstanceManager$

This comment has been minimized.

vonovak commented Oct 15, 2017

check your, in particular protected List<ReactPackage> getPackages(); the RNDeviceModule is probably twice in the list

@machour machour closed this Feb 14, 2018


This comment has been minimized.

kyungjoongo commented Feb 28, 2018



This comment has been minimized.

jakeOliv commented May 23, 2018

Thanks buddy

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