Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28480] Android: Update "cloudpush" module for Android 12

GitHub Issuen/a
TypeImprovement
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2021-09-03T17:55:25.000+0000
Affected Version/sn/a
Fix Version/sRelease 10.1.0
ComponentsAndroid
Labelsandroid, intent, intent-filter, module, pendingintent, pushnotification
ReporterJoshua Quick
AssigneeGary Mathews
Created2021-06-08T01:23:58.000+0000
Updated2021-09-03T17:55:25.000+0000

Description

*Summary:* We need to update this module to address Android 12's breaking-changes. https://developer.android.com/about/versions/12/behavior-changes-12#exported https://developer.android.com/about/versions/12/behavior-changes-12#pending-intent-mutability *Intent-Filter Changes:* Update the "AndroidManifest.xml" file's PushBroadcastReceiver XML element with attribute android:exported="true" or else a build failure will occur. https://github.com/appcelerator-modules/cloudpush/blob/master/android/timodule.xml *APS SDK Library Update:* Once we update the APS SDK library via ticket [NATIVESDK-363], we'll need to copy its "aps-cloudpush.jar" to this module's android/lib folder below or else a runtime exception will happen when push notifications are recevied. https://github.com/appcelerator-modules/cloudpush/tree/master/android/lib

Comments

  1. Gary Mathews 2021-07-29

    cloudpush: https://github.com/appcelerator-modules/cloudpush/pull/53
  2. Gary Mathews 2021-07-29

    master: https://github.com/appcelerator/titanium_mobile/pull/12986

JSON Source