create-react-native-app

How can I do Signature Capture in React Native?

♀尐吖头ヾ 提交于 2021-02-07 07:23:40
问题 I'm trying to understand how I can do a signature capture in React Native. My App is created with create-react-native-app and Expo and I'd prefer to not have to eject the app to get this functionality to work. Would it be possible to wrap something like this in a webview? https://github.com/szimek/signature_pad I've also looked at this project, https://github.com/RepairShopr/react-native-signature-capture but it requires me to eject the app and use react-native link . Looking for any advice

differences between create-react-native-app and exp init

ⅰ亾dé卋堺 提交于 2020-06-16 03:04:11
问题 I found that create-react-native-app is based on expo. but when using exp-cli, it is also based on Expo. what are differences between create-react-native-app and exp init ? 回答1: Answer to this question is well documented in expo documentation Expo & "Create React Native App" Create React Native App lets you build a React Native app without any build configuration. This may sound familiar to you because Expo does this as well -- when you create a project with XDE or exp you don't have to deal

React Native Expo StackNavigator overlaps Notification bar

我的梦境 提交于 2019-12-20 18:27:55
问题 I am trying to implement navigation bar for my React Native Expo app. Here is a problem: "dependencies": { "expo": "^18.0.3", "react": "16.0.0-alpha.12", "react-native": "^0.45.1", "react-navigation": "^1.0.0-beta.11" } I don't know where and how I can set up styles for this component to make it not overlap with notifications bar. I tried to set marginTop: StatusBar.currentHeight for my root View but it didn't work. It applied the margin on the View but not on the navigation bar. My App:

React Native: Generate .apk and .ipa using Expo

泪湿孤枕 提交于 2019-12-18 14:14:13
问题 I'm trying to generate a .ipa and a .apk file for my React Native app using Expo & Create React Native App. I successfully built the app and was able to get it to run on both an iOS & an Android device thanks to the docs: https://docs.expo.io/versions/v16.0.0/guides/building-standalone-apps.html When the build is over, my console shows something like Your URL is https://exp.host/@myname/myapp I then open exp.host/@myname/myapp on my device and the app shows up via the Expo client. But at

WebStorm debugging create-react-native-app

人走茶凉 提交于 2019-12-10 18:21:20
问题 What should I set in Run Debug Configuration in WebStorm to debug a app created by create-react-native-app ? I'm at a loss on how to debug since it doesn't use ~/.node_modules/lib/node_modules/react-native-cli but a custom module called react-native-scripts to start the compiling: package.json: "main": "./node_modules/react-native-scripts/build/bin/crna-entry.js", "scripts": { "start": "react-native-scripts start", "eject": "react-native-scripts eject", "android": "react-native-scripts

StatusBar color in React Native

穿精又带淫゛_ 提交于 2019-12-10 14:05:45
问题 How can I change background color of StatusBar component from react-native , without editing Android specific files? Docs says, that I can use backgroundColor property. But it fails. barStyle property, setBarStyle && setBackgroundColor static methods don`t work properly too. Only hidden property works. I`m using create-react-native-app, built with Expo. 回答1: In Expo App, you need to edit app.json in your project root directory like this: { "expo": { "sdkVersion": "16.0.0", "androidStatusBar":

Expo RN: Detach vs Eject

☆樱花仙子☆ 提交于 2019-12-10 13:18:42
问题 I currently have an app built in React Native using Expo (create-react-native-app) that needs some native code. As I understand one has two options for dropping down to pure react native, ejecting and detaching. Seeing that I have already have used a fair amount Expo API's up until this point, I must detach to ExpoKit. Is my understanding correct that if I purely eject (as opposed to detaching to ExpoKit) the current Expo tools I have used wont work? Appreciate any feedback! 回答1: Seems that

Create React Native App. - Plugin/Preset files are not allowed to export objects, only functions

こ雲淡風輕ζ 提交于 2019-12-04 03:13:03
问题 Need some help, I'm getting a weird error out of left field that I have not been able to debug. This project was bundling successfully until yesterday after I setup my react native project on another Mac. I'm wondering if it's from versioning of npm packages I had to reinstall. Any direction would be helpful, it's always the setup that's the hardest because you do it so infrequently... My babelrc file is as follows -- { "presets": ["babel-preset-expo"], "env": { "development": { "plugins": [

Create React Native App. - Plugin/Preset files are not allowed to export objects, only functions

无人久伴 提交于 2019-12-01 17:46:15
Need some help, I'm getting a weird error out of left field that I have not been able to debug. This project was bundling successfully until yesterday after I setup my react native project on another Mac. I'm wondering if it's from versioning of npm packages I had to reinstall. Any direction would be helpful, it's always the setup that's the hardest because you do it so infrequently... My babelrc file is as follows -- { "presets": ["babel-preset-expo"], "env": { "development": { "plugins": ["transform-react-jsx-source"] } } } And my package.json { "name": "hancho_frontend", "version": "0.1.0",

React Native: Generate .apk and .ipa using Expo

我的未来我决定 提交于 2019-11-30 11:17:50
I'm trying to generate a .ipa and a .apk file for my React Native app using Expo & Create React Native App. I successfully built the app and was able to get it to run on both an iOS & an Android device thanks to the docs: https://docs.expo.io/versions/v16.0.0/guides/building-standalone-apps.html When the build is over, my console shows something like Your URL is https://exp.host/@myname/myapp I then open exp.host/@myname/myapp on my device and the app shows up via the Expo client. But at point 4 of the docs, it is said that When it’s done, you’ll see the url of a .apk (Android) or .ipa (iOS)