customerio / customerio-flutter

Flutter plugin for Customer.io
https://www.customer.io/docs/sdk/flutter/getting-started/
MIT License
12 stars 10 forks source link

Gradle 8 support #107

Closed gohar-ali-coingaming closed 2 months ago

gohar-ali-coingaming commented 5 months ago

hi!

I am trying to implement customer.io flutter sdk and found this issue regarding name space.


Fix is fairly simple, adding name space in the build.gradle should help. https://developer.android.com/build/configure-app-module#set-namespace

halbano commented 5 months ago

Hi @gohar-ali-coingaming,

Thanks for reaching out and opening the issue.

The issue is related with the Gradle version you are using (8.x) to build the app, which still needs to be fully supported by our Flutter SDK.

Our recommendations to solve the issue on your end are:

1- Downgrade Gradle to a 7.x version and try building again 2- Override and set the namespace dynamically as suggested in this SO Answer

Let us know how exploring the options go please and we can assist you forward from there as needed

Best, Hernan

gohar-ali-coingaming commented 5 months ago

thanks @halbano,

Looking forward to updated SDK with latest gradle version support soon 💪

AristideVB commented 3 months ago

Any updates on this issue ? Downgrade Gradle to a 7.x version is also not an option for us

Korefey commented 3 months ago

@levibostian When is support for version 8 planned?

Shahroz16 commented 3 months ago

Hey @Korefey, thank you for reaching out. Happy to inform it's part of current development cycle and while I can't give any timeline, I assure you it's been worked and we plan to roll out Gradle 8 support as well R8 full mode support that is enabled by default in Gradle 8.

mrehan27 commented 2 months ago

Happy to share that that the updates have been released in version 1.4.0, and the package is now fully compatible with Gradle 8. Please update to the latest version and let us know if you encounter any issues.