Category "react-native"

Disable Screen Capture/ScreenShot in React Native App

I have came across few solutions specific for ios and Android to prevent screen-capturing and taking screenshots. But how do i disable screen-capturing in react

Save payment for later option, Stripe, React Native, Expo

I'm trying to setup a way to setup a payment for later with a prebuilt Stripe component in a React Native Expo Project. I'm following along with this project: h

react native top tab bar navigator: indicator width to match text

I have three tabs in a top tab bar navigation with different width text. Is it possible to make the indicator width match the text? On a similar note, how can

Execution failed for task ':react-native-camera:compileDebugJavaWithJavac'

I am creating app using React-Native and testing it on Android device. After adding react-native-camera module, the following error occurs: org.gradle.api.task

TypeError: getTodosFromUserDevice is not a function Also TypeError: saveTodoToUserDevice is not a function

I have created a todo list and it works fine, but I need to add async storage to store the todo list when the page refreshes, or closes etc. So, I added async s

Not able to use relative values in React Native Styled Components

From the react native styled-components documentation, I've seen EM values being used in place of the usual px. However, when I try compiling my project which u

How use UseRef to show popover just above the pressed element in React Native?

I am using the Flyerchat library for the chat application. <Popover isVisible={open} onRequestClose={() => setOpen(false)} from={t

React native async storage token goes missing after going back a screen and coming back auth is failing

I am new to react native, bear with me. when i click on categories(A) i navigate to new screen containing different subcategories(B) i am using get token on thi

How use UseRef to show popover just above the pressed element in React Native?

I am using the Flyerchat library for the chat application. <Popover isVisible={open} onRequestClose={() => setOpen(false)} from={t

React Native TypeScript Error: Module '"react-native"' has no exported member 'Appearance'

I've recently implemented dark mode into my app, but having an issue with an error when building the npm package with npm build. The code works, but is there a

firebase package was successfully found. this package itself specifies a `main` module field that could not be resolved. none of these files exist

node_modules\firebase\package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved node_modules

Firebase cloud functions folder not showing

I am using firebase with react native . Trying to write some firebase cloud functions. For that i have used firebase init . On console it gives a success messag

Get Error : Firestore: The caller does not have permission to execute the specified operation. But I have already signed in

I have this problem and try to fix with all solutions I had found,but still not works. My rules in firebase cloud firestore is : service cloud.firestore {

NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable

Can I know the what is this error and a solution for this? This error occurred at react native apps randomly, in both debug mode and APKs. reproducing this erro

IOS App Crashes with EXC_BREAKPOINT (SIGTRAP) After React Native Upgrade

We have an app built with React Native, and recently the version was upgraded to 0.67.2, including some dependencies of the package.json. The problem is that ma

React-native google signin gives Developer Error

I am trying Google login using React-native-google-signin plugin but it gives me a Developer_Error.I have done exctly same as mention in its document.here is my

Firebase - Perform Analytics from database/firestore data

I am using Firebase as my authentication and database platform in my React Native-Expo app. I have not yet decided if I will be using the realtime-database or F

Plz someone tell me how to solve this problem

Task :app:checkDebugAarMetadata FAILED 4 actionable tasks: 2 executed, 2 up-to-date FAILURE: Build failed with an exception. What went wrong: Execution failed

React-native & typescript: <ImageBackground> component, property 'children' does not exist on type 'IntrinsAttributes &...'

I am struggling to understand why typescript giving me this error message when I use <ImageBackground> and <Image> component from 'react-native'. er

Command Failed: gradlew.bat installDebug error whenever installing dependencies like navigation, firebase, icons etc in React-Native

When ever i install any dependency in my react native project and when ever i use link command for e.g react-native link react-native-gesture-handler this cause