ReactNative : permission always return 'never ask again'
am using following code base to request the permission but it always return 'never ask again' async requestPermission(request){ try{ const response= await...
View Articlereact native metro server
I have an error with React Native apk it works fine in android studio with different emulator versions but when I copy the apk from (android\app\build\outputs\apk\debug) to my real device it doesn't work
View ArticleYour project is in SDK version >= 33.0.0, but the expo package version seems...
I can't start my Expo app. I am getting this error:Your project is in SDK version >= 33.0.0, but the expo package version seems to be older. (0 , _config(...).fileExistsAsync) is not a function It...
View ArticleReact Navigation default background color
I'm using react-navigation and stack-navigator to manage my screens.Platforms I'm using:AndroidReact Native: 0.47.1React Navigation: 1.0.0-beta.11Emulator and DeviceI have a screen, which acts as a...
View Articleuse custom application class in native module android library
I have created an android native module and trying to call some method of this module after bridging with react native module. RN World:NativeModle.ModuleName.someMethod() Android world:@ReactMethod...
View ArticleSetting process.env variable from Android Studio flavors
I want to be able to access a variable in my metro.config.js.On iOS this can be achieved by adding a User Defined variable in the Build Settings tab. This is accessible with process.env.MY_VAR. The...
View ArticleGoogle SignIn SDK is failing by throwing error, A non-recoverable sign in...
I have been trying to integrate Social login in my react native project in which I was able to do facebook login successfully but it is failing to signin to google. react-native-google-signin library...
View Articlereact-native can't generate apk - lib depends on one or more Android...
I'm trying to test this app examploe:So I've followed these steps:git clone https://github.com/furkanom/react-native-obd2 cd react-native-obd2 npm install cd example npm install ./gradlew assembleDebug...
View ArticleBuild using expo and now apk update by themselfe
Hi i build a apk in expo and download in a few cellphones. A week past and i keep programing, eventually i build again to re-install the apk but some phones just has updated by themselves before i...
View ArticleTesting android.emu.release in travis (Detox): -read-only error
I'm trying to set up travis CI for my application with Detox as the test suite. I'm close to achieving the final setup, but I'm currently stuck on the following error which occurs during the final step...
View ArticleHow to add custom action button in React Native(IOS) push notification
Currently, I am using this package: react-native-ios-notification-actionsBut this package is only for IOS. But I need to implement an action button in both android and IOS. So is there any other way in...
View Articlereact-native How to open local file url using Linking?
I'm using the following code to download a file (can be a PDF or a DOC) and then opening it using Linking.const { dirs } = RNFetchBlob.fs; let config = { fileCache : true, appendExt : extension,...
View ArticleUnable to get provider com.RNFetchBlob.Utils.FileProvider:...
I created a new expo project, after directly I ejected it to the expokit. After the ejection ended, I executed expo publish then expo start.Finally I opened the android folder on android studio and I...
View ArticleReact Navigation Error on npm install
I'm trying to create a new react native app with react navigation. I did the following:1.) create-react-native-app myAppName2.) cd myAppName/3.) npm install --save react-navigation4.) Expecting...
View ArticleHow to pass data from background android service to react-native
I am building an react-native app. I have a background android service that receives a push notification. I need to store the notification information(title, description...) on a react-native database...
View ArticleLogcat not showing JS debug messages
I'm currently developing an app using React Native (JavaScript). My client is running logcat through the SDK command like using this command (found on the official wiki):adb logcat *:S ReactNative:V...
View Article/gradlew': No such file or directory in circleci
android: docker: - image: circleci/android:api-28-node8-alpha working_directory: ~/repo/android environment: JAVA_OPTS: -Xmx1536m GRADLE_OPTS: '-Dorg.gradle.daemon=false...
View ArticleLogcat not showing React Native debug messages
I'm currently developing an app using React Native (JavaScript). My client is running logcat through the SDK command like using this command (found on the official wiki):adb logcat *:S ReactNative:V...
View Articlereact-native IllegalStateException: Too many recognizers
I am using the react-native-gesture-handler library and in Crashlythics I am receiving the following crash report only for android:Fatal Exception: java.lang.IllegalStateException: Too many recognizers...
View ArticleHow to capture microphone audio on React Native and stream it to IceCast...
I'm working on a React Native mobile radio application (testing on Android API 28 as target and 26 as check, both emulator and physical device), and the idea is to enable the radio channel host to talk...
View Article