Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android build failed in RN 0.76.5 task generateCodegenArtifactsFromSchema #419

Open
kevinn888 opened this issue Dec 24, 2024 · 2 comments
Open

Comments

@kevinn888
Copy link

Describe the bug
I got error when trying to build the app using React Native 0.76.5
I already install the latest version 3.0.11

To Reproduce
Steps to reproduce the behavior:

  1. just build the app using RN 0.76.5

Observed behavior
TypeError: Cannot read properties of undefined (reading 'map') when build in android

Expected behavior
build successfully

Screenshots
image

Additional context
suprisingly this is intermitten sometimes working sometime not

i can't give my project to test since this is not my own project

@mr-sorake
Copy link

"react-native": "0.76.0",
"@bam.tech/react-native-image-resizer": "^3.0.11",

newArchEnabled=false

Getting error --> com.facebook.react.bridge.ReadableNativeMap cannot be cast to java.lang.Boolean

import ImageResizer from '@bam.tech/react-native-image-resizer';

export const handleImageResize = async (response) => {
console.log('RESP', response.uri);
await ImageResizer.createResizedImage(
response.uri,
720,
960,
'JPEG',
100,
0,
undefined,
{onlyScaleDown: true},
);
};

Console Value--> file:///data/user/0/application.testxtest.online/cache/rn_image_picker_lib_temp_bd577683-10b6-45ef-85b9-25140ff607c1.jpg

@shivamupadhyay008
Copy link

getting the same in RN 0.76 were you able to resolve ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants