Latest 1.3
Homepage https://github.com/google/macops-molfcmclient
License Apache 2.0
Platforms osx 10.9
Dependencies MOLAuthenticatingURLSession
Authors

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.

Latest podspec

{
    "name": "MOLFCMClient",
    "version": "1.3",
    "platforms": {
        "osx": "10.9"
    },
    "license": {
        "type": "Apache 2.0",
        "file": "LICENSE"
    },
    "homepage": "https://github.com/google/macops-molfcmclient",
    "authors": {
        "Google Macops": "[email protected]"
    },
    "summary": "A macOS ObjC client for receiving and acknowledging FCM messages",
    "source": {
        "git": "https://github.com/google/macops-molfcmclient.git",
        "tag": "v1.3"
    },
    "source_files": "MOLFCMClient/*.{h,m}",
    "dependencies": {
        "MOLAuthenticatingURLSession": [
            "~> 2.1"
        ]
    }
}

Pin It on Pinterest

Share This