Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28478] Android: Update "ti.geofence" module for Android 12

GitHub Issuen/a
TypeImprovement
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2021-09-01T21:51:35.000+0000
Affected Version/sn/a
Fix Version/sRelease 10.1.0
ComponentsAndroid
Labelsandroid, intent, module, pendingintent
ReporterJoshua Quick
AssigneeJoshua Quick
Created2021-06-08T00:36:46.000+0000
Updated2021-09-01T21:51:35.000+0000

Description

*Summary:* We need to update this module which addresses Android 12's breaking-changes. https://developer.android.com/about/versions/12/behavior-changes-12#pending-intent-mutability *Pending Intent Changes:* Pass the [PendingIntent.FLAG_IMMUTABLE](https://developer.android.com/reference/android/app/PendingIntent#FLAG_IMMUTABLE) constant to the PendingIntent.getService() method call in [GeofenceModule.java](https://github.com/appcelerator-modules/ti.geofence/blob/master/android/src/ti/geofence/GeofenceModule.java) to prevent an exception from being thrown.

Comments

  1. Joshua Quick 2021-07-17

    PR (master): https://github.com/appcelerator-modules/ti.geofence/pull/192

JSON Source