ivpusic / react-native-image-crop-picker

iOS/Android image picker with support for camera, video, configurable compression, multiple images and cropping
MIT License
6.07k stars 1.55k forks source link

react-native-image-crop-picker library is causing issue in Google Play Console due to unsupported Application Binary Interface (ABI) #2019

Open shivam0831 opened 6 months ago

shivam0831 commented 6 months ago

Version react-native-image-crop-picker v0.40.2 react-native v0.70.6

Platform Android

I am not able to upload .aab file in Google Play Console. Google Play Console is giving an error

Your build configuration targets an unsupported Application Binary Interface (ABI). These ABIs are not currently used by active devices. To continue using automatic integrity protection, update your build configuration so that it only targets these Android ABIs: x86, x86_64, armeabi-v7a, arm64-v8a.

I got to know that armeabi causing the issue. But my app build.gradle file supports only x86, x86_64, armeabi-v7a, arm64-v8a ABI. When I opened release aab in Android Studio to see the contents of the release aab I found that it contains armeabi libucrop.so. Due to this, Google Play Console is rejecting my app .aab file.

I found that react-native-image-crop-picker library is using ucrop library which supports armeabi. Due to which my release aab contains armeabi libucrop.so.

After removing react-native-image-crop-picker library from my project Google Play Console issue is resolved. Kindly help me with this issue.

fukemy commented 6 months ago

I wonder how I do not get this problem when upload aab file

luongminh2410-fabbi commented 6 months ago

same issue

luongminh2410-fabbi commented 6 months ago

disable integrity protection to resolve this issue ✌️✌️✌️