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 ArticleReact 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 ArticleLibrary 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 ArticleWhat 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 ArticleHow 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 ArticleLinker 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 ArticleBuilding 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 ArticleReactNative 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 ArticleReact 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 ArticleReact-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 ArticleReact 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 ArticleRun 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 ArticleReact 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 ArticleHow 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 ArticleReact 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 ArticleHow 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 ArticleReact-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 ArticleHow 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 ArticleFonts 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 ArticleHow 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