{"id":22413574,"url":"https://github.com/nextfaze/ios-manup","last_synced_at":"2025-07-31T23:31:28.465Z","repository":{"id":62447497,"uuid":"6344685","full_name":"NextFaze/ios-manup","owner":"NextFaze","description":"A server side check of the app version and configuration options for your iOS app.","archived":false,"fork":false,"pushed_at":"2020-08-03T01:04:29.000Z","size":798,"stargazers_count":5,"open_issues_count":3,"forks_count":7,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-04-20T13:40:57.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NextFaze.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":"2012-10-23T00:45:17.000Z","updated_at":"2021-06-24T07:22:17.000Z","dependencies_parsed_at":"2022-11-01T22:31:29.578Z","dependency_job_id":null,"html_url":"https://github.com/NextFaze/ios-manup","commit_stats":null,"previous_names":["nextfaze/manup"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NextFaze%2Fios-manup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NextFaze%2Fios-manup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NextFaze%2Fios-manup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NextFaze%2Fios-manup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NextFaze","download_url":"https://codeload.github.com/NextFaze/ios-manup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228312126,"owners_count":17900219,"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-12-05T14:13:31.842Z","updated_at":"2024-12-05T14:13:32.396Z","avatar_url":"https://github.com/NextFaze.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"https://github.com/NextFaze/ManUp/raw/master/icon.png\" width=\"40\"\u003e ManUp\n\n[![Build Status](https://travis-ci.org/NextFaze/ManUp.svg?style=flat)](https://travis-ci.org/NextFaze/ManUp)\n[![Version](https://img.shields.io/cocoapods/v/ManUp.svg?style=flat)](http://cocoapods.org/pods/ManUp)\n[![License](https://img.shields.io/cocoapods/l/ManUp.svg?style=flat)](http://cocoapods.org/pods/ManUp)\n[![Platform](https://img.shields.io/cocoapods/p/ManUp.svg?style=flat)](http://cocoapods.org/pods/ManUp)\n\nAdds a server side check for a mandatory app update and server-side configuration options to your iOS/tvOS application.\n\nUseful things you can do with ManUp:\n\n- Prevent users from using the app during server-side maintenance 🚧\n- Remotely disable your app (killswitch) 🛑\n- Disable specific features in the app from the server 🙅‍♂️\n- Recommend (or require) that users update to a specific version or higher ⏬\n\n## Installation\n\nThe preferred method is via CocoaPods:\n\n```pod\npod 'ManUp'\n```\n\n## Usage\n\nManUp will download a ManUp configuration file (json) that is hosted on a server of your choice. This file will have the current app store version, the minimum version, and a URL to the app store or app website.\n\n```json\n{\n  \"ios\": {\n    \"url\": \"https://itunes.apple.com/app/id0000000?mt=8\",\n    \"latest\": \"2.0\",\n    \"minimum\": \"1.1\",\n    \"enabled\": true\n  }\n}\n```\n\nRunning ManUp will download this file and compare it to the installed app's version to determine if there is an update available (`latest`), or if there is a mandatory update required (`minimum`).\n\n#### Swift\n\n```swift\nimport ManUp\n\n// keep a strong reference\nlet manUp = ManUp()\n\n// typically in applicationDidBecomeActive\nself.manUp.configURL = URL(string: \"https://clientfiles.nextfaze.com/eva/maintenanceMode.json\")\nself.manUp.delegate = nil\nself.manUp.validate()\n```\n\n#### Objective-C\n\n```objc\n#import \u003cManUp/ManUp.h\u003e\n\n// keep a strong reference\n@property (nonatomic, strong) ManUp *manUp;\n\nself.manUp = [[ManUp alloc] initWithConfigURL:[NSURL URLWithString:@\"https://yourserver.com/config.json\"] delegate:self];\n[self.manUp validate];\n```\n\nYou can also add any keys and values to the json file, which will be accessible like so:\n\n```objc\nid value = [self.manUp settingForKey:\"key\"];\n```\n\nThis can be used however you see fit, for example to enable/disable app features.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextfaze%2Fios-manup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextfaze%2Fios-manup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextfaze%2Fios-manup/lists"}