Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all 29728 articles
Browse latest View live

react-native-code-push:compiledebugjavawithjavac failed with react-native 0.66.4

$
0
0

I have created two application, the first one was with react-native 0.65.1 and the second one with react-native 0.66.4

before putting my apps on play store I decide to integrate react-native-code-push . every thing work with the first app react-native 0.65.1 but when I follow the same steps to integrate code-push in the second app react-native 0.66.4 I got this error after running npx react-native run-androidthe error:

> Task :react-native-code-push:compileDebugJavaWithJavac FAILEDDeprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.

I tried to run cd android && ./gradlew clean but it doesn't work.

code-push version in my two projects is: "react-native-code-push": "^7.0.4"


How to build Expo APK local

$
0
0

Is it possible to build the APK of an expo app locally?

The doc says:

If you haven’t used exp before, the first thing you’ll need to do is login with your Expo account using exp login.

I tried exp start, exp build:android but the commands require a login.

I don't want to build the APK using expo server. Is there a way to run this build locally? So no login and push of source code required?

If not, can I view the whole source code of the generated APK?

I am unable to build APK fron react native

$
0
0

I am getting these error while creating apk

:app:bundleReleaseJsAndAssetsFAILED 2.169s
:react-native-gradle-plugin:compileKotlinUP-TO-DATE 0.025s
:app:generateReleaseBuildConfig 0.021s
:react-native-gradle-plugin:jarUP-TO-DATE 0.010s
:react-native-splash-screen:compileReleaseAidlNO-SOURCE 0.010s
:app:javaPreCompileRelease 0.009s
Explore timeline

How to set Refresh Indicator of FlatList in react native?

$
0
0

I'm trying to set the refresh indicator of flat list in react native but don't know how to do it. List View has this prop :

refreshControl={<RefreshControl                        colors={["#9Bd35A", "#689F38"]}                        refreshing={this.props.refreshing}                        onRefresh={this._onRefresh.bind(this)}                    />                }

But Flat List has only these :

refreshing={this.props.loading}onRefresh={this._onRefresh.bind(this)}

when i run npx react-native run-android this error will show > Configure project :react-native-reanimated

$
0
0

Configure project :lottie-react-nativeWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :react-native-reanimated


Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings6 actionable tasks: 6 up-to-date

FAILURE: Build failed with an exception.

  • Where:Build file '/Volumes/Os/FinalDrawer/node_modules/react-native-reanimated/android/build.gradle' line: 152

  • What went wrong:A problem occurred evaluating project ':react-native-reanimated'.

Could not get unknown property 'rnMinorVersion' for project ':react-native-reanimated' of type org.gradle.api.Project.

  • Try:

Run with --stacktrace option to get the stack trace.Run with --info or --debug option to get more log output.Run with --scan to get full insights.

BUILD FAILED in 5s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

  • Where:Build file '/Volumes/Os/FinalDrawer/node_modules/react-native-reanimated/android/build.gradle' line: 152

  • What went wrong:A problem occurred evaluating project ':react-native-reanimated'.

Could not get unknown property 'rnMinorVersion' for project ':react-native-reanimated' of type org.gradle.api.Project.

  • Try:

Run with --stacktrace option to get the stack trace.Run with --info or --debug option to get more log output.Run with --scan to get full insights.

BUILD FAILED in 5s

at makeError (/Volumes/Os/FinalDrawer/node_modules/execa/index.js:174:9)at /Volumes/Os/FinalDrawer/node_modules/execa/index.js:278:16at processTicksAndRejections (node:internal/process/task_queues:96:5)at async runOnAllDevices (/Volumes/Os/FinalDrawer/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:109:5)at async Command.handleAction (/Volumes/Os/FinalDrawer/node_modules/@react-native-community/cli/build/index.js:192:9)

info Run CLI with --verbose flag for more details.

Undefined is not an object (evaluating '_PushTokenManager.default.getDevicePushTokenAsync [REACT NATIVE EXPO]

$
0
0

Can't get the token with the getExpoPushTokenAsync() function on expo-notifications api.The function as follow is just identical to Expo documentation:

import Constants from "expo-constants";import * as Notifications from "expo-notifications";import * as Permissions from "expo-permissions";async function registerForPushNotificationsAsync() {    let token;    if (Constants.isDevice) {    const { status: existingStatus } = await Permissions.getAsync(Permissions.NOTIFICATIONS);    let finalStatus = existingStatus;    if (existingStatus !== 'granted') {        const { status } = await Permissions.askAsync(Permissions.NOTIFICATIONS);        finalStatus = status;    }    if (finalStatus !== 'granted') {        alert('Failed to get push token for push notification!');        return;    }    token = (await Notifications.getExpoPushTokenAsync()).data;    console.log(token);    } else {        alert('Must use physical device for Push Notifications');    }    if (Platform.OS === 'android') {    Notifications.setNotificationChannelAsync('default', {        name: 'default',        importance: Notifications.AndroidImportance.MAX,        vibrationPattern: [0, 250, 250, 250],        lightColor: '#FF231F7C',    });    }    return token;}

Expo: ~37.0.3App.json:

"expo": {"android": {"useNextNotificationsApi": true        }      }

Seems like when calling the function, got the next warning:

[Unhandled promise rejection: TypeError: undefined is not an object (evaluating '_PushTokenManager.default.getDevicePushTokenAsync')]

React Native Android: How/what is is adding the QUERY_ALL_PACKAGES permission to merged_manifests/release/AndroidManifest.xml

$
0
0

I have a React Native Android app that is requesting the QUERY_ALL_PACKAGES inside android/app/build/intermediates/merged_manifests/release/AndroidManifest.xml, as well as several other places like, android/app/build/intermediates/bundle_manifest/release/bundle-manifest/AndroidManifest.xml

This permission is not requested/added to my android/app/src/main/AndroidManifest.xml.I need to find out why this permission is required.

Since it is not present in my android/app/src/main/AndroidManifest.xml, I am assuming that is a permission required by one of the packages installed in my app.

How can I go about finding what package/dependency is requiring this permission?

Any help or guidance would be greatly appreciated.

Could not open URL... No Activity found to handle Intent

$
0
0

I'm trying to apply deep linking in my react native app. I followed the documentation and when trying to do the first test I had some problems, I believe it's because of using stack navigator and drawer menu.

Stack:

const SignedInStack = () => (<Stack.Navigator><Stack.Screen name='Confluence' component={Confluence} /><Stack.Screen name='QRCode' component={Main} /><Stack.Screen name='Notifications' component={Notifications} /></Stack.Navigator>)

DrawerMenu:

const DrawerMenu = () => (<Drawer.Navigator    screenOptions={{ headerShown: false }}    drawerContent={(props) => <CustomDrawerContent {...props} />}><Drawer.Screen      name="SignedInStack"      component={SignedInStack}    /><Drawer.Navigator/>);

App.js:

const App = () => (<NavigationContainer linking={{    prefixes: ['example://'],    config: {      screens: {        Notifications: 'notifications',      },    },  }}><DrawerMenu /></NavigationContainer>);

My first useEffect on initial screen of my stack:

 useEffect(() => {    Linking.openURL('example://app/notifications');  }, []);

Right after trying to redirect to the notifications screen I get the following error message:"Error: Could not open URL 'eurota://app/notifications': No Activity found to handle Intent { act=android.intent.action.VIEW dat=eurota://app/notifications flg=0x10000000 }"


What's the equivalent of ActionSheetIOS in Android?

$
0
0

Does React Native have an equivalent of ActionSheetIOS for Android? Some sort of popup menu of options to choose from?

React-native-webview injectJavaScript doesn't work on Android

$
0
0

Bug description:Hi, everyone! I'm trying to send data from RN to Web, it works fine on iOS, but does nothing for Android. I've spent 16 hours to read everything that is written in issues of official repository and all over the internet and tried every variant, but Android doesn't want to work.

Reciving data from Web works also fine for both iOS and Android, trouble is only with sending to Web from Android. I tried IIFE, strings, JSON.stringify, all kinds of injects, postMessages, everything that I found. I'm done and look forward to your help!)

To Reproduce:

Expected behavior:

Screenshots/Videos:My Web hookimage

My RN code(It's just final variant I've stopped on, i tried many of other ones)image

My WebView Componentimage

Environment:

OS: AndroidOS version: Android 12react-native version: "0.68.2"react-native-webview version: "0.17.7"

React Native ScrollView Touchable Area is Smaller than the scrollview container

$
0
0

My react-native scrollview container is only touchable in about the top 30% of it. Normally in a scroll view you can scroll from anywhere in the entire ScrollView container but mine only recognizes scrolling touches at the top.

I created a scrollview in react-native that renders a list of pressable text containers inside of it.

Why is my touch target area in my scrollview so small?

P.S I have tried most combinations of passing style={{flex: 1}}} down from parents.

Here is the code and styling I am using...

<View style={styles.pickerContainer}><ScrollView style={styles.timeIntervalScrollView}>                    {minuteTimeIntervals.map(timeInterval => {                      return (<Pressable                          onPress={() => handleChange(timeInterval, "minute")}                          style={styles.timeInterval}><Text style={styles.inputText}>{timeInterval}</Text></Pressable>                      );                    })}</ScrollView></View>
const styles = StyleSheet.create({  pickerContainer: {    height: 250 * size,    width: 128 * size,    borderWidth: 1,    borderColor: "#ECE9E9",  },  timeInterval: {marginTop: 24 * size},  inputText: {    textAlign: "center",    ...Fonts.xsmall,    ...Fonts.blackGreen,    borderWidth: 1,  },  timeIntervalScrollView: {    backgroundColor: "white",    borderWidth: 1,    borderColor: "blue",    width: "100%",    height: "100%",  },});

This is what the scrollview component visually looks like...The Red Dashed box represents the only touchable area that lets me scroll

enter image description here

requireNativeComponent: "RNSScreenStackHeaderConfig" was not found in the UIManager when running android app

$
0
0

When running an application on android i get this error. It builds correctly but crashes with exception. I have installed React-native-screens, @React-native/navigation and the dependencies listed on https://reactnavigation.org/docs/getting-started/

com.facebook.react.common.JavascriptException: Invariant Violation: requireNativeComponent: "RNSScreenStackHeaderConfig" was not found in the UIManager.

This error is located at:    in RNSScreenStackHeaderConfig    in Unknown    in RNSScreen    in N    in ForwardRef    in y    in E    in RNSScreenStack    in w    in RNCSafeAreaProvider    in Unknown    in v    in Unknown    in Unknown    in Unknown    in ForwardRef    in Unknown    in ForwardRef    in p    in c    in P    in RCTView    in View    in RCTView    in View    in h, stack:

It builds and runs on iOS fine but when running on android it crashes completely. Is there something I am overlooking here?

This is my Package json.

{"name": "<myprojectname>","version": "0.0.1","private": true,"scripts": {"android": "react-native run-android","ios": "react-native run-ios","start": "react-native start","test": "jest","lint": "eslint .","postinstall": "npx jetify","android:bundle:debug": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/"  },"dependencies": {"@react-native-community/async-storage": "^1.8.1","@react-native-community/masked-view": "^0.1.11","@react-navigation/native": "^6.0.2","@react-navigation/native-stack": "^6.1.0","@react-navigation/stack": "^6.0.7","adbkit": "^2.11.1","moment": "^2.24.0","react": "16.9.0","react-native": "0.63.0","react-native-calendar-strip": "^1.4.1","react-native-calendars": "^1.264.0","react-native-firebase": "^5.6.0","react-native-gesture-handler": "^1.10.3","react-native-reanimated": "^2.2.0","react-native-safe-area-context": "^3.3.1","react-native-screens": "3.1.1","react-native-snap-carousel": "^3.8.4","react-native-vector-icons": "^6.6.0","react-navigation": "^4.4.4","react-navigation-stack": "^2.10.4","react-redux": "^7.2.0","redux": "^4.0.5"  },"devDependencies": {"@babel/core": "^7.15.0","babel-jest": "24.9.0","eslint": "^6.5.1","jest": "24.9.0","jetifier": "^1.6.5","metro-react-native-babel-preset": "^0.66.2","react-test-renderer": "16.9.0"  },"jest": {"preset": "react-native"  }}

I dont really know how to solve this, have tried removing caches, restarting metro, deleting node modules and all "related" errors. This error even happens when I create a fresh project and try installing and using the navigation library.

This is my entrypoint, example copied from React-navigation snack.

import * as React from 'react';import { View, Text } from 'react-native';import { NavigationContainer } from '@react-navigation/native';import { createNativeStackNavigator } from '@react-navigation/native-stack';import { enableScreens } from 'react-native-screens';enableScreens(true);function HomeScreen() {  return (<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}><Text>Home Screen</Text></View>  );}function DetailsScreen() {  return (<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}><Text>Details Screen</Text></View>  );}const Stack = createNativeStackNavigator();function AppTest() {  return (<NavigationContainer><Stack.Navigator       screenOptions={{        headerStyle: {          backgroundColor: '#f4511e',        },        headerTintColor: '#fff',        headerTitleStyle: {          fontWeight: 'bold',        },      }}      initialRouteName="Home"><Stack.Screen  options={{ title: 'My home' }} name="Home" component={HomeScreen} /><Stack.Screen  options={{ title: 'My home' }} name="Details" component={DetailsScreen} /></Stack.Navigator></NavigationContainer>  );}export default AppTest;

Any suggestions?

React Native App login with office 365 using react-native-app-auth npm package

$
0
0

I am trying to authenticate my ios and android app with microsoft office 365 using react-native-app-auth package and not sure why it is not returning the token.

Here is the config that I am using:

const config = {   issuer:'https://login.microsoftonline.com/{tenant-id}/v2.0',      clientId: '{client-id}',      redirectUrl: 'msauth.org.xxx.xxx://auth',              // I got this from Azure      scopes: ['openid', 'profile', 'email', 'offline_access'],    };

I have also tried with the below config

 const config = {      clientId: AuthConfig.appId,      warmAndPrefetchChrome: true,      redirectUrl: 'msauth.org.xxx.xxx://auth',      scopes: AuthConfig.appScopes,      additionalParameters: {prompt: 'select_account'},      serviceConfiguration: {        authorizationEndpoint:'https://login.microsoftonline.com/'+          AuthConfig.tenantId +'/oauth2/v2.0/authorize',        tokenEndpoint:'https://login.microsoftonline.com/'+          AuthConfig.tenantId +'/oauth2/v2.0/token',      },    };

Here is the code:

const loginWithOffice365 = async () => {    try {      let result = await authorize(config);      console.log('result', result);   // This is not showing any result and not even printing any error    } catch (error) {      console.log('error', error);    }  }

I have registered the app correctly in Azure and this is the redirect url screenshot

enter image description here

It goes to office 365 page and I can enter my credentials and it says are you ready to login and I click continue, once I do that, it goes back to the login page. I am not sure if my redirect URL is correct because I am trying to print the token that I should get back from Microsoft.

I am just trying to print the access token. Can you please help and tell me how can I fix this?

Android status bar color does not change from white

$
0
0

On my app, most of the app has a backgroundColor set to white, so, I want to set my statusbar to black, according to the documentation this should work:

<StatusBar barStyle={'dark-content'} translucent={true} />

but as you can see in the image: statusbar white

now if I just put a green background to check the statusbar I get this:enter image description here

What can I do to solve this issue?

React Native - change icon color on press

$
0
0

When the 'check' icon is being pressed, I want it to change color from default red to green. In my case, while I have another function for onpress, I use this conditional color statement

<Icon name="check" size={20} color={this.state.isCompleted ? '#1DA664' : '#DE5347'} onPress={() => this.isCompleted(rowData)} isCompleted={this.state.isCompleted}/>

I call this function for onpress

isCompleted(rowData){     if (this.state.status != 'new'){  this.itemsRef.child(rowData.id).update({    status: 'completed'  });  this.setState({    isCompleted: true  })}}

When one of the icon in a list view is pressed, the icon changed color but everytime the color change is the icon of last item.

As shown in pic,

enter image description here

When I press on item 'cook lunch' , it should be the icon in cook lunch turn to green. Instead, the icon in the last item 'hello' changed. What did I do wrong?


Execution failed for task ':expo-permissions:compileDebugKotlin'

$
0
0

I am working on a React Native app where I included some expo libraries (bare workflow). I had successfully used expo-location, but now after I installed also expo-camera, the app won't build anymore with npm run android, did not try yet on ios.

It will crash at :expo-permissions:compileDebugKotlin step.

I did find the problem on another forum, they were saying to update the buildToolsVersion from build.gradle to 29.0.2 but it already was on 29.0.2. Then I updated react-native-unimodules which is required to use expo libraries and contains expo-permissions. It didn't work. Right now, my current versions of libs are:

"react-native-unimodules": "^0.12.0""expo-permissions": "~10.0.0""expo-camera": "^9.1.1"

Do you have any ideas? Did someone met this problem also?

Thanks

A more elaborate stacktrace is this:

Task :expo-permissions:compileDebugKotlin FAILEDDeprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.Use '--warning-mode all' to show the individual deprecation warnings.See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings153 actionable tasks: 4 executed, 149 up-to-datee: app\node_modules\expo-permissions\android\src\main\java\expo\modules\permissions\PermissionsService.kt: (16, 40): Unresolved reference: PermissionAwareActivitye: app\node_modules\expo-permissions\android\src\main\java\expo\modules\permissions\PermissionsService.kt: (170, 17): Unresolved reference: PermissionAwareActivitye: app\node_modules\expo-permissions\android\src\main\java\expo\modules\permissions\PermissionsService.kt: (236, 19): Unresolved reference: PermissionAwareActivitye: app\node_modules\expo-permissions\android\src\main\java\expo\modules\permissions\PermissionsService.kt: (237, 62): Too many arguments for public final fun requestPermissions(@NonNull p0: Array<(out) String!>, p1: Int): Unit defined in android.app.Activitye: app\node_modules\expo-permissions\android\src\main\java\expo\modules\permissions\PermissionsService.kt: (237, 64): Cannot infer a type for this parameter. Please specify it explicitly.e: app\node_modules\expo-permissions\android\src\main\java\expo\modules\permissions\PermissionsService.kt: (237, 77): Cannot infer a type for this parameter. Please specify it explicitly.e: app\node_modules\expo-permissions\android\src\main\java\expo\modules\permissions\PermissionsService.kt: (237, 97): Cannot infer a type for this parameter. Please specify it explicitly.FAILURE: Build failed with an exception.

how to change react native android picker background

$
0
0

enter image description here

enter image description here

All of them work except the background, but I couldn't get the background color to work. All I want is #000 for the background, but no matter what I tried, colorBackround popupBackround etc. I tried all of them but it didn't work. Everyone on the internet gave the same link. I've been trying for about 5 6 hours, but I couldn't change the background color.

<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"><item name="android:forceDarkAllowed">false</item><item name="android:navigationBarColor">#151617</item><item name="android:windowBackground">#151617</item><item name="android:editTextBackground">@drawable/rn_edit_text_material</item><item name="android:spinnerItemStyle">@style/SpinnerItem</item><item name="android:spinnerDropDownItemStyle">@style/SpinnerDropDownItem</item></style><style name="SpinnerItem" parent="Theme.AppCompat.Light.NoActionBar"><item name="android:fontFamily">sans-serif-light</item><item name="android:textSize">18dp</item></style><style name="SpinnerDropDownItem" parent="Theme.AppCompat.Light.NoActionBar"><item name="android:textColor">#ffffff</item><item name="android:textSize">18dp</item><item name="android:fontFamily">sans-serif-light</item><item name="android:gravity">center</item><item name="android:background">#000</item></style><item name="android:background">@drawable/mydivider</item> // I tried that too, it didn't work

When I run it like this, all items are centered, a white page comes up background white texts white what I want is black background white text

React Native : null is not an object (evaluating 'NativeModules["SQLite"][method]')

$
0
0

I am trying to use the react-native-sqlite-storage library but I can't seem find any solution to this error. I have looked around for hours yet no solution seem to help me. If anyone could guild me through this, I'd really appreciate it.

Here is the screen where I am getting the error -

import { View, Text } from "react-native";import { useEffect } from "react";import React from "react";import AsyncStorage from "@react-native-async-storage/async-storage";import SQLite from "react-native-sqlite-storage";const db = SQLite.openDatabase(  {    name: "userProfileDB",    location: "default",  },  () => {    console.log("succ");  },  (error) => {    console.log("err");  });export default function ProfileScene() {  return (<View><Text>ProfileScene</Text></View>  );}

Here is the error log -

TypeError: null is not an object (evaluating 'NativeModules["SQLite"][method]')This error is located at:    in ProfileScene (created by SceneView)    in StaticContainer    in EnsureSingleNavigator (created by SceneView)    in SceneView (created by Drawer)    in RCTView (created by View)    in View (created by Screen)    in RCTView (created by View)    in View (created by Background)    in Background (created by Screen)    in Screen (created by Drawer)    in RNSScreen (created by AnimatedComponent)    in AnimatedComponent    in AnimatedComponentWrapper (created by Screen)    in MaybeFreeze (created by Screen)    in Screen (created by MaybeScreen)    in MaybeScreen (created by Drawer)    in RNSScreenContainer (created by ScreenContainer)    in ScreenContainer (created by MaybeScreenContainer)    in MaybeScreenContainer (created by Drawer)    in RCTView (created by View)    in View (created by Drawer)    in RCTView (created by View)    in View (created by AnimatedComponent(View))    in AnimatedComponent(View)    in Unknown (created by Drawer)    in RCTView (created by View)    in View (created by AnimatedComponent(View))    in AnimatedComponent(View)    in Unknown (created by PanGestureHandler)    in PanGestureHandler (created by Drawer)    in Drawer (created by DrawerViewBase)    in DrawerViewBase (created by DrawerView)    in GestureHandlerRootView (created by GestureHandlerRootView)    in GestureHandlerRootView (created by DrawerView)    in RNCSafeAreaProvider (created by SafeAreaProvider)    in SafeAreaProvider (created by SafeAreaInsetsContext)    in SafeAreaProviderCompat (created by DrawerView)    in DrawerView (created by DrawerNavigator)    in Unknown (created by DrawerNavigator)    in DrawerNavigator (created by App)    in EnsureSingleNavigator    in BaseNavigationContainer    in ThemeProvider    in NavigationContainerInner (created by App)    in RCTView (created by View)    in View (created by App)    in App (created by ExpoRoot)    in ExpoRoot    in RCTView (created by View)    in View (created by AppContainer)    in RCTView (created by View)    in View (created by AppContainer)    in AppContainer    in main(RootComponent)at node_modules/react-native/Libraries/Core/ExceptionsManager.js:95:4 in reportExceptionat node_modules/react-native/Libraries/Core/ExceptionsManager.js:141:19 in handleExceptionat node_modules/react-native/Libraries/Core/ReactFiberErrorDialog.js:52:4 in showErrorDialogat node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:6 in Refresh.performReactRefreshat node_modules/metro-runtime/src/polyfills/require.js:645:10 in setTimeout$argument_0

My system is Ubuntu 22.04, Node 16.15.1 and Expo 5.4.8.

Resource compilation failed (begin 38, end 33, length 39. Cause: null). Check logs for more details

$
0
0

I've upgraded project from gradle 6.1 to 7.3.3. The proeject has react-native module also. I am getting below error while building. I am not able to solve this from past 7 days because not able to find the root cause of the issue. The project is very big and containes many modules.

> Task :app:processLollipopDebugManifestForPackageExecution optimizations have been disabled for task ':app:processLollipopDebugManifestForPackage' to ensure correctness due to the following reasons:  - Gradle detected a problem with the following location: '/Users/ac02f5b7lmd6m/development/android/app/build/intermediates/merged_manifests/lollipopDebug'. Reason: Task ':app:processLollipopDebugManifestForPackage' uses this output of task ':app:copyLollipopDebugBundledJs' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.Invalidating VFS because task ':app:processLollipopDebugManifestForPackage' failed validationNot watching anything anymoreWatching 0 directory hierarchies to track changesCaching disabled for task ':app:processLollipopDebugManifestForPackage' because:  Build cache is disabledTask ':app:processLollipopDebugManifestForPackage' is not up-to-date because:  Incremental execution has been disabled to ensure correctness. Please consult deprecation warnings for more details.:app:processLollipopDebugManifestForPackage (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.423 secs.AAPT2 aapt2-7.2.1-7984345-osx Daemon #0: shutdownFAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':app:mergeLollipopDebugResources'.> A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable> Resource compilation failed (begin 38, end 33, length 39. Cause: null). Check logs for more details.* Try:> Run with --debug option to get more log output.> Run with --scan to get full insights.* Exception is:org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeLollipopDebugResources'.        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:145)        at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:143)        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:131)        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)        at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:74)        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:402)        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:389)        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:382)        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:368)        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:61)Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable        at org.gradle.workers.internal.DefaultWorkerExecutor$WorkItemExecution.waitForCompletion(DefaultWorkerExecutor.java:342)        at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:142)        at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:94)        at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForAll(DefaultAsyncWorkTracker.java:80)        at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForCompletion(DefaultAsyncWorkTracker.java:68)        at org.gradle.api.internal.tasks.execution.TaskExecution$2.run(TaskExecution.java:247)        at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)        at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)        at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)        at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:224)        at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:207)        at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:190)        at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:168)        at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)        at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)        at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)        at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:50)        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:40)        at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:68)        at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:38)        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:36)        at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)        at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)        at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)        at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)        at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:29)        at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:61)        at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:42)        at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:60)        at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:27)        at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:188)        at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:75)        at org.gradle.internal.Either$Right.fold(Either.java:175)        at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59)        at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:73)        at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:48)        at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:38)        at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:27)        at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36)        at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22)        at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:109)        at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:56)        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:56)        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:73)        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:44)        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)        at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:89)        at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:50)        at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:114)        at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:57)        at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:76)        at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:50)        at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:93)        at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:93)        at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)        at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:43)        at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:31)        at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40)        at org.gradle.api.internal.tasks.execution.TaskExecution$3.withWorkspace(TaskExecution.java:284)        at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40)        at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)        at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)        at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)        at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:44)        at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:33)        at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76)        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:142)        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:131)        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)        at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:74)        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:402)        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:389)        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:382)        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:368)        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:61)Caused by: com.android.aaptcompiler.ResourceCompilationException: Resource compilation failed (begin 38, end 33, length 39. Cause: null). Check logs for more details.        at com.android.aaptcompiler.ResourceCompiler.compileResource(ResourceCompiler.kt:129)        at com.android.build.gradle.internal.res.ResourceCompilerRunnable$Companion.compileSingleResource(ResourceCompilerRunnable.kt:34)        at com.android.build.gradle.internal.res.ResourceCompilerRunnable.run(ResourceCompilerRunnable.kt:15)        at com.android.build.gradle.internal.profile.ProfileAwareWorkAction.execute(ProfileAwareWorkAction.kt:74)        at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)        at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66)        at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62)        at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:97)        at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62)        at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)        at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)        at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)        at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59)        at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$2(DefaultWorkerExecutor.java:206)        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:214)        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164)        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:131)        ... 3 moreCaused by: java.lang.StringIndexOutOfBoundsException: begin 38, end 33, length 39        at com.android.aaptcompiler.PseudolocaleGeneratorKt.pseudolocalizeStyledString(PseudolocaleGenerator.kt:81)        at com.android.aaptcompiler.PseudolocaleGenerator.pseudolocalizeIfNeeded(PseudolocaleGenerator.kt:236)        at com.android.aaptcompiler.PseudolocaleGenerator.consume(PseudolocaleGenerator.kt:260)        at com.android.aaptcompiler.ResourceCompiler.compileTable(ResourceCompiler.kt:200)        at com.android.aaptcompiler.ResourceCompiler.access$compileTable(ResourceCompiler.kt:1)        at com.android.aaptcompiler.ResourceCompiler$getCompileMethod$1.invoke(ResourceCompiler.kt:138)        at com.android.aaptcompiler.ResourceCompiler$getCompileMethod$1.invoke(ResourceCompiler.kt:138)        at com.android.aaptcompiler.ResourceCompiler.compileResource(ResourceCompiler.kt:123)        ... 27 more

How to refetch data on click push notification using React-Native?

$
0
0

In my React-Native project I have implemented expo-push-notification module, I can say everything works as expected, but I have problem which I do not know how to solve, whenuser receives a message and clicks on it

1.I want to redirect to a specific screen2. I want to refetch data and call specific API endpoint3.I also want this feature to work when App is Foreground or Background

My project is on the Bare workflow.

After many research I could not find hint that would give me the right direction.

How realistic it is to achieve this goal with React-Native?

Viewing all 29728 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>