No description, website, or topics provided.
Objective-C Ruby
Latest commit f66fef4 Dec 21, 2016 @tburgin tburgin committed on GitHub Merge pull request #2 from tburgin/master
Handle relevant NSURLErrors
Permalink
Failed to load latest commit information.
MOLFCMClient.xcodeproj Initial MOLFCMClient OSS Re Nov 10, 2016
MOLFCMClient.xcworkspace Initial MOLFCMClient OSS Re Nov 10, 2016
MOLFCMClient
MOLFCMClientTests fix tests Dec 19, 2016
.gitignore Initial MOLFCMClient OSS Re Nov 10, 2016
CONTRIBUTING.md
LICENSE
MOLFCMClient.podspec handle more NSURLErrors Dec 19, 2016
Podfile Initial MOLFCMClient OSS Re Nov 10, 2016
Podfile.lock Initial MOLFCMClient OSS Re Nov 10, 2016
README.md Initial MOLFCMClient OSS Re Nov 10, 2016

README.md

MOLFCMClient

A client for receiving and acknowledging FCM messages.

Usage

#import <MOLFCMClient/MOLFCMClient.h>

MOLFCMClient *fcmClient = [[MOLFCMClient alloc] initWithFCMToken:token
                                            sessionConfiguration:configuration
                                                 messagesHandler:^(NSDictionary *message) {
  NSLog(@"%@", message);
  [fcmClient acknowledgeMessage:message];
}];
[fcmClient connect];

Installation

Install using CocoaPods.

pod 'MOLFCMClient'

Documentation

Reference documentation is at CocoaDocs.org:

http://cocoadocs.org/docsets/MOLFCMClient

Contributing

Patches to this library are very much welcome. Please see the CONTRIBUTING file.