Comments (7)
Hi @Dzheky , I have face the problem today & solve this but the build was mine. It can help you but I am not sure. If "react-native-device-info" is installed in your packages please uninstall this & remove the added portion as mentioned in the link "MainActivity.java & AndroidManifest.xml". Please go through the link - https://github.com/rebeccahughes/react-native-device-info. You will get the idea. And one very important thing is that- if "import com.learnium.RNDeviceInfo.RNDeviceInfo;" & "new RNDeviceInfo()" is added multiple times it can create this problem.
from react-native-device-info.
@krishbhattacharyya thank you, I removed packages, and removed everything that react-native-device-info has added to the project including MainActivity.java and AdnroidManifest.xml entries. After all of this build is working, but when I install it again if shows me the same error. So seems like I am not able to use it.
from react-native-device-info.
Can you share the screen shot of the simulator & the npm error? Then I can try to help you or may be other person can help you.
from react-native-device-info.
I get this if I dont do react-native link react-native-device-info
And this if I do react-native link react-native-device-info
, so the build faild, so there is nothing to show here really.
from react-native-device-info.
You have told me that you have uninstalled the "react-native-device-info" but you have import this in your package. So please remove this from package may be this will run. One thing but you are going to remove the device info which is major part of your app.
Please have a look in this is already a open bug-
#52 (comment)
from react-native-device-info.
Like I said if I completely remove 'react-native-device-info' my application works, but obviously I cannot use 'react-native-device-info' then because I removed it.
from react-native-device-info.
Then you should close this issue. This is temporary solution to remove the device info. Developers are working on device info.
#52 (comment) So as per my knowledge this is a known issue. Thanks.
from react-native-device-info.
Related Issues (20)
- Could not find Fiber with id "473" HOT 1
- Constant manifest is deprecated HOT 1
- Docs are not correct regaring getUniqueId HOT 2
- Android app crashing on start-up due to NullPointerException at com.android.installreferrer.api.onServiceConnected HOT 6
- [Feature] Request device date and time automatically is enabled or disabled (solved -> use react-native-localize) HOT 2
- Problem with submitting application to Google Play because of the usage of getLine1Number inside the library HOT 4
- Unable to get mobile number using getPhoneNumber() method for specific network providers HOT 1
- v10.13.0 import of `UIUserInterfaceIdiomVision` breaks Expo builds HOT 10
- Error starting expo HOT 1
- PRIVACY MANIFEST FILE FOR IOS HOT 21
- RNDeviceInfo is null on Android and react-native HOT 8
- getUniqueId() on Android returns null occasionnaly on same device HOT 1
- RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED - Android SDK 34+ HOT 2
- Need to have googlePlayServicesVersion = "21.0.1" HOT 5
- Could not get unknown property 'com' for extension 'android' of type com.android.build.gradle.LibraryExtension. HOT 1
- Get information about auto time and auto timezone HOT 1
- Components that depend on useIsHeadphonesConnected on Android don't re-render when bluethooth headphones are connected/disconnected. HOT 4
- DeviceInfo.isHeadphonesConnected() doesn't detect all ways headphones can be connected on iOS HOT 1
- NativeModule 中的 onCatalystInstanceDestroy() 已过时, 且标记为待删除 HOT 1
- Invariant Violation: `new NativeEventEmitter()` requires a non-null argument., js engine: hermes HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-device-info.