{"id":22887263,"url":"https://github.com/appandflow/react-native-set-app-icon","last_synced_at":"2025-05-07T11:14:50.782Z","repository":{"id":38879733,"uuid":"269394193","full_name":"AppAndFlow/react-native-set-app-icon","owner":"AppAndFlow","description":"Set the app icon in your react-native in app","archived":false,"fork":false,"pushed_at":"2025-01-08T16:01:52.000Z","size":1609,"stargazers_count":30,"open_issues_count":13,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-07T11:14:27.444Z","etag":null,"topics":["react-native"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/AppAndFlow.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}},"created_at":"2020-06-04T15:19:29.000Z","updated_at":"2025-01-08T16:01:55.000Z","dependencies_parsed_at":"2023-02-05T16:15:49.956Z","dependency_job_id":null,"html_url":"https://github.com/AppAndFlow/react-native-set-app-icon","commit_stats":null,"previous_names":["equimper/react-native-set-app-icon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppAndFlow%2Freact-native-set-app-icon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppAndFlow%2Freact-native-set-app-icon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppAndFlow%2Freact-native-set-app-icon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppAndFlow%2Freact-native-set-app-icon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AppAndFlow","download_url":"https://codeload.github.com/AppAndFlow/react-native-set-app-icon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252865725,"owners_count":21816309,"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":["react-native"],"created_at":"2024-12-13T20:32:04.811Z","updated_at":"2025-05-07T11:14:50.774Z","avatar_url":"https://github.com/AppAndFlow.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![appicon](https://github.com/user-attachments/assets/b30fd7ba-6e19-41a3-9c6f-4093606364a2)\n\n### About\nApp \u0026 Flow is a Montreal-based React Native engineering and consulting studio. We partner with the world’s top companies and are recommended by [Expo](https://expo.dev/consultants). Need a hand? Let’s build together. team@appandflow.com\n\nLet your users dynamically change their app icons directly from within the app.\n\n## ANDROID IN PROGRESS\n\n## Getting started\n\n`$ npm install react-native-set-app-icon --save`\n\n### Mostly automatic installation\n\n`$ react-native link react-native-set-app-icon`\n\n## IOS\n\nSetup XCode\n\nPut all your images as `@2x.png` `@3x.png` in the root of your project setup.\n\n![](docs/icons.png)\n\nOnce that's done, go to `Info.plist` and follow this setup : \n\n![](docs/infoplist.png)\n\n## Usage\n\n```javascript\nimport SetAppIcon from \"react-native-set-app-icon\";\n```\n\n### changeAppIcon\n\nPromise that returns a boolean. Takes the `iconName` name set in your config.\n\n```js\nSetAppIcon.changeIcon(iconName: string): Promise\u003cboolean\u003e;\n```\n\nIf you want to set the default back just use `null`.\n\n```js\nSetAppIcon.changeIcon(null);\n```\n\n### getIconName\n\nTakes a callback and receives an object with `iconName` in it.\n\n```js\nSetAppIcon.getIconName(cb: (icon: { iconName: string }) =\u003e void): void;\n```\n\n### supportsDynamicAppIcon\n\nReturns a Promise with a boolean if the device accepts the dynamic app icon change.\n\n```js\nSetAppIcon.supportsDynamicAppIcon(): Promise\u003cboolean\u003e;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappandflow%2Freact-native-set-app-icon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappandflow%2Freact-native-set-app-icon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappandflow%2Freact-native-set-app-icon/lists"}