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 mqt_native_modules after update to RN18 #1

Open
BigPun86 opened this issue Feb 2, 2016 · 13 comments
Open

Getting error mqt_native_modules after update to RN18 #1

BigPun86 opened this issue Feb 2, 2016 · 13 comments

Comments

@BigPun86
Copy link

BigPun86 commented Feb 2, 2016

Hey there. I got this error after RN18 update. coudn´t figure out what the reason is. Build worked without issue but as soon as i render the Screen where i use this module it crashes.

screen shot 2016-02-02 at 14 02 38

@BigPun86 BigPun86 changed the title Getting weird error Getting error mqt_native_modules after updating to RN18 Feb 2, 2016
@BigPun86 BigPun86 changed the title Getting error mqt_native_modules after updating to RN18 Getting error mqt_native_modules after update to RN18 Feb 2, 2016
@kevinstumpf
Copy link

@BigPun86 : I recommend taking a quick look at the ProgressBarAndroid implementation -- I adopted a lot of it. Comparing their implementation to the SeekBar will probably point to the problematic code

Let me know if that doesn't help and I will try to take a look later

@BigPun86
Copy link
Author

BigPun86 commented Feb 3, 2016

@kevinstumpf thanks for the response. I found out that it crashes because of

var createReactNativeComponentClass = require('createReactNativeComponentClass');

When i replace it with

var requireNativeComponent = require('requireNativeComponent');

at least it won´t crash anymore. Not sure how to solve this.

@cvongrim
Copy link

Any luck on this? I have the same problem.

@rameshvishnoi90904
Copy link

Same Problem. Any Upgrade?

@BigPun86
Copy link
Author

BigPun86 commented Mar 1, 2016

Since i have updated react-native to v0.20 everything works fine

@cvongrim
Copy link

cvongrim commented Mar 1, 2016

Thanks for the update. I will give that a shot since I am currently on v0.18.

@cvongrim
Copy link

cvongrim commented Mar 1, 2016

No luck for me, still crashes.

I tried replacing

var createReactNativeComponentClass = require('createReactNativeComponentClass');

with

var requireNativeComponent = require('requireNativeComponent');

in the index.android.js but it still crashes for me.

@BigPun86
Copy link
Author

BigPun86 commented Mar 1, 2016

Whoops, i just saw that i replaced this module with MKSlider from:
react-native-material-kit

Sorry! so rn v0.20 didn´t solve this issue

@cvongrim
Copy link

cvongrim commented Mar 1, 2016

Hah okay, thanks.

I ended using https://github.com/jeanregisser/react-native-slider which seems to fit my needs.

@shraddha1704
Copy link

shraddha1704 commented May 6, 2016

I'm facing the same issue when i upgrade to react-native@0.23 or later versions.
It is unable to require following modules:

  • NativeMethodsMixin
  • ReactPropTypes
  • ReactNativeViewAttributes
  • createReactNativeComponentClass

Has anyone found a solution?

@kevinstumpf
Copy link

Hey guys,

Take a look at https://facebook.github.io/react-native/docs/slider.html#content, with React 0.24, the slider is now platform independently supported

@SudoPlz
Copy link

SudoPlz commented Jun 1, 2016

I'm posting to let people know that this MYSTERIOUS bug is caused by a limitation of react native to the number of subviews on old Android phones. (~16-20 Views MAX).
See those 2 issues: facebook/react-native#5404 and facebook/react-native#7416 . Apparently it has been fixed on https://github.com/facebook/react-native/releases/tag/v0.27.0-rc, so lets wait for that.

@kevinstumpf
Copy link

Thank you!

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

6 participants