{ "id": "176220", "key": "TIMOB-28477", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "21201", "description": "", "name": "Release 10.1.0", "archived": false, "released": true, "releaseDate": "2021-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-08-18T21:35:18.000+0000", "created": "2021-06-08T00:30:18.000+0000", "epic": { "id": 176213, "key": "TIMOB-28470", "name": "Android 12: Implement Support", "summary": "Android 12: Implement Support", "color": { "key": "color_9" }, "done": false }, "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "intent", "intent-filter", "module", "pendingintent" ], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-08-18T21:35:18.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Summary:*\r\nWe need to update this module to address Android 12's breaking-changes.\r\nhttps://developer.android.com/about/versions/12/behavior-changes-12#exported\r\nhttps://developer.android.com/about/versions/12/behavior-changes-12#pending-intent-mutability\r\n\r\n*Pending Intent Change:*\r\nPass the [PendingIntent.FLAG_IMMUTABLE|https://developer.android.com/reference/android/app/PendingIntent#FLAG_IMMUTABLE] constant to the {{PendingIntent.getActivity()}} method call in [NfcForegroundDispatchFilter.java|https://github.com/appcelerator-modules/ti.nfc/blob/master/android/src/ti/nfc/NfcForegroundDispatchFilter.java] to prevent an exception from being thrown.\r\n\r\n*Intent-Filter Changes:*\r\nUpdate the {{}} examples to explicitly set the {{android:exported}} attribute.\r\nhttps://github.com/appcelerator-modules/ti.nfc/blob/master/apidoc/Nfc.yml\r\nhttps://github.com/appcelerator-modules/ti.nfc/blob/master/android/example/TagViewer/app/controllers/index.js\r\nhttps://github.com/appcelerator-modules/ti.nfc/blob/master/android/example/TagForeground/app/controllers/index.js\r\nhttps://github.com/appcelerator-modules/ti.nfc/blob/master/android/example/TagWriter/app/controllers/index.js\r\n", "attachment": [], "flagged": false, "summary": "Android: Update \"ti.nfc\" module for Android 12", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "458909", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator-modules/ti.nfc/pull/57", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-07-26T22:40:25.000+0000", "updated": "2021-07-26T22:40:25.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }