React native app crashes on launch Android 12 1

React native app crashes on launch Android 12

React native app crashes on launch Android 12 To solve this error you need to add the below configuration:- Add below code in Android/App/build.gradle implementation “androidx.work:work-runtime-ktx:2.7.0” react native app crashes on launch android 12,App crashes randomly – only Android12,Android 12 crash: After adding notifee to react native project,React native app crashing on android 12+ on […]

No valid aps environment entitlement string found for application on app store scaled 1

No valid aps-environment entitlement string found for application on app store

No valid aps-environment entitlement string found for application on app store To solve this error you need to add the push notification capability using Xcode like the below screenshot:- No valid aps-environment entitlement string found for application on app store, How to fix no valid aps-environment entitlement string found, no valid aps-environment entitlement string found […]

how to fetch data from async storage react native

how to fetch data from async storage react native

Please check the below code of snippet to fetch data from async storage. how to fetch data from async storage react native var userInfo = await AsyncStorage. getItem(‘userinfo’); var parseUserInfo = JSON. parse(user); //See output console.log(parseUserInfo); how to fetch data from async storage react native,get value from asyncstorage react native,async storage api,getitem asyncstorage react native,asyncstorage […]

how to hide scroll indicator in react native

how to hide scroll indicator in react native

how to hide scroll indicator in react native. Please check below code of snippet AAPT: error: failed to read PNG signature: file does not start with PNG signature how to hide scroll indicator in react native,react native scrollview hide scrollbar,react native hide scrollbar,how to hide scrollview indicator in react native,react native hide on scroll,hide scrollbar […]

how to make custom drop down react native

how to make custom drop down react native

how to make custom drop down react native Please check the below code snippet example to create a custom drop-down.:- import React, { Component } from “react”; import { Picker, View, Text, StyleSheet } from “react-native”; class DeliveryScreen extends Component { constructor(props) { super(props); this.state = { setAddressId: ”, list:[ {item: “Toronto”}, {item: “Newyork”}, {item: […]

how to add select option in react native

how to add select option in react native

how to add select option in react native Example:-1 npm install @react-native-picker/picker –save Then import {Picker} from ‘@react-native-picker/picker’; this.storeFirstpoint(itemValue)} > { this.state.data.map((item, startpoint) => { return( ) })} If you have the native base then import Picker from the native base. You don’t need to install the picker package. how to add select option in […]

react native push notification ios token showing unregistered

react native push notification ios token showing unregistered

react native push notification ios token showing unregistered There are maybe two scenarios with your code development and production. If you are trying to send push notifications in development do the below code changes:- // Set Sandbox to true when creating a token if(Platform.OS == ‘ios’) { fetch(‘https://iid.googleapis.com/iid/v1:batchImport’,{ method: ‘POST’, headers: { “content-type”: “application/json”, “authorization”: […]

rn push notification No task registered for key ReactNativeFirebaseMessagingHeadlessTask

rn push notification No task registered for key ReactNativeFirebaseMessagingHeadlessTask

rn push notification No task registered for key ReactNativeFirebaseMessagingHeadlessTask add below to mainactivity.java file inside the App/src/main/AndroidManifest.xml file rn push notification No task registered for key ReactNativeFirebaseMessagingHeadlessTask, no task registered for key reactnativefirebasemessagingheadlesstask,react native 0.62 no task registered for key react native firebase messaging headlesstask,firebase messaging no task registered for key reactnativefirebasemessagingheadlesstask,react nativeno task registered […]

Tried to register two views with the same name RNCAndroidDialogPicker

Tried to register two views with the same name RNCAndroidDialogPicker

Tried to register two views with the same name RNCAndroidDialogPicker In my case the problem was being caused by react-native-picker and NativeBase both using different versions of the same react-native picker package. You have included the package “import {Picker} from ‘@react-native-picker/picker’;” and react-native-picker-select was using the same repository “react-native-picker/picker”. I resolved this issue by removing […]

Scroll to Top