{"id":21903977,"url":"https://github.com/m1ga/ti.inappupdate","last_synced_at":"2025-04-15T20:47:43.323Z","repository":{"id":80614977,"uuid":"436023342","full_name":"m1ga/ti.inappupdate","owner":"m1ga","description":"Android in-app update for Appcelerator Titanium","archived":false,"fork":false,"pushed_at":"2024-06-17T18:32:23.000Z","size":369,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T01:12:41.496Z","etag":null,"topics":["android","inapp-update","titanium-mobile","titanium-module"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m1ga.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-07T20:54:45.000Z","updated_at":"2024-06-17T18:32:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"a44d5acf-79ef-4e46-84d9-c5b96218e7f8","html_url":"https://github.com/m1ga/ti.inappupdate","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/m1ga%2Fti.inappupdate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.inappupdate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.inappupdate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.inappupdate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1ga","download_url":"https://codeload.github.com/m1ga/ti.inappupdate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249153067,"owners_count":21221321,"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","inapp-update","titanium-mobile","titanium-module"],"created_at":"2024-11-28T15:30:38.986Z","updated_at":"2025-04-15T20:47:43.300Z","avatar_url":"https://github.com/m1ga.png","language":"Java","funding_links":["https://www.buymeacoffee.com/miga"],"categories":[],"sub_categories":[],"readme":"# Android in-app update for Titanium\n\n\u003cimg src=\"assets/immediate_flow.png\"/\u003e\n\n## Example\n\nTo test it make sure to read: https://developer.android.com/guide/playcore/in-app-updates/test\n\n```js\nvar inappUpdate = require(\"ti.inappupdate\");\n\ninappUpdate.addEventListener(\"update\", function(e) {\n\tconsole.log(\"Has update\", e.update);\n\tif (e.update){\n\t\tinappUpdate.startUpdate();\n\t}\n});\ninappUpdate.checkForUpdate();\n\nTi.App.addEventListener(\"resume\", function(){\n  inappUpdate.resumeUpdate();\n})\n\ninappUpdate.addEventListener(\"resume\", function(e) {\n  console.log(\"resuming update\");\n});\ninappUpdate.addEventListener(\"error\", function(e) {\n  console.log(e);\n});\n\ninappUpdate.addEventListener(\"done\", function(e) {\n  console.log(\"done\");\n});\n\n```\n\n## Author\nMichael Gangolf (\u003ca href=\"https://github.com/m1ga\"\u003e@MichaelGangolf\u003c/a\u003e / \u003ca href=\"https://www.migaweb.de\"\u003eWeb\u003c/a\u003e)\n\n\n\u003cspan class=\"badge-buymeacoffee\"\u003e\u003ca href=\"https://www.buymeacoffee.com/miga\" title=\"donate\"\u003e\u003cimg src=\"https://img.shields.io/badge/buy%20me%20a%20coke-donate-orange.svg\" alt=\"Buy Me A Coke donate button\" /\u003e\u003c/a\u003e\u003c/span\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1ga%2Fti.inappupdate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1ga%2Fti.inappupdate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1ga%2Fti.inappupdate/lists"}