How to lock Android device after unlocking with setShowWhenLocked(true);
I am creating a video calling app and have the following code which is called when the application receives a push notification - it unlocks the screen and presents an 'incoming call' user...
View ArticleReact Native Development Server Error 500
Hey I'm trying to make my first app in react-native and I am running into an issue after trying to install react-navigation and react-navigation stack.When i try to run react-native start I get this...
View ArticleAndroid Studio using 100% of disk
I have just installed Android Studio to follow a react native project and everytime I try to use the program the disk usage goes to 100%. I've chosen Pixel 2 as the phone and android Q and R as the...
View ArticleReact-Native: How to link package? Android Error
I'm trying to link a package already installed with yarn (react-native-firebase) but when I type the command npx react-native link react-native-firebase I get the error: info Linking...
View ArticleReact Native not able to run genymotion emulator automatically, how to do it?
I have installed genymotion(version 3.0.3).Pixel XL installed.When I run react-native run-android. Build successful, but I have to open it manually from the emulator. It should open automatically as it...
View ArticleUnderstanding deep linking on Android
I built a simple app using Expo, and have installed "stand-alone" builds on iOS and android devices. The app has a custom scheme "myapp://". On iOS, I can open a browser window, type "myapp://" in the...
View Article__d(function(g,r,i,a,m,e,d) Meaning
I opened my react native project index.android.bundle and saw a lot of lines like this__d(function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]),o=r(d[1]),n=r(d[2]),l=r(d[3]),p=r(d[4]) ...same thing when I...
View ArticleCustom font not working in React Native
I want to use a font from google fonts in my app. Here is the font.I have placed the .ttf file in app/fonts. package.json:{ "name": "xxx", "version": "0.0.1", "private": true, "scripts": { "start":...
View ArticleReact Native custom fonts working on IOS but not on Android
I've added the Google Font Fira Sans fonts (Italic, Bold, Regular), following the react-native link procedure.I can see the fonts have been copied to src/main/assets/fonts, likewise in Resources folder...
View ArticleReact Native error: Element type is invalid: expected a string or a...
I am getting this error and I am having a lot of trouble fixing this.What I am trying to do here is have 3 different screens and have a tabbar that navigates to each screen.Here is my index:import...
View ArticleOpen React Native activity from Android existing project
On React-Native activity, I am unable to import setJSMainModuleName("index.android") my piece of code as per below in onCreate() of ReactActivity.protected void onCreate(Bundle savedInstanceState) {...
View ArticleHow to navigate to another page in ignite bowser react native?
I am new to react native / ignite bowser. I am making a react native / ignite bowser project. First there is a welcome screen which appears when the app starts. There is a 'continue' button in the...
View ArticleExpo dev tool: Running Dev app in the background
This my first time developing in Expo, I'm building app that trace the location and send the data to server every 5 sec using node. I'm using TaskManager API from expo I'd follow everything and it...
View ArticleDeeplinking into Android app from website on Expo
I built a simple app using Expo, and have installed "stand-alone" builds on iOS and android devices. The app has a custom scheme "myapp://". On iOS, I can open a browser window, type "myapp://" in the...
View Articleerror: getApplication() has protected access in ReactNativeHost
Everything was working until two days ago I got this error:> Task :app:compileDebugJavaWithJavac FAILED Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0....
View ArticleIntegrate an react native app with the contacts
I'm making an VOIP dialer app, and i'm in need to make he appears on the contact screen, like as follow:How can i make this? with react native, or maybe java.
View ArticleFacebook SDK for React Native on Android isn't installed on the Facebook app
I've installed react-native-fbsdk successfully on my existing react native project and was able to import a login button from facebook and track the automatic events on the Events tracker on the...
View ArticlePhoto upload on React Native Android produce Type Error Network Error
I'm executing a photo upload using the fetch API and I keep receiving Type Error Network Request Error. I receive the same error on the emulator and a device. I'm using react-native-image-crop-picker...
View ArticleHow to navigate to another page in react native ignite bowser?
I am new to react native / ignite bowser. I am making a react native / ignite bowser project. In my app first there is a welcome screen which appears when the app starts. There is a 'continue' button...
View ArticleReact native 0.62.0 - Network request error on Android for file upload
I have upgraded react-native to 0.62 and i got the problem of Network error for Android only, iOS works fine.I use FormData object to populate data formated asconst data = new FormData(); // On Android...
View Article