Save sensitive data in React Native
I am building a React Native application and I need to save some sensitive data like a token and a refresh token. The obvious solution is to save that information using AsyncStorage. The problem is the...
View ArticleIs it possible to call AppDelegate UIApplication from the xcode notification...
I am working on chat app using react-native in iOS. I want to do badge increment for every notification. When app is inactive, Is it possible to call AppDelegate UIApplication from the notification...
View ArticleHow to change styling of TextInput placeholder in React Native?
Is there a way to set fontStyle: 'italic'only for the placeholder of the TextInput in React Native?looking here at the documentation seems like you can only set a placeholder and placeholderTextColor.
View ArticleHow to create global android device back button handler using React Native?
In my scenario, I am trying to create global class for android back button handler and reuse it in multiple screen class files. How to do it? I tried below code but I dont know how to access common...
View ArticleLoading local image in react native 0.60.3 and Xcode 11
I use react native version 0.60.3. Before one year make an application with local images and it works well. I update Xcode to version 11 and old code and images work well also. I try to add new images...
View ArticleTouchableOpacity not working on expo for react native
Am working on this login page where I had to use TouchableOpacity on a this text "Already have an account? Sign in instead!" to send me to the singin screen and for some reason it didn't work so...
View ArticleHow to move an element to the pressed position in react-native
I want to move and element right to place I click with onPress event.Example if I click on the screen with position x: 200, y: 300, so my element should move there from position x: -100, y: -100, I...
View ArticleHow to check weather UIWebView is used in project or not and to replace it...
While uploading app, I got this from apple,TMS-90809: Deprecated API Usage - Apple will stop accepting submissions of new apps that use UIWebView APIs starting from April 2020. See...
View Articleshell script invocation error command /bin/sh failed with exit code 1 react...
I'm archive react-native ios build using xcode in release mode. While archiving I get this error shell script invocation error command /bin/sh failed with exit code 1. This working fine on archiving in...
View ArticleHow to calculate react-native screen coordinates
I want to move and element right to place I click with onPress event.Example if I click on the screen with position x: 200, y: 300, so my element should move there from position x: -100, y: -100, I...
View ArticleComponentWillReceiveProps calling multiple time using react native
In my scenario, I am trying to change the switch value on real time. Here, whenever the switch index value on/off changing componentWillReceiveProps calling twice at a time. How to solve this issue?My...
View ArticleKeyboard 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 ArticleAndroid : react-naive-maps show only absolute one block area in detail
Android : react-naive-maps show only absolute one block area in detail.Only one rectangular area is shown in detail.I try code.but Does not get betterWhat's wrong with this?When I zoom in on the map, I...
View ArticleFlutter Device Preview equivalent in React Native App?
recently i've found this plugin can preview many device of Android or iOS device in one installed apps,gif of the plugin is at https://github.com/aloisdeniel/flutter_device_previewdoes react native has...
View ArticleIs there a way to navigate to a default screen (Profile) if the path name...
I have tried writing the config object for my react native app according to the react-navigation configuring links docs. I defined a series of path --> route mappings including Chat:'feed' and...
View ArticleUsing Alexa as Text-to-Voice service
I've build a React Native App which connects to different smart devices to control lights.I was wondering if there is way to connect my app with alexa echo and sending texts, which alexa speaks? Or...
View ArticleProblem while posting base64 along with a REST API request - React Native
I would like to post a picture that is encoded in base64 along with a REST APIconst data = { UserId:this.state.user.id, PictureUri:avatar }; const res = await fetch( url, { method: "POST", headers:...
View ArticleAnalysing crash report from Test Flight - React Native App
I've published a React Native App and released it through TestFlight to some internal users of the company.While on debug and testing before the release we've never had reported crashes, some users...
View ArticleGoNative.io Camera iOS
I generated an app via GoNative. I use her and I use the camera.So, on Android, I just modify the AndroidManifest and add the permission.On iOS, I try to modify the info.plist, but the camera still not...
View ArticleReact native calculate network usage (Android & iOS)
I am currently developing a react native app integrating it with IPFS technology, I have an requirement to calculate network usage in my app, that is how much data is used while sending and receiving...
View Article