{"id":24896769,"url":"https://github.com/0x0c/m2dpushnotificationmanager","last_synced_at":"2025-10-16T11:31:13.011Z","repository":{"id":13447619,"uuid":"16137011","full_name":"0x0c/M2DPushNotificationManager","owner":"0x0c","description":"Get device token and send to your server.","archived":false,"fork":false,"pushed_at":"2023-04-16T07:15:49.000Z","size":97,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-15T23:30:07.807Z","etag":null,"topics":["ios","ios-app","objective-c","objective-c-library"],"latest_commit_sha":null,"homepage":"","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/0x0c.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":"2014-01-22T11:09:03.000Z","updated_at":"2017-03-16T23:06:29.000Z","dependencies_parsed_at":"2022-09-22T14:26:05.018Z","dependency_job_id":null,"html_url":"https://github.com/0x0c/M2DPushNotificationManager","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/0x0c/M2DPushNotificationManager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0c%2FM2DPushNotificationManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0c%2FM2DPushNotificationManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0c%2FM2DPushNotificationManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0c%2FM2DPushNotificationManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x0c","download_url":"https://codeload.github.com/0x0c/M2DPushNotificationManager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0c%2FM2DPushNotificationManager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279183671,"owners_count":26121446,"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","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"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":["ios","ios-app","objective-c","objective-c-library"],"created_at":"2025-02-01T20:15:09.669Z","updated_at":"2025-10-16T11:31:12.668Z","avatar_url":"https://github.com/0x0c.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# M2DPushNotificationManager\n\n[![CI Status](http://img.shields.io/travis/Akira Matsuda/M2DPushNotificationManager.svg?style=flat)](https://travis-ci.org/Akira Matsuda/M2DPushNotificationManager)\n[![Version](https://img.shields.io/cocoapods/v/M2DPushNotificationManager.svg?style=flat)](http://cocoadocs.org/docsets/M2DPushNotificationManager)\n[![License](https://img.shields.io/cocoapods/l/M2DPushNotificationManager.svg?style=flat)](http://cocoadocs.org/docsets/M2DPushNotificationManager)\n[![Platform](https://img.shields.io/cocoapods/p/M2DPushNotificationManager.svg?style=flat)](http://cocoadocs.org/docsets/M2DPushNotificationManager)\n\n## Usage\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\nFirst, request device token to APNS.\n\n\t[[M2DPushNotificationManager sharedInstanceWithDelegate:self] registerDeviceTokenWithRemoteNotificationTypes:(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeSound) sendToProviderBlocks:^(NSString *token) {\n\t\t//send device token to your server.\n\t}];\n\nSecond, decode device token\n\n\t- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {\n\t\t[[M2DPushNotificationManager sharedInstance] processDeviceToken:deviceToken];\n\t}\n\t//If you are using iOS8, please implenent this method.\n\t- (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings\n\t{\n    \t[application registerForRemoteNotifications];\n\t}\n\nAll done.\n\n## Requirements\n\n## Installation\n\nM2DPushNotificationManager is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n    pod \"M2DPushNotificationManager\"\n\n## Author\n\nAkira Matsuda, akira.m.itachi@gmail.com\n\n## License\n\nM2DPushNotificationManager is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x0c%2Fm2dpushnotificationmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x0c%2Fm2dpushnotificationmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x0c%2Fm2dpushnotificationmanager/lists"}