{"id":43943939,"url":"https://github.com/reggi49/rg-react-native-in-app-updates","last_synced_at":"2026-02-07T02:35:02.822Z","repository":{"id":55058959,"uuid":"522477487","full_name":"reggi49/rg-react-native-in-app-updates","owner":"reggi49","description":"Simple Package In App Updates For React Native","archived":false,"fork":false,"pushed_at":"2022-08-30T02:41:20.000Z","size":46,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-22T07:50:12.362Z","etag":null,"topics":["android","inappupdate","ios","react","react-native"],"latest_commit_sha":null,"homepage":"","language":"Java","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/reggi49.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-08T09:06:28.000Z","updated_at":"2024-06-19T05:08:43.000Z","dependencies_parsed_at":"2022-08-14T10:30:58.429Z","dependency_job_id":null,"html_url":"https://github.com/reggi49/rg-react-native-in-app-updates","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/reggi49/rg-react-native-in-app-updates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reggi49%2Frg-react-native-in-app-updates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reggi49%2Frg-react-native-in-app-updates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reggi49%2Frg-react-native-in-app-updates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reggi49%2Frg-react-native-in-app-updates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reggi49","download_url":"https://codeload.github.com/reggi49/rg-react-native-in-app-updates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reggi49%2Frg-react-native-in-app-updates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29184978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T00:44:15.062Z","status":"online","status_checked_at":"2026-02-07T02:00:07.217Z","response_time":63,"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","inappupdate","ios","react","react-native"],"created_at":"2026-02-07T02:35:01.568Z","updated_at":"2026-02-07T02:35:02.812Z","avatar_url":"https://github.com/reggi49.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rg-react-native-in-app-updates\nSimple Package In App Updates For React Native supports on both Android and IOS.\n\n\u003cimg src=\"https://images2.imgbox.com/52/1e/P4DsXevR_o.jpeg\" width=\"200\" height=\"400\" /\u003e \u003cimg src=\"https://images2.imgbox.com/ac/78/2pRcbvJ8_o.png\" width=\"200\" height=\"400\" /\u003e\n\n\n# Getting started\nrg-react-native-in-app-updates is a package/module created to support your app to update itself. whereas on ios devices the app only shows a prompt to update the app.\n\n# Installation\n\n    npm i rg-react-native-in-app-updates\n\n### For IOS Only : \nOn  **iOS**  you may need to also add the following lines in your Info.plist to be able to launch the store deep link.\n\n    \u003ckey\u003eLSApplicationQueriesSchemes\u003c/key\u003e\n    \u003carray\u003e\n      \u003cstring\u003eitms-apps\u003c/string\u003e\n    \u003c/array\u003e\n\n#### Troubleshooting\n if error appear :\n\n    Error: @react-native-community/react-native-device-info: NativeModule.RNDeviceInfo is null.\n\n You can install manually package **react-native-device-info** if you don't define a bundle Identifier and local version of the application. to install it run the following command.\n\nUsing npm:\n\n    npm install --save react-native-device-info\n\nor using yarn:\n\n    yarn add react-native-device-info\n\nthen\n\n    cd ios \u0026\u0026 pod install \u0026\u0026 cd ..\n\n## Options IOS Only\n\n|value|type|description|\n|--|--|--|\n|localVersion| String (Required if not uses **react-native-device-info**) | version currently running on the device|\n|bundleIdentifier|String (Required if not uses **react-native-device-info**)(**IOS Only**) | bundle identifier on Xcode |\n|title|String(Optional) | The title of the alert prompt when there's a new version. (default: `Update Available`) |\n|forceUpgrade| boolean (optional) | If set to true the user won't be able to cancel the upgrade (default:  `false`)|\n|message|String(Optional)|The content of the alert prompt when there's a new version (default:  `There is an updated version available on the App Store. Would you like to update?`)|\n|buttonUpdateText| String(Optional) |The text of the confirmation button on the alert prompt (default:  `Update` )|\n|buttonCancelText| String(Optional) | The text of the cancelation button on the alert prompt (default:  `Cancel`)|\n\n\n# Usage\n\n        import  RgInAppUpdates  from  'rg-react-native-in-app-updates';\n        \n        const  versionRules = {\n        localVersion: '1.0.0', //(optional) prefer not uses react-native-device-info\n        bundleIdentifier: 'com.package', //(optional) prefer not uses react-native-device-info\n        forceUpgrade:  false,\n        title:  'Update Tersedia',\n        message:\n        'Ada versi terbaru yang tersedia di App Store. Apakah Anda ingin Update?',\n        buttonUpgradeText:  'Update', \n        };\n        \n        //call in componentDidMount() or useeffect()\n        RgInAppUpdates(versionRules);\n        or \n        RgInAppUpdates({});\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freggi49%2Frg-react-native-in-app-updates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freggi49%2Frg-react-native-in-app-updates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freggi49%2Frg-react-native-in-app-updates/lists"}