{ "id": "176060", "key": "TIMOB-28358", "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": [ { "id": "21199", "description": "", "name": "Release 10.0.1", "archived": false, "released": true, "releaseDate": "2021-07-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-06-28T22:15:17.000+0000", "created": "2021-02-18T07:53:18.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "maps", "module", "theme", "ti.map" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-06-28T22:15:33.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\nShow the \"ti.map\" module's map view causes theme errors to be logged.\r\n\r\n*Steps to reproduce:*\r\n# Set up a Titanium project to use the newest \"ti.map\" module.\r\n# Build and run the below code on Android.\r\n# In the log, notice the following error will be logged on app startup.\r\n\r\n{code}\r\n[ERROR] ThemeUtils: View class com.google.maps.android.ui.SquareTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).\r\n{code}\r\n\r\napp.js\r\n{code:javascript}\r\nconst map = require(\"ti.map\");\r\nconst window = Ti.UI.createWindow();\r\nwindow.add(map.createView({\r\n\twidth: Ti.UI.FILL,\r\n\theight: Ti.UI.FILL,\r\n}));\r\nwindow.open();\r\n{code}\r\n\r\n*Cause:*\r\nIt's caused by our marker clustering feature. We're supposed to pass an {{Activity}} to the Java {{ClusterManager}} constructor, but we're passing it an {{Application}} instance instead.\r\n[TiUIMapView.java|https://github.com/appcelerator-modules/ti.map/blob/2e77f40617b68b970cb24bf120bd46b881b96b13/android/src/ti/map/TiUIMapView.java#L208-L212]\r\n\r\n*Note:*\r\nThis error appears to be harmless. The map view and its markers still function correctly.\r\n", "attachment": [], "flagged": false, "summary": "Android: \"ti.map\" module logs theme errors", "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": "458260", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator-modules/ti.map/pull/402\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-18T08:02:55.000+0000", "updated": "2021-02-18T08:02:55.000+0000" }, { "id": "458812", "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/12919", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-06-24T00:52:55.000+0000", "updated": "2021-06-24T00:52:55.000+0000" }, { "id": "458823", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master (for titanium_mobile)", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2021-06-28T18:48:12.000+0000", "updated": "2021-06-28T18:48:12.000+0000" }, { "id": "458825", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "10_0_X backport merged", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-06-28T22:15:33.000+0000", "updated": "2021-06-28T22:15:33.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }