{"id":13814743,"url":"https://github.com/lightory/Pigeon","last_synced_at":"2025-05-15T06:32:30.123Z","repository":{"id":11559204,"uuid":"14045451","full_name":"lightory/Pigeon","owner":"lightory","description":"Detect new version from App Store, and notify user with local notifications.","archived":false,"fork":false,"pushed_at":"2014-03-17T02:38:23.000Z","size":400,"stargazers_count":197,"open_issues_count":1,"forks_count":28,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-08-04T04:06:12.470Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/lightory/Pigeon","language":"Objective-C","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/lightory.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":"2013-11-01T14:48:41.000Z","updated_at":"2023-12-25T22:02:57.000Z","dependencies_parsed_at":"2022-09-06T20:31:44.774Z","dependency_job_id":null,"html_url":"https://github.com/lightory/Pigeon","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightory%2FPigeon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightory%2FPigeon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightory%2FPigeon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightory%2FPigeon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightory","download_url":"https://codeload.github.com/lightory/Pigeon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225335135,"owners_count":17458216,"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-08-04T04:02:32.465Z","updated_at":"2024-11-19T10:30:21.011Z","avatar_url":"https://github.com/lightory.png","language":"Objective-C","funding_links":[],"categories":["Objective-C"],"sub_categories":[],"readme":"Pigeon\n======\nDetect new version from App Store, and notify user with local notifications.\n\n## Features\n- Just add 3 lines of code, and it works. VERY EASY TO USE.\n- Detect new version from App Store automatically. No server-side required.\n- Notify user after finish using the app. No Bother.\n- Post a notification when finding a new version. You can observe it and notify users in the way you prefer, a UIAlertView for example.\n\n## Demo \n\n![image](https://github.com/lightory/Pigeon/raw/master/Screenshot.png)\n\n## Quick Example\n\n``` objective-c\n@implementation AppDelegate\n\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\n{\n    [[Pigeon sharedInstance] enableLocalNotification];\n    [[Pigeon sharedInstance] startWithAppleId:@\"584296227\"];\n    \n    return YES;\n}\n\n- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification\n{\n    [[Pigeon sharedInstance] openInAppStore];\n}\n\n@end\n```\n\n## Customize\n\nYou can also customize Pigeon as you wish. REMEMBER to set the customizable properties before you call `startWithAppleId:`;\n\nManage the `latestVersion` yourself, so `Pigeon` won't fetch it from App Store.\n\n``` objective-c\n@property (strong, nonatomic) NSString *latestVersion;\n```\n\nThe message of local notification.\n\n``` objective-c\n@property (strong, nonatomic) NSString *updateMessage;\n```\n\nThe country code ( @\"us\", @\"ru\" for example ). You should set this code, if your application is not available in all countries. \n\n``` objective-c\n@property (strong, nonatomic) NSString *countyCode;\n```\n\nThe notify interval. Default values is one day.\n\n``` objective-c\n@property (assign, nonatomic) NSTimeInterval notifyInterval;\n```\n\n## One More Thing\n\n`Pigeon` will post a notification when finding a new version. You can observe it and notify users in the way you prefer, a UIAlertView for example.\n\n``` objective-c\n[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(showNewVersionAlertView) name:PigeonDidFindNewVersionNotification object:nil];\n```\n\n## Who use Pigeon?\n\nIf you're building your applications using `Pigeon`, please let me know! (add your application name \u0026 App Store link here and pull reuqest this README.\n\n- Curs Valutar și Convertor: https://itunes.apple.com/us/app/curs-valutar-si-convertor/id548653222\n\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 LIGHT lightory@gmail.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightory%2FPigeon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightory%2FPigeon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightory%2FPigeon/lists"}