193 questions
0
votes
1
answer
211
views
React Native 0.78 Build Failure: C++ Build System Error with react-native-svg
I am facing a build issue in React Native version 0.78, specifically with react-native-svg. The build fails with the following error:
C++ build system [build] failed while executing
I installed react-...
1
vote
2
answers
503
views
React Native - Build command to run metro in terminal
I am running a React Native Project and the command I used to run the app is npx react-native run-android. But by using this command, the node.js window open separatly and I want that the metro or ...
0
votes
0
answers
83
views
Error: Cannot find native module 'ExpoSplashScreen in IOS', js engine: hermes
I'm building a React native expo app. I am trying to use expo-splash-screen. On importing expo-splash-screen I'm getting an error stating:
ERROR Error: Cannot find native module 'ExpoSplashScreen', ...
1
vote
2
answers
668
views
Adding custom fonts in create-react-native-library project
I have created a react native library using create-react-native-library command.
According to the requirement, I will have to add some custom fonts to this module.
Since, this is not react native app ...
1
vote
0
answers
2k
views
Not able to setup react native project with rn-cli. Error - 'project_name\node_modules\react-native-gradle-plugin' does not exist
I am trying to setup my first react native project with react native cli, I have used react-native-document but getting below error.
Log -
`info 💡 Tip: Make sure that you have set up your development ...
0
votes
1
answer
387
views
How to use Date() with inputs in Expo Version 48, working in normal JS file but not in project?
I have made project with Expo version 48 and Date() is not working. In the below code "directDate" was working completely fine in Expo version 47 or separate javascript file.
Can anyone ...
4
votes
0
answers
140
views
Why `npx react-native init` command creates typescript project? [duplicate]
Recently react-native's version got updated and when I try to create new project using npx react-native init MyProject command it generates project in TypeScript by default.
How do I create it in ...
0
votes
1
answer
4k
views
React Native Init Command Generating Typescript Project
It feels like a basic question but whenever I am trying to create a react native project using the command provided here It is always creating a typescript project for me instead of blank javascript ...
0
votes
1
answer
175
views
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
0
votes
1
answer
2k
views
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 ...
0
votes
1
answer
1k
views
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 ...
2
votes
2
answers
3k
views
React-Native -Elements Avatar not rendering and showing only gray background even though the image path is correct
I am trying to render the avatar in my listItem in my React_Native Application but the image is not rendering even though my image URI path is correct and it's only giving the gray background.
Here is ...
3
votes
1
answer
4k
views
npx pod-install error. Aborting run and An unexpected error was encountered
When I successfully installed create-react-native-app without getting an error, This warning showed up and when I type that, the terminal gave me an error or warning like that: An unexpected error was ...
2
votes
1
answer
2k
views
Stripe payment with apple pay token using React native
I have installed package react-native-payments in react native project, and i have token from that response, using that token i wants to do payment with stripe, is that any api available? to use apple ...
3
votes
1
answer
605
views
Getting syntax error for create a new project using create-react-native-app
When i am trying to create a new project using create-react-native-app, i am getting a weird syntax error. Any leads would be appreciated. Thank you
**create-react-native-app my-react-app**
/usr/...
0
votes
0
answers
72
views
PaypalButton (created by ScriptLoader) Text strings must be rendered within a <Text> 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
...
0
votes
1
answer
199
views
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 ...
1
vote
0
answers
1k
views
cannot enable experimental syntax 'classProperties' in a hybrid react-native-web project that uses react native elements
I am following this tutorial
My project was initialised using CRWNA
Tutorial author and his git nb I have contacted him...
This is my tutorial repo showing the guilty code…
So, yarn android works ...
1
vote
1
answer
1k
views
Unable to get create-react-native-app working on MacOS, stuck at expo-cli installation
I am trying to get started with React Native development.
I have installed Node, create-react-native-app and git.
When initializing a new React Native project, I use the command sudo create-react-...
1
vote
1
answer
5k
views
React Native bundle in release APK is not working
I'm newbie in RN. I have a problem with building release APK. I'm doing following steps:
rm -rf node_modules & npm install
Generating bundle:
react-native bundle
--platform android --dev false ...
0
votes
1
answer
1k
views
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` ...
1
vote
0
answers
517
views
Expo bug - After a crash, the Android Back Button causes standalone app to be put into the background
We’re running into an issue where after the app “crashes” and reloads (user gets kicked back to the first screen), whenever the user presses the Android Back Button, the app gets put into the ...
0
votes
1
answer
511
views
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 ...
4
votes
1
answer
468
views
`react-native init` vs `create-react-native-app` and then ejecting?
Let me preface this by saying that I am NOT asking about the difference between CRNA and react-native.
I am wondering, that if I use react-native init from the start instead of using create-react-...
0
votes
1
answer
746
views
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, ...