{"id":21440661,"url":"https://github.com/malaa-tech/expo-custom-assets","last_synced_at":"2025-04-05T05:03:01.524Z","repository":{"id":220904606,"uuid":"747877582","full_name":"Malaa-tech/expo-custom-assets","owner":"Malaa-tech","description":"Expo plugin to add custom assets to native codebase","archived":false,"fork":false,"pushed_at":"2024-12-19T07:11:05.000Z","size":1330,"stargazers_count":54,"open_issues_count":3,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T04:03:52.811Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Malaa-tech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2024-01-24T20:20:28.000Z","updated_at":"2025-03-05T19:29:50.000Z","dependencies_parsed_at":"2024-03-08T17:33:45.613Z","dependency_job_id":"aa7b7053-ec51-4e72-8be9-a6e92c827b28","html_url":"https://github.com/Malaa-tech/expo-custom-assets","commit_stats":null,"previous_names":["malaa-tech/expo-custom-assets"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Malaa-tech%2Fexpo-custom-assets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Malaa-tech%2Fexpo-custom-assets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Malaa-tech%2Fexpo-custom-assets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Malaa-tech%2Fexpo-custom-assets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Malaa-tech","download_url":"https://codeload.github.com/Malaa-tech/expo-custom-assets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289409,"owners_count":20914464,"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":[],"created_at":"2024-11-23T01:17:16.948Z","updated_at":"2025-04-05T05:03:01.506Z","avatar_url":"https://github.com/Malaa-tech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# expo-custom-assets\n\nExpo plugin to add custom assets to xcode and android studio to allow the usage of it as local files for projects like [Rive](https://help.rive.app/runtimes/overview/react-native/adding-rive-to-expo)\n\n# Demo\n\n\u003chttps://github.com/Malaa-tech/expo-custom-assets/assets/43112535/2a6de948-d3e9-4362-925f-3a3c786016b1\u003e\n\n# API documentation\n\n- This plugin requires assets path only nothing more\n\n### Add the package to your npm dependencies\n\n```\nnpm install expo-custom-assets\nyarn add expo-custom-assets\npnpm install expo-custom-assets\nbun install expo-custom-assets\n```\n\n# Installation in managed Expo projects\n\nFor [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects\n\n- After installing the package through npm add the plugin to your app.json\n\n```json\n    \"plugins\": [\n      [\n        \"expo-custom-assets\",\n        {\n          // Add asset directory paths, the plugin copies the files in the given paths to the app bundle folder named Assets\n          \"assetsPaths\": [\"./path-to-your-asset-folder\"]\n          // if you want custom assets directory name use this prop (default: \"Assets\")\n          // \"assetsDirName\": \"testName\"\n        }\n      ]\n    ]\n```\n\n# Installation in bare React Native projects\n\nFor bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.\n\n# Contributing\n\nContributions are very welcome! we have some things to do in our [Todo's](#Todo's)\n\n# Todo's\n\n- [x] Stop creating Assets folder in it exist\n- [x] Allow for custom asset folder name\n- [x] Fix typescript error when building the package\n- [ ] Add more example for other custom assets other than Rive\n\n# Credits\n\n- For the android part I almost used the plugin from [MortadhaFadhlaoui](https://github.com/MortadhaFadhlaoui) at \u003chttps://github.com/MortadhaFadhlaoui/rive-react-native-android-blank\u003e with small modifications\n- For ios part I really benefited from \u003chttps://github.com/outsung/expo-dynamic-app-icon\u003e\n- ChatGpt for the great help with making the script work as I wanted\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalaa-tech%2Fexpo-custom-assets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalaa-tech%2Fexpo-custom-assets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalaa-tech%2Fexpo-custom-assets/lists"}