Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Browsing all 16549 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Wrong Geolocation with React Native and iOS simulator

I am working with react-native-maps and using the react-native api for geolocation. When I am using location through the api what comes back on the simulator shows me in San Francisco not in Denver, CO...

View Article


Image may be NSFW.
Clik here to view.

React Native: wake a locked phone and play a sound

I am building a running app that shows a timer. When the timer reaches 0 seconds a sound is played. I use React Native Sound for playback. I use an interval on componentDidMount for counting the...

View Article


Is it possible to keep the socket.io open even when the app is closed

I am learning the ways to build a Chat app for iOS and Android using React Native and Socket.io. At the point, the socket is always connected to the server when the app is on foreground. The problem...

View Article

Notification not receiving in iOS for react native project

I have a react native project. I am able to receive the FCM token successfully but when trying to send a notification, the app doesn't receive the notification. The steps I followed are as...

View Article

Is their an equivalent of react natives "Hot Reloading" for native iOS...

I'm wondering if there is a way to see UI changes in an iOS application without having to restart the device or simulator. I know in react native since they use Javascript you're able to make a change...

View Article


React-Native-iap getProducts() returns empty array

Version of react-native-iap3.3.7Version of react-native0.60.4Platforms you faced the error (IOS or Android or both?)only on iosExpected behaviorgetProducts returns array of productsActual...

View Article

react native app works on debug mode, but not works release mode on ios

I Have an app on react native. Debug mode works on ios. But Release mode not works. I tried change the optimization level but not helped. The problem that I don't see any error. Just not working some...

View Article

Programmatically Restart a React Native App

Is it possible to programmatically restart a React Native app without writing any native code? For instance, I know from the answer to this question that I can restart an Android app with:Intent i =...

View Article


Image may be NSFW.
Clik here to view.

CDN: trunk URL couldn't be downloaded in certain React Native project when...

I have this react native project that im working with multiple computers, in my MacBook everything works fine, when I run "pod install" after running "npm install" the pods project is created...

View Article


Getting "undefined is not an object" trying to pass navigator prop to...

My React Native app structure is as follows: a Drawer navigator, which contains a BottomTabNavigator, which itself contains 3 tabs (each of them Stack navigators). My issue comes when trying to pass...

View Article

How to pass data between react native screens?

Hey I am new to react native. So basically I have a stack navigator with two screen option: Screen 1 (Default) and Screen2. I already set up a button so that when pressed it will take me to Screen 2....

View Article

I don't get the result of my promice despite using await

My function looks like this:async function getPlaceForecast(lat, long) {//var response;var day5forecast = 'http://api.openweathermap.org/data/2.5/forecast?lat='+ lat +'&lon='+ long +'&appid='+...

View Article

I don't get the result of my promise despite using await

My function looks like this:async function getPlaceForecast(lat, long) {//var response;var day5forecast = 'http://api.openweathermap.org/data/2.5/forecast?lat='+ lat +'&lon='+ long +'&appid='+...

View Article


Image may be NSFW.
Clik here to view.

How to preview files inside an app component using react-native

I'm trying to preview files inside my component. Currently I'm using react-native-file-viewer, which can't open the files inside the component and takes up the whole screen. Is there any way to achieve...

View Article

Command PhaseScriptExecution failed with a nonzero exit code RealmJS

I am trying to run the application within react-native using realmjs but I am facing this error, I am searching this from the last 2 days but no luck please help.Using Node.js...

View Article


Warning: ToastAndroid is not supported on this platform. error with react native

I am getting this error on react native IOS, - node_modules/expo/build/logs/LogSerialization.js:166:14 in _captureConsoleStackTrace- node_modules/expo/build/logs/LogSerialization.js:41:24 in...

View Article

React native - build application

I downloaded the react app via npx react-native init AwesomeProject. The application ran for the first time. After stopping through the terminal, the build application pauses and thus see the screen is...

View Article


Get current controller in react native iOS?

I am using the iOS native framework in the react native app. I want to pass the UIViewController in the SDK parameter when clicking the Button that was created in the JS.func load() { //**navigate to...

View Article

No known class method for selector 'labelColor' -...

I am using react-native-image-crop-picker library within react-native applicationVersion detailsreact-native version: 59.10 react-native-image-crop-picker: 0.25.3 xcode: 10.1While execution of code I...

View Article

Styling 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 Article
Browsing all 16549 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>