Negative marginTop not working as intended on Android, works fine in iOS
Example of iOS and Android simulators.Code:<View style={styles.test}> <Text style={styles.header}>Header Example</Text> <Text>Lorem ipsum dolor sit amet</Text>...
View ArticleToggle bluetooth for ios device in react-native
Is there a way to toggle bluetooth connectivity for ios in react-native? What I want to achieve is- show nearby bluetooth devices in my app, and if bluetooth is switched off, then switch it on and scan...
View ArticleMy app size of React native app is too large after installation
I ve made a react native app. the release apk size is 28. That is ok, but I was shoked whwn saw the storage size 62 mb. I am despareately searching for solution, please help me, I have to pass my work...
View ArticlePassing Data Using React-Native Navigation
Im trying to pass data between screens in my app. Currently I am using"react-native": "0.46.0", "react-navigation": "^1.0.0-beta.11"I have my index.js import React, { Component } from 'react'; import {...
View ArticleAccessing Nearby State ; React Native
If I were to havefunction a(){ ... } export default class App extends React.Component{ constructor(props){ this.state={ var b: "value" } } } Would there be a way to directly access the state within App...
View ArticleStyling React Native Picker
I'm attempting to style the text color of the items in a React Native picker. I've only been working in iOS so far, but if I could find a cross-platform solution that'd be awesome. I've tried the...
View ArticleSocket.IO, React Native and Android 9.0 Pie (API 28): not working
IssueSo I have this issue with Socket.io-client (^2.3.0) running on React Native (0.61.5). I already submitted an issue on GitHub, but I'm hoping someone here can help me out.So first of all: my code...
View ArticleReact-native onPress() event doesn't work in Android
I am experiencing a very weird behaviour in my android emulator when using react-navigation v5 in my react native application, which makes me think is a bug.In every secondary screen (see...
View ArticleScanning ISBN using phone camera
I'm creating an app that is able to scan the ISBN of a book and then populate fields based off of that number. My main issue is I'm struggling to find a good API that does that. I'm using react native...
View ArticleGPS location fluctuating in react native
I am using GPS location in one of my app in react native. I need to track user location at some intervals. but I am getting different latitude and longitude. I have already set it for high accuracy....
View ArticleReact-native-camera shows the message takePicture failed
I'm trying to do a text detector device, and I'm having trouble with react-native-camera. First, I have this error message: Preview is paused - resume it before taking a picture. Then I tryed the...
View ArticleExpo detached android app deep link getting error "This URL doesn't map to...
I have a fully-functional expo project and I recently ejected it. It is using ExpoKit 36.0.0.I'm trying to add deep link to the android app, which I'm using App Links Assistant in the Android Studio to...
View ArticleHow to mark user's current location on map in offline using react-native-maps?
I want to mark the user location using gps and overlay a circle around the dropped pin(i.e the current user location) using react-native-maps. This is working fine in online mode on both android and...
View Articlehow to pass data from java activity to react native
I am unable to pass data from java activity to react native. I am processing a card payment, and when the payment is done, the response is stored in a variable called message. I need to pass this...
View ArticleHow can I move from splash screen to login screen after some seconds in react...
I am a beginner in react native and very confused about navigation between two screens after x second delay.
View ArticleWhy am I getting React Native [TypeError: undefined is not an object...
I'm a little new to react and I cannot figure out why I get the [TypeError: undefined is not an object (evaluating '_this2.setState')] error when calling .then(r => {this.setState({ photos: r.edges...
View ArticleWhich version does React Native support (iOS and Android)?
I can't find this information. Is it true that Android React Native runs on sdkMin18 and therefore makes it supported by most android versions?
View Articlereact-native android: Debug mode is broken
I think my debug mode for android is kinda broken. I cannot open the debug menu, event though I have yellow-orange boxes for warnings on my device (which tells that i'm running the app on debug mode)....
View ArticleReact navigation adding "more" tab with a pop up list and not navigate to tab
I am basically trying to add a "more" button for both iOS and ANDROID, which pops up a list of options to choose from. Something that looks like this (IOS more button) and (ANDROID more button).I am...
View ArticleReact-Native TypeORM: Cyclic dependency "t" Android Release build
I am using TypeORM in a React-Native app in which I need SQLite storage. It works really well, except for a bug that I've been struggling with all week.My scheme contains several objects that are...
View Article