Image compression in react-native
I am trying to compress image with mozjpeg, when i implemented it in node.js according to the docs it worked fine.const input = fs.readFileSync("in.ppm"); const out = mozjpeg.encode(input, { quality:...
View ArticleIs there a way to change the Android status bar color with React Native?
I just got started with React Native for Android, and I'm trying to figure out if there's a way to change the status bar color for Android...Like this?
View ArticleRN renders smooth images into image with "step effects"
When this fragment of code used in render method:<Image source={require('../../../../../assets/bg-copy.png')}/> RN 0.60.4 renders it with "step effects", but the original image very smooth!RN...
View ArticleExpo app steals my standalone-app notifications
I have an android standalone app I built using Expo. I followed this tutorial for implementing push notifications https://docs.expo.io/versions/latest/guides/push-notifications/and I also followed this...
View ArticleRNCamera - onFaceDetectionError not working in both Android and iOS
I am not able to find not detecting the face scenario using RNCamera. dependencies: "react-native": "0.61.5", "react-native-camera":...
View ArticleReact Native Android Debug Keystore
Question about generating API Keys for Android in React Native.I'm referencing...
View ArticlecompileSdkVersion is not specified error in React Native Android
I get the build error when I try to build an Android app in my React Native project.When I run react-native run-android, it says:> Configure project :react-native-os WARNING: Configuration 'compile'...
View ArticleIgnore Certificate Error in Mobile First (React Native) (Android)
I'm currently working with React Native that needs to integrate Mobile First. I try to ping the server but it throws this error. "java.security.cert.CertPathValidatorException: Trust anchor for...
View ArticleI can't find the sdk manage.bat to run dependences file in Android/SDK
I'm following this tutorial "https://docs.rocketseat.dev/ambiente-react-native/android/windows#chocolatey" , but I'm already regretting it. He asks to install some dependencies that I already found in...
View ArticleCommand: `react-native run-android` hangs at "info Starting JS server..."
picture of hang in terminalJust getting started with react native. I've gone through the instructions @ https://reactnative.dev/docs/getting-started.html and have set up my android emulator, got all...
View Article"Couldn't get GCM token for device" when trying to get the Push Token from my...
I am trying to get the Push Token from my Android device in React Native, but I get this error : Couldn't get GCM token for deviceasync function registerForPushNotificationsAsync() { const { status } =...
View ArticleHow to detect when a user screenshots? (React Native, IOS and Android)
I want to know when a user screenshots while being in the app for analytics. for both Android and IOS.
View Article: React Native Android Emulator not refreshing upon Hot Reloading or Manual...
When ever I hot reload or manual reload my react native code on the android emulator it does nothing i have tried closing and reopening the emulator and even restart my pc and it still does not work
View ArticleonMessage doen't trigger in react native firebase (invertase)
I am trying to use firebase cloud messaging in my react native app. I setup everything as guided in the invertase setup guide. I tried to send message from firebase cloud messaging console but couldn't...
View ArticleReact Native Webview with local HTML (script) file not working on Android
I have a HTML code with script which execute and start verification service. I have implemented with WebView on React Native (expo) and it works perfectly fine on iOS, but not loading on Android device...
View ArticleReact-native Animation.event style property is not supported
I have a problem with Animated.event with interpolate on scroll event. When I use Animated.event with useNativeDriver: trueI receive next error: Style property 'height' is not supported by native...
View ArticleInstall error in android emulator with react native: Could not open settings...
1. Summarize the problemI joined in the middle of developing an application through react native so I tried to compile on Android emulator. When I run $ react-native run-android,the emulator works but...
View ArticleHow do I perform conditional rendering in my FlatList RenderItem component...
I've created a function to get a photo from a server which receives an associated ID number as an input, the function will return response code like 200 if there is a photo associated with the item....
View ArticleReact Native fs RNFS.UploadFiles Failed to connect to localhost/127.0.0.1:7171
Here is the code that I'm using to upload a file from a react-native client to a nodejs server. However, when I call this function to upload the file to the server it throws this error Failed to...
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 Article