{"id":24247415,"url":"https://github.com/joshtynjala/openfl-android-adaptive-icon-sample","last_synced_at":"2025-09-03T17:44:20.631Z","repository":{"id":271460733,"uuid":"913531797","full_name":"joshtynjala/openfl-android-adaptive-icon-sample","owner":"joshtynjala","description":"A sample OpenFL project that adds an adaptive icon for Android","archived":false,"fork":false,"pushed_at":"2025-01-07T21:45:27.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-02T05:59:17.438Z","etag":null,"topics":["android","haxe","openfl","openfl-samples","openfl-target-android"],"latest_commit_sha":null,"homepage":"","language":"Haxe","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshtynjala.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"joshtynjala","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2025-01-07T21:38:22.000Z","updated_at":"2025-01-07T22:22:09.000Z","dependencies_parsed_at":"2025-01-14T23:46:10.379Z","dependency_job_id":null,"html_url":"https://github.com/joshtynjala/openfl-android-adaptive-icon-sample","commit_stats":null,"previous_names":["joshtynjala/openfl-android-adaptive-icon-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joshtynjala/openfl-android-adaptive-icon-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fopenfl-android-adaptive-icon-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fopenfl-android-adaptive-icon-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fopenfl-android-adaptive-icon-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fopenfl-android-adaptive-icon-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshtynjala","download_url":"https://codeload.github.com/joshtynjala/openfl-android-adaptive-icon-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fopenfl-android-adaptive-icon-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273484404,"owners_count":25114120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","haxe","openfl","openfl-samples","openfl-target-android"],"created_at":"2025-01-14T23:46:09.664Z","updated_at":"2025-09-03T17:44:20.573Z","avatar_url":"https://github.com/joshtynjala.png","language":"Haxe","funding_links":["https://github.com/sponsors/joshtynjala"],"categories":[],"sub_categories":[],"readme":"# OpenFL Android adaptive icon\n\nThe [OpenFL](https://openfl.org) library for Haxe contains a number of template files that are used when building a project. You can find them in the [_assets/templates_](https://github.com/openfl/openfl/tree/develop/assets/templates) directory. Using the `\u003ctemplate\u003e` element in _project.xml_, it's possible to provide additional template files to copy to the output directory, on a per-project basis, and without forking OpenFL.\n\nThis sample project contains a directory named [_custom-templates_](https://github.com/joshtynjala/openfl-android-adaptive-icon-sample/tree/main/custom-templates). It is configured in [_project.xml_](https://github.com/joshtynjala/openfl-android-adaptive-icon-sample/tree/main/project.xml) like this:\n\n```xml\n\u003ctemplate path=\"custom-templates\"/\u003e\n```\n\nInside [_custom-templates_](https://github.com/joshtynjala/openfl-android-adaptive-icon-sample/tree/main/custom-templates), there's a file at [_android/template/app/src/main/res/mipmap-anydpi-v26/ic\\_launcher.xml_](https://github.com/joshtynjala/openfl-android-adaptive-icon-sample/tree/main/custom-templates/android/template/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml). This is an Android resource that defines how the icon looks.\n\nTo add an adaptive icon to the generated _AndroidManifest.xml_ file, configure it in [_project.xml_](https://github.com/joshtynjala/openfl-android-adaptive-icon-sample/tree/main/project.xml) like this:\n\n```xml\n\u003cconfig:android\u003e\n\t\u003capplication android:icon=\"@mipmap/ic_launcher\"/\u003e\n\u003c/config:android\u003e\n```\n\nTo build and launch the project, run the following command:\n\n```sh\nopenfl test android\n```\n\nSample created by [Josh Tynjala](https://github.com/sponsors/joshtynjala), the author of [Feathers UI](https://feathersui.com/) and core contributor to [OpenFL](https://openfl.org/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshtynjala%2Fopenfl-android-adaptive-icon-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshtynjala%2Fopenfl-android-adaptive-icon-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshtynjala%2Fopenfl-android-adaptive-icon-sample/lists"}