{ "id": "176332", "key": "TIMOB-28578", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": [], "resolution": null, "resolutiondate": null, "created": "2021-11-10T11:16:55.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2021-11-13T06:49:38.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "This was noted by some of our users. The app icon itself is properly centered, but the wrapper / shadow remains at the top left. I wonder if this is a Google- or Titanium issue. The users have a Xiaomi device and run on Android 11. We cannot reproduce this on our Pixel 5 device.", "attachment": [ { "id": "68034", "filename": "WhatsApp Image 2021-11-10 at 12.14.59.jpeg", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-11-10T11:16:38.000+0000", "size": 27406, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android: New splash screens show app icon wrapper incorrectly", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "459162", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hknoechel], I can't figure out how to reproduce this. I tried it with your Lambus app's adaptive icon and it worked fine on Android 8, 11, and 12. I also re-ran our hyperloop example project which uses an adaptive icon [here|https://github.com/appcelerator/hyperloop-examples/blob/master/app/platform/android/res/mipmap-anydpi-v26/ic_launcher_round.xml] and it works fine too... although it sets the \"background\" to a solid color which would probably work-around the issue anyways.\r\n\r\nI'm not sure what we can do on the Titanium side. We already correctly \"center\" an adaptive icon in the splash as can be seen below...\r\nhttps://github.com/appcelerator/titanium_mobile/blob/master/android/titanium/res/drawable-v26/titanium_splash_adaptive_icon_background.xml#L7\r\n\r\nI don't have a Xiaomi device to test with. Even if I did, all we can do is attempt to find a work-around for what looks like a Xiaomi bug. Is it wrongly applying an \"elevation\" by default? I don't know.\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-11-13T06:19:45.000+0000", "updated": "2021-11-13T06:19:45.000+0000" }, { "id": "459163", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If you're able to reproduce this issue, then try removing the \"android:roundIcon\" attribute from your \"tiapp.xml\" to see if it's the adaptive icon that is the cause of this drop-shadow issue on the Xiaomi device. The splash will use your normal icon instead via the following splash layout.\r\nhttps://github.com/appcelerator/titanium_mobile/blob/master/android/titanium/res/drawable-v23/titanium_splash_icon_background.xml\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-11-13T06:49:38.000+0000", "updated": "2021-11-13T06:49:38.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }