{"id":25457806,"url":"https://github.com/rootpush/updates-expo-plugin","last_synced_at":"2026-02-09T22:32:18.560Z","repository":{"id":276539005,"uuid":"929580172","full_name":"rootpush/updates-expo-plugin","owner":"rootpush","description":"Enables you to deliver OTA updates to your Expo application.","archived":false,"fork":false,"pushed_at":"2025-02-08T22:16:39.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-08T22:21:48.098Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/rootpush.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":"2025-02-08T21:52:21.000Z","updated_at":"2025-02-08T22:16:43.000Z","dependencies_parsed_at":"2025-02-08T22:24:20.322Z","dependency_job_id":"5d86eb33-23bb-4e9b-87b2-404d460c85b8","html_url":"https://github.com/rootpush/updates-expo-plugin","commit_stats":null,"previous_names":["rootpush/updates-expo-plugin"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootpush%2Fupdates-expo-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootpush%2Fupdates-expo-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootpush%2Fupdates-expo-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootpush%2Fupdates-expo-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rootpush","download_url":"https://codeload.github.com/rootpush/updates-expo-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239394674,"owners_count":19631122,"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":"2025-02-18T02:18:56.413Z","updated_at":"2025-11-02T12:30:40.229Z","avatar_url":"https://github.com/rootpush.png","language":"TypeScript","readme":"# @rootpush/expo-updates-plugin\n\nA config plugin for Expo that enables Over-The-Air (OTA) updates in your application using @rootpush/updates.\n\n## Overview\n\nThis plugin modifies your native Android and iOS projects to integrate with the @rootpush/updates package, enabling you to deliver OTA updates to your Expo application. It handles the necessary native code modifications to override the default JavaScript bundle loading behavior.\n\n## Prerequisites\n\n- Expo SDK 48 or newer\n- @rootpush/updates package installed in your project\n\n## Installation\n\n```bash\n# Install the required packages\nnpm install @rootpush/updates @rootpush/updates-expo-plugin\n\n# If you're using yarn\nyarn add @rootpush/updates @rootpush/updates-expo-plugin\n```\n\n## Configuration\n\nAdd the plugin to your `app.json` or `app.config.js`:\n\n```json\n{\n  \"expo\": {\n    \"plugins\": [\n      \"@rootpush/updates-expo-plugin\"\n    ]\n  }\n}\n```\n\n## What This Plugin Does\n\nThis plugin makes the following modifications to your native projects:\n\n### Android Changes\n\n1. Adds `UpdatesPreferences` import to your `MainApplication.java`\n2. Overrides `getJSBundleFile()` to use the bundle path from `UpdatesPreferences`\n\n### iOS Changes\n\n#### For Objective-C Projects:\n1. Imports `UpdatesPreferences.h`\n2. Modifies the `getJSBundleURLForBundleRoot` implementation to use `UpdatesPreferences`\n\n#### For Swift Projects:\n1. Imports `UpdatesPreferences`\n2. Modifies the bundle URL retrieval to use `UpdatesPreferences`\n\n## Usage with @rootpush/updates\n\nThis plugin is designed to work in conjunction with the @rootpush/updates package. After setting up this plugin, you'll need to configure @rootpush/updates according to its documentation to handle the OTA update lifecycle.\n\n## Building Your Application\n\nAfter installing the plugin, rebuild your native projects:\n\n```bash\n# Clear the native build folders\nexpo prebuild --clean\n\n# Rebuild the native projects\nexpo prebuild\n```\n\n## Troubleshooting\n\nIf you encounter any issues:\n\n1. Ensure all prerequisites are installed\n2. Check that the plugin is properly listed in your Expo config\n3. Try cleaning and rebuilding your project\n4. Verify that @rootpush/updates is properly configured\n\n## Requirements\n\n- Expo SDK: ≥ 48\n- Platform: iOS and Android\n- @rootpush/updates: Compatible version\n\n## License\n\nThis project is licensed under the MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootpush%2Fupdates-expo-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frootpush%2Fupdates-expo-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootpush%2Fupdates-expo-plugin/lists"}