I'm trying to use the Android profile on a React Native project, but it seems I can't edit the configuration properly. Could you help me out?
There is no option to add as module
Besides that, I am also unsure if I have to take extra steps.
Thank you!
Related
react-native-external-display library not supporting in expo app. facing error null is not an object (evaluating 'RNExternalDisplayEvent.SCREEN_INFO'). I would like to use a expo in the device which has two display screens so I need to display my code based on display screen.
. Please support me with your suggestions If any other library which will support my requirement. Thanks in advance.
I have not found any other library that supports an external display for React Native. Therefore using Expo may not be the best choice.
You could eject expo and then add the react-native-external-display library, which may require you to fix some errors. Alternatively you could start a new project without expo and add the library.
I am building an app using Create-React-Native-App. As such, my testing and development is in Expo. I am looking for a solution to help with i18n, mostly translations and RTL. I found that ex-react-native-i18n works great, until I try ejecting to create the App, because it needs expo. (Which I don't need or want in the production App)
with react-native-i18n I get this error:
react-native-i18n module is not correctly linked
I tried react-native link and yarn link without success. The ReadMe page for react-native-i18n has extensive instructions for manual linking, but only for AFTER ejecting.
What am I missing here?
Is there a better solution that I'm missing?
Thanks.
I don't think it will be possible to get that module working before ejecting.
Have you tried this library?
https://github.com/xcarpentier/ex-react-native-i18n
Mark
I have an existing React-native project which I'm trying to move to expo
I have followed the steps described here to do this. I have complete all the steps in the article, yet when I start the project I run into the following error.
From my research what I understood is that, a libReactNativeLocalization.a file is missing from somewhere.
Here is the library I'm using for localization.
What am I doing wrong?
With Expo, you can't react-native-link custom native modules. You write just JavaScript (unless you eject, in which case you're in a roughly similar situation before you tried to convert to Expo).
The way you can do localization with Expo is to use these functions:
https://docs.expo.io/versions/v17.0.0/sdk/util.html#expoutilgetcurrentlocaleasync
There isn't a way to use the native module you link to without ejecting unfortunately.
Good luck!
I've created a basic react-native project for example test. I want to use realm to store my data. I've installed realm in my project but I can't use realm without any problem.
Please use realm in a basic project of react-native.
Try Following tutorial may help you.
todo-app-with-react-native-realm
Building An Image Browsing App With Realm, Imgur API, and React Native
Tackling React Native Storageā
With the release of React Native 0.29 the details about how to setup the env for Android were removed for all I can tell. Does anyone know why?
It seems like the steps mentioned in there are still necessary, no?
You can select the previous versions and view their docs easily. Just click on the Version Number found beside the React Native header. It'll list all the versions and the link to documents.
Archive lists