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

How can I regenerate ios folder in React Native project?

So a while ago I deleted the /ios directory in my react native app (let's call it X). I've been developing and testing using the android emulator but now I'd like to make sure it works on ios with...

View Article


Image may be NSFW.
Clik here to view.

Invariant violation and other errors in React Native projects

I'm trying to run React Native projects in the iOS and Android simulators from VS Code. I keep getting the error message in the attached screenshot. I've tried reinstalling and updating dependancies...

View Article


Is there a way to send local images to a component function?

I would like to send a series of local image files to a component so that they could be rendered.I haven't found any way to do it where images were from local storage. I've only seen it where the...

View Article

Enable landscape mode for iPad/tablet using react-native

I am working on a requirement where the mobile device would support only portrait mode while the tablet/iPad supports both portrait and landscape mode, I am not sure how to achieve the requirement...

View Article

React-Native: Error: Failed to install CocoaPods dependencies for iOS...

While executing npx react-native init MyProject I ran into the following error:✖ Installing CocoaPods dependencies (this may take a few minutes)error Error: Failed to install CocoaPods dependencies for...

View Article


Problem displaying and adding values in Async Storage, general LifeCycle...

I have a Flat List which renders items, each item has x amount of calories and On Press I want to add that to my calorie counter, however through Async Storage it works well until I go back to my home...

View Article

Keyboard changes all components placement in react native

I created an AuthForm component that I use for a sign up and sign in screen after styling the screen I noticed every time I click on the keyboard to type some input everything changes its original...

View Article

Image may be NSFW.
Clik here to view.

React-native upgrade associated type errors

I upgraded react-native"react": "16.9.0","react-native": "0.61.4",to"react": "16.11.0","react-native": "0.62.2",I did ala everything react native upgrade helper...

View Article


Using NSURLProtocol with ReactNative

We have a WebView application were we are using NSURLProtocol to intercept all javascript calls in native. Now we are planning to use ReactNative but when we try the same it is giving below error:No...

View Article


Webp on React-Native

React-Native documentation mentions that webp is not supported on Android, but says nothing about IOS. Out of the box it does not seem to work, but after installing this plugin...

View Article

'expo' is not recognized as an internal or external command

After running npm install -g expo-cli and successfully installing the packages globally, expo is still not recognized as an internal or external command. Does anyone know how I might get around this...

View Article

Get value from Picker onValueChange in react-native

I am developing an app using react native.Already I have implemented a list of user data. One example of data is this.UID234 {"name":"Chris","age":31,"traits":{"eyes":"blue","shoe_size":10}}Here's my...

View Article

How do I call a component in another file? React Native

I am new to React Native and I am confused about how to call a specific component function ('runDemo' in SQLData.js) in another file in order to get the data that I will then push into another...

View Article


Image may be NSFW.
Clik here to view.

Unsuccessful debug_token response from Facebook

I am running to this error for a couple of days while I am trying to find some solution for itI am applying a Facebook authentication to my Expo app . Android everything is working as expected while is...

View Article

How to import a Pod module into a different Pod module for React Native?

I am trying to import a swift Pod (A) into an objective-C Pod (B) to use with a React Native project.In B's podspec, I added the dependency for A.In the React Native Project's Podfile, I added both A...

View Article


Error trying to install react native, not building correctly when running pod...

I am trying to learn react native, and I'm running into an issue when trying to to install dependencies. I have installed CocoaPods and followed all steps via the documentation. I am unsure why I am...

View Article

iOS app closes/crashing after splash screen only in Debug configuration mode

My app works absolutely perfectly on the simulator and when it is distributed as a Release configuration via my CI - all good. However, if I distributed it in Debug configuration (everything else...

View Article


react native custom sound remote notification(firebase)

I want to use custom sound on remote notification appears.Especially for IOS , in latest firebase library react-native-firebase/messaging(@6.7.1)lease help me regarding this.onNotification action is...

View Article

How to resolve "Animated: `useNativeDriver` is not supported because the...

I am working on expo SDK Version: 36, and on all platforms (ios/android/web)When installing react-navigation for the first time as described in the documentation and running jest --watch while doing...

View Article

Image may be NSFW.
Clik here to view.

Expo Cli - Invariant Violation: requireNativeComponent: "RNCSafeAreaProvider"...

I faced this issue with the expo client. The project is working on both iOS simulator and Android emulator. But the issue arise when I use expo app on the actual device.I ran expo start and it gave me...

View Article
Browsing all 16549 articles
Browse latest View live


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