Questions tagged [create-react-native-app]

194 questions
0
votes
1 answer

error Unable to resolve module - while generating debug APK

error Unable to resolve module /usr/local/lib/node_modules/react-native/node_modules/metro-config/node_modules/metro-runtime/src/modules/empty-module.js
amboji alur
  • 175
  • 2
  • 7
0
votes
1 answer

Issue for importing "@highcharts/highcharts-react-native" - Module parse failed: Unexpected toke

Module parse failed: Unexpected token (34:16) I face a problem to use highcharts-react-native in react-native. I followed the instructions in https://github.com/highcharts/highcharts-react-native, but I cannot run my react-native-app in browser. My…
0
votes
1 answer

How to import react native component library into react native project?

I need to develop multiple react native projects which share common UI elements. I plan to create a UI component library and use it in all these apps. What would be the best way to import the RN library into my RN project?
0
votes
1 answer

Do I really need to generate key store every time that I want to test my apk file by using outside development environment in react native

I want to test my react native application by installing it on other devices. I already got release apk file from output folder in Android directory. I want to get the recently updated version of my react native application to test outside of my…
0
votes
0 answers

unable to build APK in React Native?

I'm trying to build APK for my app and unable to build the APK file. I followed all the instructions in the Doc here. (https://reactnative.dev/docs/signed-apk-android). My react version:- Errors:-
Sidath
  • 379
  • 1
  • 9
  • 25
0
votes
3 answers

Initialize react-native application with class components

I have just installed create-react-native-app and created one. I can see that app is a function there export default function App() { return ( Open up App.tsx to start working on your app!
Ashot
  • 10,807
  • 14
  • 66
  • 117
0
votes
0 answers

PaypalButton (created by ScriptLoader) Text strings must be rendered within a component

I have followed below npm link instruction but it doesn't working can someone please help me out on this. https://www.npmjs.com/package/react-paypal-express-checkout/v/1.0.5 Getting below error Invariant Violation: Invariant Violation: Text strings…
Qamar
  • 1
  • 2
0
votes
1 answer

How can I create a "react native" library in Windows that is developed locally?

Initially, I want to check it out and develop it using the example project of RNApp before publishing to the NPM a package for the RN library. Well, in order to do this, it is necessary to place in the example test project and inside the metro…
0
votes
1 answer

Passing flags to script in npm command

I am using create-react-app for my building my application and I am using cypress for automation. "scripts": { "build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/", "watch-css": "npm run…
PCK
  • 1,254
  • 6
  • 20
  • 37
0
votes
1 answer

Impossible to use proxy

I'm trying to use proxy with my react-native app (build with CRNA and Expo). So in my package.json file I put : "proxy": "192.168.1.27:8080" and then make simple get request with fetch with the/users` path and react call me network error (he don't…
sayenel
  • 31
  • 4
0
votes
1 answer

How to remove SMS and Call permissions from an Android app built with create-react-native-app?

I have a non-ejected android app created with create-react-native-app. Google is requiring those apps to remove CALL_LOG and SMS permissions on its manifest file, but i can't find that file. How can i set those permissions?
Artur Haddad
  • 1,429
  • 2
  • 16
  • 33
0
votes
1 answer

React Native RedBox error will not be dismissed in IOS simulator

I am using create-reactive-native-app and expo (latest versions). When my app hot-reloads with a syntax error, the iOS simulator will show a RedBox error, which is fine. However, it gets stuck there even if the syntax error is fixed. Reloading via…
0
votes
2 answers

npm start error. New react native app... Unhandled 'error' event

I am having an issue running "npm start" after using create-react-native-app for the first time. I installed create-react-native-app global and ran it. Then I cd into my new app and tried to "npm start". I get the error below. I also added the full…
0
votes
1 answer

Manually setting up React Native libraries in Visual Studio Code

I'm currently writing an Android React Native app on VS Code using create-react-native-app and I'm trying to install some libraries to use, namely react-native-html-to-pdf. In the documentation, after the npm install, it asks me to run a link…
0
votes
1 answer

create-react-native-app not working anymore?

I'm still new to anything to do with expo and create-react-native-app. So here's my question. While learning react-native I've always used create-react-native-app to do so and it works fine, until one day, I did create-react-native-app and it showed…