We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
1. Using SDK v5.2.5 2. Can subscribe in Debug Mode. Cannot subscribe in Release Mode.
I expected to subscribe to OneSignal with Debug mode and Release mode on Huawei devices.
Release 5.2.5
No response
The text was updated successfully, but these errors were encountered:
Not Subscribed
It was successful to subscribe in Release mode after updating the proguard rules in app/build.gradle.
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 } }
Reference: https://stackoverflow.com/questions/65872226/missingpluginexception-in-flutter-in-release-mode-android
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: