{ "id": "176216", "key": "TIMOB-28473", "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-24T14:13:20.000+0000", "created": "2021-06-05T02:10:35.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": "High", "id": "2" }, "labels": [ "android", "splash", "splash-screen" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-08-24T14:13:20.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\nGoogle has made a breaking-change to an app's splash screen handling as of Android 12 whether you target it or not. Android 12 now ignores the {{android:windowBackground}} attribute. This means the Titanium project's \"default.png\" will be ignored on Android 12 during a cold start, but it will be displayed after the cold start ends.\r\nhttps://developer.android.com/about/versions/12/features/splash-screen\r\n\r\nAndroid 12 shows the app's icon in the splash instead of the \"default.png\" image. If the app is not set up to use {{android:roundIcon}}, then the app's icon will be clipped via a circle mask as shown below and this may not look good for most apps.\r\n\r\n||Splash 1st shows app icon|| ||Next shows default.png||\r\n| !SplashScreenIssue.png|thumbnail! | -> | !SplashScreenOldBehavior.png|thumbnail! |\r\n\r\n*Note:*\r\nThis impacts all apps that run on Android 12 regardless of what API Level they target.\r\n\r\n*To-Do:*\r\nOn Android 12:\r\n* Do not show Titanium's splash if Android 12's splash is shown. (Avoids double splash on startup.)\r\n* Do not support legacy \"default.png\"/\"background.png\" on Android 12 and higher. _(Icon-only splash is being forced on all apps on Android 12. You cannot opt-out.)_\r\n\r\nMake legacy \"default.png\"/\"background.png\" *optional* on Android 11 and older:\r\n* If splash image is found, then it will be shown the same as before.\r\n* If not found, then icon-only splash will be shown just like Android 12.\r\n* Support \"roundIcon\" in splash on Android 8 and higher if configured in manifest.\r\n* Remove all legacy \"default.png\" images from Titanium app templates.\r\n\r\n*Work-Around:*\r\nSet up your app to use an adaptive icon and add an {{android:roundIcon}} attribute to the {{}} as shown in the hyperloop-examples project.\r\nhttps://github.com/appcelerator/hyperloop-examples/blob/master/tiapp.xml#L64\r\n\r\n", "attachment": [ { "id": "67930", "filename": "SplashScreenIssue.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-06-05T01:58:55.000+0000", "size": 436182, "mimeType": "image/png" }, { "id": "67931", "filename": "SplashScreenOldBehavior.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-06-05T02:27:44.000+0000", "size": 904630, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Address splash screen breaking-changes on 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": "458842", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Rounded app icons are also affected by this, because it shows the round icon and then the launch screen (9 patch in our case).", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-07-05T12:53:49.000+0000", "updated": "2021-07-17T05:11:57.000+0000" }, { "id": "458992", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (titanium_mobile): https://github.com/appcelerator/titanium_mobile/pull/13026", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-08-16T22:22:16.000+0000", "updated": "2021-08-16T22:22:16.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }