Declare missing exported attribute for Android 12 compatibility
This update is required if your application uses targetSdk 31.
This releases fixes the following build error:
Manifest merger failed : Apps targeting Android 12 and higher are required
to specify an explicit value for android:exported when the corresponding
component has an intent filter defined.
If you use "targetSdk 31" this SDK version isrequired, along with our FCM module v1.0.4 minimum.
For the others, we recommend to always use the latest published version.
Changelog:
Support targeting builds to Android 12, when using targetSdk 31
Support delaying on launch/foreground in-apps on identified custom splash or routing activities
Change the APP_LAUNCH in-app system trigger to match application cold starts
Allow to display in-apps contained in manually-displayed data push notifications
Android 12 support
If you use targetSdk 31, this SDK version is required.
You will also need to upgrade the version of our FCM module to v1.0.4 minimum.
Fix missing @APP_OPEN events when an activity is resumed after a long time, like Android 12 now does when pressing back on the root activity.
Handle a few deprecations
Support delaying on launch/foreground in-apps on identified custom splash or routing activities
If your application uses a custom splash activity, or a routing activtiy to resolve deeplinks using application code, to avoid triggering an in-app shown on app launch or app foreground, you can now mark those activities with the following metadata in your AndroidManifest.xml, inside their <activity> tag:
Declare missing exported attribute for Android 12 compatibility
This update is required if your application uses targetSdk 31.
This releases fixes the following build error:
Manifest merger failed : Apps targeting Android 12 and higher are required
to specify an explicit value for android:exported when the corresponding
component has an intent filter defined.
If you are facing a Google Play application submission rejection with the cause "Remediation for Implicit PendingIntent Vulnerability", this update is for you.
No customer have currently faced this, considering we were already implementing many best practices, but there was a few more we could take advantage of, which we did in this release.
If your application is submitted to Google Play with the HCM module included, your application may be rejected by the new app release verification rules, mentioning the cause "Remediation for Implicit PendingIntent Vulnerability".
Simply update our HCM module and you should be good to go.
Changelog:
Update Huawei Push Kit to v5.3.0.304:
Remediation for Implicit PendingIntent Vulnerability
Upgrade the last dependencies still using pre-AndroidX support libraries. Without this change you needed to use android.enableJetifier=true.
Use compileSdkVersion 30 and get rid of deprecated classes and method calls.
Multiple StrictMode violation fixes.
The SDK can now be imported in your own project as a project dependency without altering its build.gradle files. This makes it easier to hack it and contribute back to the community.