Troubleshooting
The style on this component requires your app theme to be Theme.AppCompat (or a descendant).
Please use a parent theme which starts with "Theme.AppCompat.XXX" in your main theme (e.g. LaunchTheme). Example:
<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
</style>
File google-services.json is missing. The Google Services Plugin cannot function without it.
Please make sure to set up a project in the Firebase console, you can download this file there and place it inside your project: https://console.firebase.google.com/
If you are not using Java 1.8 yet, please add this to your app/build.gradle
if building fails with our SDK:
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
In project 'app' a resolved Google Play services library dependency depends on another at an exact version (...):
Add the following line at the bottom of app/build.gradle
:
googleServices { disableVersionCheck = true }
UI Graphic issues
If you are seeing visual artifacts or other issues for example in our app-banners, check if you are applying stylings to global elements.
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Please upgrade atleast to CleverPush SDK version 1.17.0 when targeting Android API 31+.
Huawei Certificate Error:
https://developer.huawei.com/consumer/en/doc/development/HMS-Guides/game-preparation-v4#certificate