Refresh contentComponent in react-navigation
I am using React-Navigation where I am using functionality of custom drawer by using contentComponent of React-Navigation.const DrawerNavigation = DrawerNavigator({ DrawerStack: { screen: DrawerStack }...
View ArticleHow to Refresh Native Deeplink Application When In Foreground?
I have a problem when I use deep linking android on react native. And when the application is in a foreground state when the application is triggered from deep-linking the application does not refresh...
View ArticlePassing URI prefix to createSwitchNavigator function for Deep Linking with...
I have a fairly straight forward set up with react-navigation that utilizes a switch navigator which accepts a param signedIn to set the initial route which looks like this:const uriPrefix =...
View Articlehow can we handle assets for multiple environment?
Ok so I am going to use react-native-config to make my app having multiple environments. But the project requirements are such as we should be able to export different apps from same codebase for...
View ArticleReact Native: How to fix TypeError: null is not an object (evaluating...
I entered the following commands in the powershell in the folder containing my alarm app:npm install react-native-track-player react-native link react-native-track-player react-native link seemed to...
View ArticleBuild react native app to apk file after making new changes?
I build a react native app with this documentation , its working fine then , But when i am implementing new changes to apk , its not installing properly on my android Mobile device and gives error on...
View Articlereact-native assembleRelease can't generate app-release.apk
android/app/build.gradleapply plugin: "com.android.application" import com.android.build.OutputFile import groovy.json.JsonSlurper /** * The react.gradle file registers a task for each build variant...
View ArticleDebug application when app installed on real device
Yet another question but I am unable to find the answer to my issue. The application works perfectly in my emulator but not on my android 9 and android 8 devices. When it starts, it shows the spinner...
View ArticleReact Native Apollo error: "Network error: Network request failed"
On IOS, the application runs correctly. But on Android I get this error. Here's my config in client and server. Please help!Error: Error imageHere's the config on client:import ApolloClient, {...
View ArticleTapped on firebase Notification then not getting the data from Push...
1) When i tap on Push Notification then i can't get the data from Notification. 2) I got the payload data from notification when app will be open, and debugger directly goes in the notification...
View ArticleError in Uploading app bundle on google play store due to react native update
I have made project in react native 0.59.5 and uploaded app bundle on play store successfully. Now I have updated react native to 0.61.5 and tried to upload app bundle on play store and got this error...
View Articlereact-native run-android is unrecognized
I've installed react-native-cli globally: npm install -g react-native-cli Then run: react-native init AwesomeProject cd AwesomeProject I got the following structure: -- AwesomeProject ---- node_modules...
View ArticleReact-Native integration Support for V2 Pro device SunMI
I want to develop app for both iOS and Android Platform via react-native. Is there any available SDK of SUNMI V2 Pro(https://www.sunmi.com/en/V2Pro/) in react-native???Here is the library i got:...
View ArticleReact referral package adding issue(npm i react-native-referrer)
android/../MainApplication.java@Override protected List<ReactPackage> getPackages() { @SuppressWarnings("UnnecessaryLocalVariable") List<ReactPackage> packages = new...
View ArticleReact Native android build failed. SDK location not found
I have error when i start running androidWhat went wrong: A problem occurred evaluating project ':app'. > SDK location not found. Define location with sdk.dir in the local.properties file or with an...
View ArticleReact-native Axios Api get response differs from debugging mode and normal mode
I tried to call a https request get method API using axios method, from server it responded 200 but in server side the API is not hitted. Don't know where the response is coming from, the same api i...
View ArticleReact-Native Webview With audio-player it's possible?
I'm just starting with React-Native. do i need to play a song inside one in a webview and be able to control it when the screen is locked by running stop / play?Does anyone have any ideas / worked on...
View ArticleHiding RefreshControl in Android React Native
I have a requirement where I want to hide the refresh indicator completely of Refresh Control for Android. I already set most of the color properties to transparent by still see gray circular...
View ArticleAndroid BiometricPrompt DeviceCredentialHandler: onCreate: Executor and/or...
It looks like BiometricPrompt 1.0.0 has a bug where it stays in invisible state throwing that exceptionill suggest a workaround in the answerEDIT(thanks to @Isai Damier):Way to reproduce:open the...
View ArticleReact Native - Error while running run-android
I get this error while running react-native run-android on windows:Reason: error in opening zip file Exception in thread "main" java.util.zip.ZipException: error in opening zip file at...
View Article