Component with fewer than 1 type argumanet in class delcaration

/** * Sample React Native App * https://github.com/facebook/react-native * * @format * @flow */ import React, {Component} from 'react'; import {Platform, StyleSheet, Text, View} from 'react-n

View details »

react native expo is there a custom date time picker work on iOS and android

I found a bunch of date time picker project on github, none of the work with expo. Or have to react-link which I can't because I'm in expo 100% js. Could be there a usable project somewhere?

View details »

React-native using same component with it's state on multiple screens

I am having a video player component created using react-native-video. As of now I am diaplaying the video player with same source and current played time on 3 different screens using parent state a

View details »

setting state in React Native doesn't work

I am trying to set the state of my Screen to some values that I need to send to a database afterwards. These values come from a form and are the correct values. Now I have the issue that the setStat

View details »

NativeScript: Why am I getting a 'duplicate resources' error when trying to build/run my project?

I am very new to android development and recently started working on a mobile application. The mobile app that I am working on was created 4 years ago, is in need of updating, and I recently update

View details »

how to change header navigation in the same component?

my navigation initializeRoute screen is main.js main.js have a onAuthStateCHange to detect a changes a current user if current user is loggend main render component "ChatScreen" else main rende

View details »

React Native build failed - “Error: While trying to resolve module `react-native-firebase`”

I am upgrading from RN 0.55.3 to 0.57.0 (manually). After running react-native run-ios or react-native run-android I'm now getting the error: error: bundling failed: Error: While trying to resolve

View details »

Nativescript Oauth with Laravel Passport

Has someone implemented this https://github.com/alexziskind1/nativescript-oauth2/tree/master/demo-vue but with custom auth, to connect with Laravel Passport... I don't know TypeScript to modify thi

View details »

How to save images to SQLite database using React Native and load images from the database

help me!! How to save images to SQLite database using React Native and load images from the database. Thank you everyone

View details »

“undefined is not an object” - error trying to redirect screen from button

Whenever I try to press my button on Initial.js, it gives me the error of "undefined is not an object (evaluating '_this2.props.navigation.navigate'). It was previously working. I already checked m

View details »

cannot get set-cookie header in Nativescript Http

I've tried to get http headers from an HttpInterceptor class. When I tried to log the headers, set-cookie is not present. However, when I tried to curl the url the set-cookie is present. This is my

View details »

redux: How to organized the reducers

How do I organized my reducers if I have multiple similar reducers eg. loading profile, loading headlines.... I may have action name : LOADING_PROFILE, LOADING_PROFILE_SUCCESS and LOADING_PROFILE_

View details »

Nativescript vue dismiss / hide Android keyboard

I'm using the excellent https://github.com/tjvantoll/nativescript-IQKeyboardManager on iOS, which has a 'done' button (effectively a close button). However, for Android softkeyboard there is no such

View details »

i am using 'react-native-table-component' in that o want to delete row option

i am using this library react-native-table-component in this i want to delete row option! ,,, <View> <Table borderStyle={{borderColor: '#C1C0B9'}}> <Row data={this.sta

View details »

react-native-firebase: Show firebase notifications depending on user settings

In our app user receives all kind of notifications. And we also have Notifications permission screen where we can toggle permission for specific notification types "news", "friend request" and so on

View details »

react-native run-android vs npm start

I have a react-native app. When I do react-native run-android it compiles and successfully executes on android simulator. But when I do npm start and load the same app on my real device the app fail

View details »

How to use Animated to stagger each FlatList item?

I render a <FlatList /> with a dummy data, I want to animated flatlist item after item, but I have no idea how to achieve it. render() { const list = [ { ..., id: 0

View details »

react-native Android open link in browser from webview

I'm trying to open a url from a Webview in the default browser. It's working fine on iOS. On android the page I'm trying to open is displayed in a in browser on incognito mode. This happens just wit

View details »

Hide tabs in React Native (createBottomTabNavigator)

I am following the documentation of createBottomTabNavigator in React Native, in order to hide the bottom tabs. I have to add the navigationOptions and pass tabBarVisible: false. Not sure what I am

View details »

AsyncStorage & Drawer render always null

I have a login screen with a button remember me and when I connect, I would like to store this info in asynsctorage like this: if (this.isFormValid()) { AccountService.login(login, passwo

View details »