Network request failed error in real android device once Register using API
** I am trying to build a registration page in react-native which sends the data to an API. Whenever I try filling the form and sending the request, the emulator works fine but real android device...
View ArticleReact-Native :java.lang.UnsatisfiedLinkError: couldn't find DSO to load:...
I have just updated my project to use react-native version 0.60.2 . But when I am trying to run an application on Android device it gets crashed after launch screen. I got the following error logs :...
View ArticleProcess 'command 'node'' finished with non-zero exit value 1 linux whien...
Process 'command 'node'' finished with non-zero exit value 1 In Android Studio 3.4 using Ubuntu 16.04 when i generating Signed APK this error is coming . But when i am generating debug apk it is ok. I...
View Article"Error using newLatLngBounds(LatLngBounds, int): Map size can't be zero...."...
I get an error: "Error using newLatLngBounds(LatLngBounds, int): Map size can't be zero. Most likely layout has not yet occured for the map view. Either wait until layout has occurred or use...
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 ArticleGetting library "libjsc.so" not found after upgrading React Native to 0.60-RC2
I have updated React Native to 0.60-RC2, migrated to AndroidX using the Android Studio refractor and used the jetifier mentioned here:...
View ArticleAccessing Nearby State ; React Native
If I were to havefunction a(){ ... } export default class App extends React.Component{ constructor(props){ this.state={ var b: "value" } } } Would there be a way to directly access the state within App...
View ArticleFirebase cloud mesaging - vibration and led notification lights not working...
I have been using firebase cloud messaging to send push notifications on my android app. Below is the object I am using: android: { priority: 'HIGH', notification: { sound: 'default',...
View ArticleUnable to integrate java code to my react native project - error:...
I am trying to bridge java code with my react native project.My flow is this - when the user clicks on my pay button in react native, it routes to a page (which is a payment gateway) written in java...
View Articlecreate the project after getting an error while run already created project
create the project after getting an error while run already created project
View ArticleSocket on React-Native
i'm looking for a code which works on React Native to use Sockets. I found this page https://www.npmjs.com/package/react-native-sockets where is explained all steps to follow. I need to make a client,...
View ArticleHow can I integrate an existing Android app into React Native?
so my problem is that on my side I have an Android App that consists of two services and a React Native App on the other side. So my question is how can I glue them together. I've seen the...
View ArticleIntegrate Native android sdk into React-Native app
I have some native android sdk code and willing to integrate sdk into react-native app.I am looking wrapper of android sdk for react-native.
View ArticleAllow creating windows in lock task mode
I'm using lock-task mode in my react native app which has "device owner".Activity mActivity = reactContext.getCurrentActivity(); if (mActivity != null) { DevicePolicyManager myDevicePolicyManager =...
View ArticleWhat is "native" and what is not in a React Native project?
I'm still very confused on how React Native works. Maybe because I don't have a decent background on Mobile Development (I have tried native Android once or twice though).If I'm not wrong, hybrid...
View ArticleHow to get accessToken of React Native GoogleSignIn?
I am not able to get accessToken, i need it in my backend api.When i try this, googleLogin = () => { GoogleSignin.signIn() .then((data) => { console.log("TEST "+JSON.stringify(data)); var...
View ArticleHow to clear react-native cache?
In react-native development, there are multiple caches used when the app is built:React-native packager cacheEmulator cacheJava side cache (.gradle) folder (only in android)npm cache (if relevant?)Am I...
View ArticleAndroid: React-native-share returning "error: failure from system" when...
I am working on a React Native app that takes pictures with the camera, stores the images, and then allows the user to save the image to their photo library, or share those images through SMS, email,...
View ArticleReact Native build fails on release/staging
I am trying to prepare a staging release build/ release build but in both cases by my build fails. It gives me a huge list of errors. I have modified my build.gradle to add a staging environment. I am...
View ArticlePreventing hardware back button android for React Native
I want to prevent the user from going back to the previous screen. So I added code, but this does not work. Are there any solutions for this? The alert pop up is seen but "return false" does not...
View Article