I'm new new to react-native.I want to use ant.design for my react-native app. The ant docs explain how to use the design with expo. But I don't use expo for my project. Can someone explain how to use it with the react-native CLI?
I tried the ant design with expo but I want to use it with react-native cli but not sure how to do it
Related
I have a react-native app that was created using Reacti-native CLI. Throughout that process, I used android studio to run the app. I want use parts of this app in another app that I created using Expo-cli.
Would it be possible to use run this same app but using expo CLI instead? Or should I just copy the code (that I want to re-use) into my new project?
According to expo doc All apps created with create-react-native-app, are compatible with Expo CLI without changes.
Please follow this guide https://github.com/expo/create-react-native-app/blob/main/CHANGELOG.md#upgrading-from-1140-to-201
I want to use "react-native-health" for the expo and the platform is IOS, and I want to install it on my iPhone is this possible with the expo?
With expo-dev-client you can use react-native-health and continue you to use an expo managed project.
Link: https://docs.expo.dev/development/getting-started/
Once you install react-native-health, you won't be able to use Expo Go anymore since Expo Go will not be able to run react-native-health. In order to test your app you will have to create a custom dev build, as shown in the link above. Once you have done so, you'll be able to easily test and iterate your app just like you would have with Expo Go.
I exported the project from react-native CLI to expo, now there is a package(react-native-image-marker) I used to create watermark on images in the former react-native CLI project but now I need that same functionality using this package (react-native-image-marker) in expo.
I am Using the "Managed workflow" can this native module work in it?
some native modules do work in expo though.
please any help as to how I can go about this? or How to use react-native-image-marker in expo?
There is no similar library. If you want to use the expo, you have to run the expo prebuild.
I was wondering if I can change my workflow from Managed to Bare in React native after I've started my project ?
If so, what are the consequences ?
Assuming that you're using Expo-CLI (and not react-native cli), you can, of course expo eject your project to change from manage workflow, to bare one.
Here is the documentation : https://docs.expo.io/bare/exploring-bare-workflow/
I have used create react native app tool to create initial setup of the my app. With CRNA i used Expokit also. After ejecting CRNA into react-native init setup i couldn't use expo camera features. I'm getting below error while launching app in simulator ("undefined is not an object(evaluating 'ExponentConstants.linkingUri)"). How resolve and use expokit after the eject the application?
Now you can use react-native-unimodules
If you create a React Native project through react-native init or with
another tool like ignite-cli, then you’ll need to add the
react-native-unimodules package to your project and configure it
first: follow the instructions in the README.
See detail at expo blog.
After you eject from create-react-native-app you need to use Git or another version control tool to go back. You can create a new project with create-react-native-app, copy over your JS code, make sure it works, and then eject and this time choose the ExpoKit choice.
It's not possible yet, according with this answer in the Expo Forumn: https://forums.expo.io/t/react-native-init-expo-sdk/1903/2