You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
null is not an object (UIManager$getViewMan.Constants) -Android #19
Is there any way that I can perform the linking in expo without using ejecting to ExpoKit?
Did you figure out a way to get it to work in an expo project without ejecting your project? If so, I would greatly appreciate your help. I am getting the same issue
Activity
ShaMan123 commentedon Dec 19, 2019
what version of react-native are you on?
nolife08021 commentedon Dec 19, 2019
react-native: 0.59.8
ShaMan123 commentedon Dec 19, 2019
that's it I believe.
You can upgrade but it is really unnecessary. Try the following:
or even
nolife08021 commentedon Dec 19, 2019
Okay. I will try it.
ShaMan123 commentedon Dec 19, 2019
ios has no constants exported. for now.
nolife08021 commentedon Dec 19, 2019
my bad, that was a stupid question.
ShaMan123 commentedon Dec 19, 2019
try this, it's better:
ShaMan123 commentedon Dec 19, 2019
reinstall to version
3.4.5ShaMan123 commentedon Dec 19, 2019
Not at all. In future releaseד it will have
ShaMan123 commentedon Dec 19, 2019
please reply that all is working, including #18
nolife08021 commentedon Dec 19, 2019
After I reinstall to version 3.4.5
The error becomes -> null is not an object (evaluating '_ref.Constant')
ShaMan123 commentedon Dec 19, 2019
I am a bit puzzled. but it is not breaking so. reinstall
3.4.7.nolife08021 commentedon Dec 19, 2019
The error still remaining after reinstall to
3.4.7null is not an object (evaluating '_ref.Constants)
ShaMan123 commentedon Dec 19, 2019
run this, I want to check if it's null.
ShaMan123 commentedon Dec 20, 2019
changing to this should work
make sure it does and I'll bump the version
2 remaining items
ShaMan123 commentedon Dec 20, 2019
RN 0.59 doesn't do automatic linking.
You need to link the package.
nolife08021 commentedon Dec 20, 2019
react-native link react-native-math-viewIs there any way that I can perform the linking in expo without using ejecting to ExpoKit?
ShaMan123 commentedon Dec 20, 2019
Native modules aren't supported in expo.
You can render the fallback component which is based on
react-native-svg. This is likely to affect performance.Youssouf-Ouedraogo commentedon Aug 6, 2020
@noli
Did you figure out a way to get it to work in an expo project without ejecting your project? If so, I would greatly appreciate your help. I am getting the same issue
anback commentedon Nov 21, 2020
If you are like me and ended up with 400 ts errors when importing this module in typescript then here is the solution:
create a
types/index.d.ts:and in
tsconfig.jsonadd a path in compilerOptions:ShaMan123 commentedon Nov 24, 2020
Does this happen on Expo?
manuelg04 commentedon Apr 20, 2024
ERROR Invariant Violation: requireNativeComponent: "RNMathView" was not found in the UIManager.
any solutions?