Closed tommylung closed 2 weeks ago
It was successful to subscribe in Release mode after updating the proguard rules in app/build.gradle
.
Change
buildTypes {
debug {
signingConfig signingConfigs.release
}
release {
signingConfig signingConfigs.release
}
}
to
buildTypes {
debug {
signingConfig signingConfigs.release
}
release {
shrinkResources false
minifyEnabled false
signingConfig signingConfigs.release
}
}
What happened?
I have the same code and settings on Huawei devices. It can subscribe in Debug Mode, but it does not work in Release Mode.
Red Box is Debug Mode, and Blue Box is Release Mode.
Steps to reproduce?
What did you expect to happen?
I expected to subscribe to OneSignal with Debug mode and Release mode on Huawei devices.
OneSignal Flutter SDK version
Release 5.2.5
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct