{"id":20829709,"url":"https://github.com/androidovshchik/cordova-app-icon","last_synced_at":"2025-03-12T08:14:53.629Z","repository":{"id":163353423,"uuid":"281374358","full_name":"androidovshchik/cordova-app-icon","owner":"androidovshchik","description":"Simple plugin that allows to control the visibility of the app icon","archived":false,"fork":false,"pushed_at":"2020-07-22T14:19:01.000Z","size":137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T18:53:32.720Z","etag":null,"topics":["android","app","cordova","icon","plugin"],"latest_commit_sha":null,"homepage":"","language":"Java","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/androidovshchik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2020-07-21T11:05:58.000Z","updated_at":"2020-07-22T17:16:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"bee69c76-44fa-4d65-a09a-9391d9f6c71a","html_url":"https://github.com/androidovshchik/cordova-app-icon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/androidovshchik%2Fcordova-app-icon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/androidovshchik%2Fcordova-app-icon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/androidovshchik%2Fcordova-app-icon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/androidovshchik%2Fcordova-app-icon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/androidovshchik","download_url":"https://codeload.github.com/androidovshchik/cordova-app-icon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243179908,"owners_count":20249187,"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","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","app","cordova","icon","plugin"],"created_at":"2024-11-17T23:21:43.851Z","updated_at":"2025-03-12T08:14:53.609Z","avatar_url":"https://github.com/androidovshchik.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cordova-app-icon plugin\n\nSimple plugin that allows to control the visibility of the app icon\n\n\u003e As of Android 10 Q (API 29) all app icons will be visible in the launcher no matter what unless [special privileges](https://developer.android.com/reference/android/content/pm/LauncherApps#getActivityList(java.lang.String,%20android.os.UserHandle))\n\n## Getting started\n\nCreate a new Cordova Project\n\n    $ cordova create example com.example Example\n    \nInstall the plugin\n\n    $ cd example\n    $ cordova plugin add https://github.com/androidovshchik/cordova-app-icon.git\n    \n\nEdit `www/js/index.js` and add the following code inside `onDeviceReady`\n\n```js\n// hide icon\nAppIcon.toggle(false);\n// check if icon is hidden\nAppIcon.isHidden(function(result) {\n    if (result) {\n        // currently icon is hidden    \n    }\n});\n```\n\nInstall Android platform\n\n    cordova platform add android\n    \nRun the app\n\n    cordova run android","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidovshchik%2Fcordova-app-icon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandroidovshchik%2Fcordova-app-icon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidovshchik%2Fcordova-app-icon/lists"}