返回首页
We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [react-native]

React Native lets you build native mobile apps using React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere.

Filter by
Sorted by
Tagged with
1
vote
0answers
6 views

No podspec found for `FBLazyVector` after RN upgrade

I upgraded an RN app to 0.59.1 (it was at 0.57.8) using react-native upgrade, android version is working but for the ios version i'm stuck with pod install which trows this error: [!] No podspec ...
0
votes
0answers
14 views

redux removes newly added state when called until rerender

I am unsure if I am doing something wrong or this is a bug with redux. I will open an issue if people think it is a bug. When I fire my addNotificationID action it adds an id along with info to ...
1
vote
1answer
10 views

INSTALL_FAILED_UPDATE_INCOMPATIBLE - blocked

I'm trying to run the following command to test the release version of my RN app locally: react-native run-android --variant=release Unfortunately, this fails to load the release version of the app ...
0
votes
0answers
16 views

Are there any react native npm packages that use swift instead of objc?

As the title indicates - are there any npm packages that use Swift instead of Objective C? Every package I've found is just .h and .m files.
0
votes
1answer
31 views

Passing the value of state using setParams and getParam to other Component

I use componentWillMount() because I think it's impossible to use static to use setParams with the state and also the GalleryScreen.navigationOptions = navData => {} outside the class of React....
1
vote
1answer
15 views

ReferenceError: Can't find variable: loadMoviesLikedDetails (React Native)

I'm new to React Native and I have this project where I have a ReferenceError error, When I get into a page that display all movies the user liked, I have this : ReferenceError: ReferenceError: Can't ...
1
vote
1answer
18 views

Update data when returning from background mode in react native

Hi I'm using geolocation coordinates in react-native in order to display the users around me. I've implemented a pull-down to refresh that will let me refresh the list of users after I've changed ...
0
votes
1answer
16 views

got error undefined is not in object(Evaluting this.props=props)

import React,{Component} from 'react'; import { SafeAreaView, StyleSheet, ScrollView, View, Text, StatusBar, TouchableOpacity, } from 'react-native'; import { responsieHeight, ...
0
votes
0answers
5 views

React native walkthrough intro slider page

Anyone worked with react-native-intro-app-slider? It has an array of slider page for example: const slides = [ { key: 'somethun', title: 'Title 1', text: 'Description.\nSay something ...
0
votes
0answers
7 views

Test behaviour of children component after treatment of parent component

I've a form component that validate all the input nested on it. I would like to blur my input component to control if the error message is displayed. I'm using enzyme and jest with react-native. ...
0
votes
0answers
29 views

What is the most elegant way to insert a letter into a box from a sequence of letters in React Native?

I'm working on a small app where the user has to guess the image by clicking on parts on image to "reveal" them. The user can choose a letter from a sequence of letters to put into a box. The ...
1
vote
3answers
22 views

React Native Text Input fixed text

I want to add something like a Hint, on the textInput, as in java using android studio, in react native is it possible to do this? I know you have the option to add a Value, defaultValue and the ...
0
votes
0answers
10 views

when i send a prop with a state and set state that it is redirecting to initial route when i click on specific route

When i try to pass props in drawer sidebar and change props state that is redirecting on initial route contentComponent: props =>( <Sidebar changeRoute={this.state.testRoute} ...
0
votes
0answers
18 views

Switch from inputAccessoryView to KeyboardAccessoryView makes button onPress no trigger any event

I have a button within an item in the react-native <KeyboardAccessoryView> component. This snack proves you can have a button within it => http://snack.expo.io/@ardaogulcan/react-native-...
0
votes
0answers
12 views

React native map-view not loading map

I was testing the new changes in my app on my android device and everything was ok, but when I turned on the internet so the google map could load nothing have changed. Is it some problem with my API ...
0
votes
1answer
14 views

React-Native resize emoji and text size in TextInput together

I want to resize text with emoji in TextInput, only text works well but when insert emoji not. const input = useRef(null); // resize Input func const onFontSizeChange = () => { input.current....
0
votes
0answers
8 views

RN - PanResponder Error calling RCTEventEmitter.receiveTouches

Im trying react native pan responder to add a circle to move it around, after I touch it I get the following error: Error calling RCTEventEmitter.receiveTouches [3,\"RCTView\",{\"left\":\"<>\",\"...
0
votes
1answer
12 views

How create mac or windows app with React native

I create app for mobile and tablet. Can i create mac or windows app with the same code. In Xcode we have target device iPhone, iPad and mac. Is it possible to create an application for the same code ...
0
votes
0answers
5 views

Can we load code-push before splash screen dismisses?

Platform: React Native Just curious to know if somehow we can code push before the user navigates to intro page in an app. That is before splash screen fades. Why ? we want to do a/b test on our ...
0
votes
0answers
16 views

Getting Error 405 from Axios response React Native

I'm working on post request with API in my expo app, so when after hitting the API my response is return me error of 405. When I check my API on Postman so the response is returning the expected ...
0
votes
0answers
25 views

Is there any way to make text selectable and add custom actions to context menu?

I have React Native project(with Expo). I'm trying to make my text selectable and add custom actions to context menu. After some googling I found react-native-selectable-text library which throws ...
0
votes
0answers
26 views

How to access the iOS user defaults in React Native?

I'm trying to access my iOS UserDefaults in my React Native app. I tried this with Settings from react-native. I set the user defaults like this (native in Swift) userDefaults?.set("test", forKey: ...
0
votes
0answers
8 views

I can't run react-native app in android emulator Error: spawnSync gradlew.bat UNKNOWN

I'm trying to run React-Native in Android Studio emulator but when i run it this is what it says: error Failed to install the app. Make sure you have the Android development environment set up: ...
0
votes
2answers
10 views

Force soft keyboard to be displayed even when hardware keyboard is present

I'm creating an app using react-native, the soft keyboard gets suppressed when there's a hardware keyboard connected. I need it to be shown. I'm essentially asking the same question as here:Show soft ...
-3
votes
2answers
24 views

Default header vertical height on React Native iOS is too tall, how do I change it?

I included stack navigator in my react native app. The default vertical height of the header seems to include a vertical spacing between the back button and the status bar. How do i remove that ...
-1
votes
0answers
8 views

I have a .aar file, which i imported in android studio and now how to use that .aar file in the React Native

I have a .aar file, which i imported in android studio and now how to use that .aar file in the React Native to call the function . means how can i create a object and call in react native.
0
votes
1answer
10 views

whwn i start run expo i get Error: GetEnv.NoBoolean: ture is not a boolean

$ expo start C:\Users\Amoory\AppData\Roaming\npm\node_modules\expo-cli\node_modules\getenv\lib\getenv.js:66 throw new Error('GetEnv.NoBoolean: ' + value + ' is not a boolean.'); ^ ...
0
votes
0answers
14 views

Axios configuration headers being ignored

I'm using Axios with React Native. To deal with cache I set the headers as follow: await axios({ method: 'get', url: someURL, params: { username: ...
0
votes
0answers
11 views

Invalid Checksum react-native

I am forming react-native app using @philly25/react-native-paytm Checksum generated successfully but I am getting Invalid Checksum error, Here is my response:- {BANKTXNID: "" CURRENCY: "INR" MID: "...
0
votes
2answers
17 views

React Native - Can't clickTouchableOpacity inside ImageBackground

I want create a rotate icon inside a image: <ImageBackground style={stylesNative2.image} source={{ uri }} > <TouchableOpacity onPress={ () => { alert("handler here") }} tyle={styles....
0
votes
0answers
25 views

error: package android.support.annotation does not exist

i am having an issue with the android.support.annotation package.. this is my main build.gradle: // Top-level build file where you can add configuration options common to all sub-projects/modules. ...
0
votes
1answer
9 views

how can i image upload in react native with expo? [on hold]

I don't know how to image upload server with expo. I know server code but don't know react native how to image upload.Please help me . Give me solution.
0
votes
1answer
15 views

React-native Make image pop-up using lightbox

When using react native lightbox, the image pops up in the left side of the screen, but with the same size as defined in the image component. I want the image to pop up in the center of the screen ...
0
votes
2answers
22 views

I want my text to flow to my next line but flex is not letting me do it?

I want my app to add text underneath the goal section but flex is not letting me do that even if I create new components in native P.S Still a beginner import React, { useState } from "react"; import ...
0
votes
1answer
12 views

React Native createSwitchNavigator with not resetting stack after switch the screen

In the documentation is written: "The purpose of SwitchNavigator is to only ever show one screen at a time. By default, it does not handle back actions and it resets routes to their default state when ...
0
votes
0answers
19 views

An alternative to react-native-voice

I need to implement a search by voice and I was thinking to use react-native-voice library, that is in the react-native-community. lib: http://github.com/react-native-community/react-native-voice ...
0
votes
1answer
22 views

react native conditional rendering with section list and flatlist

I have two different components one is CategoryList which is a flatlist and regionlist is a section list. I would like to display the CategoryList first and when item clicked the regionlist will show ...
0
votes
1answer
11 views

How to submit formik from StackNavigator?

I want to have Button which submit Formik Form inside of StackNavigator. Is there any good option to do it without losing performance and have my yup validation working? I managed to to it with ...
-1
votes
0answers
27 views

Filter array values

I have an app that read values from an external device. I need to count the step that an user has done. I should use the x axis of a gyroscopic, also I have noticed that when a step is taken the ...
0
votes
0answers
17 views

React Native DatePicker Specific Hours

Is there a way in React native to choose specific hours in the date picker ? for example here in the DatePickerIOSe, we can choose mode: time. and there are two other Props (maximumDate, minimumDate) ,...
-1
votes
0answers
16 views

Error: Cannot access realm that has been closed?

I used the old version of realm. Today I updated the react-native and realm to the latest version and I get this error? previous version of realm is "realm": "1.13.0", previous version of reactn-...
1
vote
2answers
23 views

access environment variable in React-Native AndroidManifest.xml

I'm new to React Native. The task at hand is to set my Google API key in AndroidManifest.xml without exposing it, when pushed to GitHub. I set up an environment variable called API_KEY, but however I ...
1
vote
1answer
25 views

Error when display a version of react-native

When I check a version of react-native the error outputting like this: react-native -v fs.js:114 throw err; ^ Error: EPERM: operation not permitted, chmod '/usr/local/lib/node_modules/...
-3
votes
0answers
20 views

Unable to start Expo

Unable to start Expo, can anyone please help, I had tried reinstalling Node, Expo. internal/modules/cjs/loader.js:895 throw err; ^ Error: Cannot find module C:\Users\rspc9\AppData\Roaming\...
0
votes
0answers
29 views

Use swiper to render profiles in react-native

Hi I have a Home component where I've got a flatlist showing all the users of my application with some infos like the pseudo, their age etc. When we click on a user, it will go to an another component,...
0
votes
0answers
26 views

Check if Geolocation.watchposition is running or not

Its first time am working with 'react-native-geolocation-service'. watch position with interval 10 seconds is given but its not showing any change. 1.Can we start location service like we do in ...
0
votes
1answer
26 views

Is there a way to record audio and start listening on the click, store on our local machine and convert that from speech to text?

Is there a way to record audio and start listening on the click, stop automatically when the user stops speaking , store that recorded audio in our local machine and convert that speech to text and ...
0
votes
1answer
14 views

Stimulsoft report.js report in react native

I am a beginner in React native. How can i use stimulsoft report.js to work with react native. Here is the sample for normal React Can this use in React Native. Please help <!DOCTYPE html> ...
0
votes
0answers
11 views

Is there any security testing/vulnerability assessment tool for React Native bundle file?

I have a React Native main app that will switch to other Micro app by downloading and loading the bundle file of the Micro app. I googled online about security testing/vulnerability assessment tool ...
1
vote
1answer
17 views

In Ios, download stops on locking of device. Is there any way the download continues in background?

In ios, When we lock the screen the device goes into sleep mode and stops the download process and disrupts it. I used the react-native-keep-awake dependency but locks the screen anyway and is not a ...

返回首页
杏彩计划 杏彩官网 杏彩APP 杏彩走势图 杏彩下载 杏彩官方 杏彩网站 杏彩怎么玩 杏彩官方 杏彩靠谱吗 杏彩代理 杏彩骗局 杏彩投注 杏彩倍率 杏彩开奖 杏彩漏洞