
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>;
implementation 'com.facebook.fresco:fresco:1.+'
implementation 'com.facebook.fresco:animated-gif:2.6.0'
import {Alert} from 'react-native';
import CyberSiaraCaptcha from "react-native-siarashield";
// Import this file for geting data from that file
import envs from "../Config/envs";
<CyberSiaraCaptcha
PUBLIC_KEY={envs.PUBLIC_KEYS.PUBLIC_KEY}
PRIVATE_KEY={envs.PRIVATE_KEYS.PRIVATE_KEY}
onPress={() => {
// Set the login or authentication logic here
Alert.alert("Successfully", "Login Succesfully.")
}}
/>
<CyberSiaraCaptcha
PUBLIC_KEY={'Your public key'}
PRIVATE_KEY={"Your private key"}
onPress={() => {
// Set the login or authentication logic here
Alert.alert("Successfully", "Login Succesfully.")
}}
/>