Closed AristideVB closed 3 months ago
Note I've upgrade to Gradle 8, could it be related ?
& I have been overriding the namespace dynamically as suggested https://github.com/customerio/customerio-flutter/issues/107#issuecomment-1910507373
Downgrading to Gradle 7.x fixed the issue in production, but we had to remove support for essential features in our app because of this downgrade...
Please upgrade the plugin to Gradle 8.x and having registerDevice work correctly on Android in production https://github.com/customerio/customerio-flutter/issues/107
Thank you for sharing this issue with us. Sorry for the frustration caused by this.
I have added a +1 to our internal ticket for Gradle 8 support. Unfortunately, we do not have a release date for this support. Know that we are discussing it and will continue to prioritize it internally.
Thank you again for sending this issue to us. Especially with all the very helpful details!
I hope you have a great day.
Issue Description
When using the Customer.io Flutter plugin, Android devices are correctly registered in debug mode but not in production. The same codebase registers devices on iOS in both debug and production modes without issues.
Steps to Reproduce
CustomerIO.messagingPush()
to register the device for push notifications.Expected Behavior
Devices should be registered in both debug and production modes on Android, similar to the behavior observed on iOS devices.
Actual Behavior
On Android, devices are only registered in debug mode. In production, the devices are not registered, leading to no push notifications being received.
Additional Context
Environment