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

How to get current route name in react-navigation?

I want the name of the current route or screen in react-navigation which I want to use inside if condition to make some changes.

View Article


React Native App crashes on Launch Screen on device

I'm starting with React Native, everything works fine in the iOS simulator. I decide to try it on a device.The app launches, I can play with it, I close/reopen it around 4 or 5 times, and then somewhat...

View Article


Library not found for -lyoga

ContextI've update my react-native application, 0.59.10 to 0.60.6.All works fine in the normal scheme, but when I change the scheme to another this error happen:Problem:ld: warning: directory not found...

View Article

What is the difference between accessible, accessibilityLabel and...

What is the difference between accessible, accessibilityLabel and accessibilityHint properties of Text component in react native? React native documentation is not enough to understand. Examples would...

View Article

How to add in app purchase to react native app?

So paid pages in my app, when a user click to open any of these pages i want to run a function to check if the product is purchased and if it's not then buy the product, I have found two packages which...

View Article


Image may be NSFW.
Clik here to view.

Linker command failed with exit code 1 (use -v to see invocation) react native

I am new to react-native and when I try to run my app on an iPhone emulator within xcode I seem to get the following error.I have tried to delete the pod folder and then install pods again but this...

View Article

Building an iOS React Native app with GitHub Actions

It appears that the macOS machine type (runs-on) in GitHub Actions (CI/CD) sets RCT_NO_LAUNCH_PACKAGER=1. I verified that behavior by creating a bare repo with a simple GH workflow for macOS and...

View Article

ReactNative in app purchase in multi device

I am developing an application which allows user can buy a product using In app purchase of Apple/Google.My app has no login function.User can buy product by Apple ID or Google...

View Article


React Native - Overlay in Camera

I'm developing an app in react native and I will take some pictures.I need to have a grid over my camera, and when the user take the picture, my app will save the image and the grid together.Does...

View Article


React-Native ScrollView lost position on setState

I need to change state of a row within ScrollView (the same in ListView) but using setState of component makes scroll reset its position to top.<ScrollView {...this.panResponder.panHandlers}...

View Article

React native expo built app crashes randomly on loading screen

Upon building the app using expo build:ios and expo upload:ios, the deployed app crashes while opened with TestFlight while on the loading screen. The behavior is random, reinstalling it sometimes...

View Article

Run swift code on main thread in react-native

I am trying to make a react-native app cast to chromecast. The chromecast GCKDeviceScanner has to run on the main thread. The react native page says to run on main thread you have to do this:-...

View Article

React Native Modal Not Closing

I'm overlaying the following Modal component in my iOS app while waiting for several async requests to come back. <Modal transparent={true} visible={this.state.visible}><View style={{flex:...

View Article


Image may be NSFW.
Clik here to view.

How to fix ld: library not found for -lBVLinearGradient

I build react native in Xcode and loss some day to fix it.I use tutorial in https://www.npmjs.com/package/react-native-linear-gradient with Manually

View Article

React Native San Francisco Fonts, Medium and Light

I'm trying to use different SF fonts in an app I'm styling. The original design uses a variation of fonts like...SF Compact Display-BlackSF Compact Display-BoldSF Compact Display-HeavySF Compact...

View Article


Image may be NSFW.
Clik here to view.

How can you add floating tooltips in react native?

I am developing an application that takes the user through a short tour prior to going to the main page of the application (after initial sign up). What I would like to do is overlay the app pages...

View Article

React-Native Bundle Error error SHA-1 for file is not computed

I am facing this error while creating bundle of react-native app.I am executing command react-native bundle --dev false --entry-file index.js --bundle-output ios/main.jsbundle --platform ioserror SHA-1...

View Article


How to integrate react-native-firebase v5 and react-native-push-notifications...

So first some context, we are in the process of migrating our firebase installation from react-native-firebase v5 to v6, mostly because the old package is deprecated (including the native SDK) so it...

View Article

Image may be NSFW.
Clik here to view.

Fonts and images cannot be resolved after expo eject

ProblemI just recently ejected from expo in a forked repository, and ran into an issue when trying to build the iOS app, being unable to resolve my existing image and font assets.Stepsnpm installexpo...

View Article

How to disable metro bundler "auto pop-up"

When building react native apps metro bundler automatically pops up on new terminal window (if it is not running already).ProblemWhen configuring CI tool (Jenkins), for beta and release deployments,...

View Article
Browsing all 16549 articles
Browse latest View live


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