zoho / SalesIQ-Mobilisten-ReactNative

Your mobile app's ideal live chat partner. Power up your mobile App with the SalesIQ Mobilisten SDK for React-Native.
https://mobilisten.io/
9 stars 11 forks source link

Android build release FAILED #58

Closed mydtth123 closed 1 year ago

mydtth123 commented 1 year ago

I met this issue when I try to make Android release.

Task :app:minifyReleaseWithR8 FAILED

`AGPBI: {"kind":"error","text":"Type com.bumptech.glide.GeneratedRequestManagerFactory is defined multiple times: ../.gradle/caches/transforms-3/bbc6dc60d5e2fb726e0cf27a8af533d3/transformed/jetified-mobilisten-4.3.1-runtime.jar:com/bumptech/glide/GeneratedRequestManagerFactory.class, ../node_modules/react-native-fast-image/android/build/intermediates/runtime_library_classes_jar/release/classes.jar:com/bumptech/glide/GeneratedRequestManagerFactory.class","sources":[{"file":"../.gradle/caches/transforms-3/bbc6dc60d5e2fb726e0cf27a8af533d3/transformed/jetified-mobilisten-4.3.1-runtime.jar"}],"tool":"R8"}

Execution failed for task ':app:minifyReleaseWithR8'.

com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: ../.gradle/caches/transforms-3/bbc6dc60d5e2fb726e0cf27a8af533d3/transformed/jetified-mobilisten-4.3.1-runtime.jar:com/bumptech/glide/GeneratedRequestManagerFactory.class Currently I used"react-native-fast-image": "^8.5.11",` has Glide for Android Image loader

MaximZybo commented 1 year ago

Issue appears if project has installed react-native-fast-image Tested on "react-native": "0.68.3" and "react-native": "0.70.2"

bhahirathan-mb-11956 commented 1 year ago

Hi @mydtth123 and @MaximZybo ,

Thank you for writing to us. We'll look into this issue and update you here once it is fixed.

Regards, Bhahirathan M

mydtth123 commented 1 year ago

Hi @DavidBhahirathan , any update on this one

bhahirathan-mb-11956 commented 1 year ago

Sorry for the inconvenience, @mydtth123 . We're looking into this issue with high priority. We'll update you here once fixed.

bhahirathan-mb-11956 commented 1 year ago

Hi @mydtth123 @MaximZybo ,

This issue has been fixed. Please update to the version 5.1.0 and verify once. Please write back to us if the issue persists.

Regards, Bhahirathan M, Zoho SalesIQ.

MaximZybo commented 1 year ago

Hello. On React Native 0.71.3 I get an error when installing on Android

Could not resolve all task dependencies for configuration ':react-native-zohosalesiq-mobilisten:debugCompileClasspath'.

Could not find com.zoho.salesiq:mobilisten:4.3.5.

 Required by:

     project :react-native-zohosalesiq-mobilisten

вс, 5 мар. 2023 г. в 07:14, David Bhahirathan @.***>:

Hi @mydtth123 https://github.com/mydtth123 @MaximZybo https://github.com/MaximZybo ,

This issue has been fixed. Please update to the version 5.1.0 https://github.com/zoho/SalesIQ-Mobilisten-ReactNative/releases/tag/v5.1.0 and verify once. Please write back to us if the issue persists.

Regards, Bhahirathan M, Zoho SalesIQ.

— Reply to this email directly, view it on GitHub https://github.com/zoho/SalesIQ-Mobilisten-ReactNative/issues/58#issuecomment-1455001414, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOSPDQZYPRMLSUWBLKB4BPDW2QVNNANCNFSM6AAAAAAROENNFA . You are receiving this because you were mentioned.Message ID: @.***>

-- С уважением. Зыбо Максим.

MaximZybo commented 1 year ago

The latest version package allows to use is 0.70.7

вс, 5 мар. 2023 г. в 07:14, David Bhahirathan @.***>:

Hi @mydtth123 https://github.com/mydtth123 @MaximZybo https://github.com/MaximZybo ,

This issue has been fixed. Please update to the version 5.1.0 https://github.com/zoho/SalesIQ-Mobilisten-ReactNative/releases/tag/v5.1.0 and verify once. Please write back to us if the issue persists.

Regards, Bhahirathan M, Zoho SalesIQ.

— Reply to this email directly, view it on GitHub https://github.com/zoho/SalesIQ-Mobilisten-ReactNative/issues/58#issuecomment-1455001414, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOSPDQZYPRMLSUWBLKB4BPDW2QVNNANCNFSM6AAAAAAROENNFA . You are receiving this because you were mentioned.Message ID: @.***>

-- С уважением. Зыбо Максим.