v3rm0n / intercom_flutter

Flutter wrapper for Intercom libraries
95 stars 141 forks source link

ANDROID NOT WORKING AT ALL #453

Closed SzymonDziak closed 3 months ago

SzymonDziak commented 3 months ago

CONTINOUS PROBLEMS WITH BUILDING FOR ANDROID. ALL YOUR GITHUB TESTS FAILING AS WELL.

WHEN CAN WE GET THIS RESOLVED?

KirioXX commented 3 months ago

Hi, I see a similar issue with android builds related to the intercom package. These are the logs when I run flutter build apk -v test_app_logs.txt

I also setup a test project her: https://github.com/KirioXX/intercom_test_app if you run:

flutter clean && flutter pub get && flutter build apk -v

you should see the same result

deepak786 commented 3 months ago

You need to use AGP version 8. Please follow the below steps:

florinleu commented 3 months ago

@deepak786 I don't think this is a suitable solution since flutter doesn't yet support AGP 8 and we have lots of libraries in our project that are not yet compatible with AGP 8. Is there a way to make it work with AGP 7.6.1, which is the highest version latest recommended by flutter?

deepak786 commented 3 months ago

Hey @florinleu

AGP 8 support was added in intercom_flutter: 8.0.7 Try using intercom_flutter: 8.0.6

Maybe try using intercom_flutter: 9.0.4 as per this comment https://github.com/v3rm0n/intercom_flutter/issues/436#issuecomment-2286628777

deepak786 commented 3 months ago

Duplicate of https://github.com/v3rm0n/intercom_flutter/issues/436