Questions tagged [create-react-native-app]

194 questions
1
vote
1 answer

Does ant-design-mobile work with create-react-native-app?

I need to add {"plugins": [["import", { "libraryName": "antd-mobile" }]]} to .babelrc from a project generated by create-react-native-app to make ant-design-mobile work in react native. I have started a new project with…
RedGiant
  • 4,444
  • 11
  • 59
  • 146
1
vote
1 answer

React Native & Expo - SVG won't render on iOS device

I have started a project using 'create-react-native-app' and I can't figure out how to render .svg files. I tried all libraries for svg like react-native-svg-uri, react-native-svg-image, msvgc (converting .svg to react components with…
krmzv
  • 387
  • 3
  • 14
1
vote
3 answers

Icon not displaying on screen android using react-native-vector-icons

I am using create-react-native-app. I want to use react-native-vector-icons But its not showing anything on android screen (I am viewing it on expo app) Here is what I did: App.js: const Courses = TabNavigator({ ReactCourses: { screen:…
1
vote
0 answers

Victory native charts not working with create-react-native-app

I'm new to react-native and want to use victory-native in my create-react-native-app. I came across Victory charts after googling for some time, but unfortunately, I'm not able to use it. This is the error screenshot And And this my code: import…
Avijit Dutta
  • 3,651
  • 3
  • 13
  • 16
0
votes
2 answers

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 and this is react native module, I cannot do "npx…
0
votes
0 answers

Add event to calender in React Native/Expo

I wish to build an event-calender with expo which is similar to how sync fusion scheduler for React works. What I know of sync fusion doesn't exist for React Native. Any advice on which library to use and how to go about to make a calender with…
MVB
  • 45
  • 4
0
votes
1 answer

Navigation in my drawer won't work ( ERROR TypeError: Cannot read property 'emit' of undefined, js engine: hermes)

I'm working on navigation drawer that allows me to navigate between pages when clicking on each one. However, whenever I try to click on any of the pages in the drawer, the error, " ERROR TypeError: Cannot read property 'emit' of undefined, js…
0
votes
0 answers

Expo React Native - Failed to load all assets

I am trying to build a React Native app where the code runs on a self hosted external server with apache2. However I am getting the following error inside the Expo app: Uncaught error: java.lang.Exception: Failed to load all assets In the apache2…
0
votes
0 answers

React native BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64

npx react-native run-android info Starting JS server... info Launching emulator... info Successfully launched emulator. info Installing the app... FAILURE: Build failed with an exception. What went wrong: Could not open settings generic class cache…
0
votes
1 answer

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 explain how to use Date() in expo version 48. I am beginner and…
0
votes
0 answers

Not Running React Native in my application

When I run "npx react-native run-android" it shows the follow message: info JS server already running. O sistema n�o pode encontrar o caminho especificado. info Launching emulator... error Failed to launch emulator. Reason: No emulators found as an…
0
votes
0 answers

Axios request giving Undefined promise error after SSL change in React native Android

In my react native everything was working fine but suddenly after SSL change of our website no api call using Axios are giving response and they are start giving no promise resolved undefined error. For IOS it is working fine but for android it…
0
votes
0 answers

I have my app installed in my cell with version 1.0.3 ( Version code 96) In Google Play Store, I can see my app with version 0.0.3,

I have my app installed in my cell with version 1.0.3 ( Version code 96) In Google Play Store, I can see my app with version 0.0.3, It will be showing current version
lachi
  • 1
0
votes
1 answer

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 project. How do I force it to create a blank…
0
votes
0 answers

Getting yellow light color on AR model - react-native-ar-viewer

Getting yellow light color on AR model in React Native AR application, I am using - react-native-ar-viewer The actual color of the model is white but getting a light yellow color model code import {ArViewerView} from…