Latest 1.0.2
Homepage https://github.com/sinch/SinchService-iOS
License Apache
Platforms ios 6.0
Authors

SinchService is a supplementary component to the Sinch RTC SDK for iOS (http://www.sinch.com/ios/).

Install via CocoaPods

Add to your Podfile:

pod 'SinchService'

Example Usage

 #import <Sinch/Sinch.h>
 #import <SinchService/SinchService.h>

 id config = [SinchService configWithApplicationKey:@"<APPLICATION KEY>"
                                  applicationSecret:@"<APPLICATION SECRET>"
                                    environmentHost:@"sandbox.sinch.com"];

 [config pushNotificationsWithEnvironment:SINAPSEnvironmentAutomatic];

 id<SINService> sinch = [SinchService serviceWithConfig:config];

 sinch.delegate = self;
 sinch.callClient.delegate = self;
 sinch.messageClient.delegate = self;

 [sinch logInUserWithId:@"<USER ID>"];

Latest podspec

{
    "name": "SinchService",
    "version": "1.0.2",
    "platforms": {
        "ios": "6.0"
    },
    "summary": "SinchService provides the class SINService which is a high-level wrapper around the Sinch iOS SDK",
    "description": "SinchService provides the class SINService which is a high-level wrapper around the Sinch iOS SDK.",
    "homepage": "https://github.com/sinch/SinchService-iOS",
    "authors": {
        "Christoffer Ahlbin": "[email protected]"
    },
    "license": {
        "type": "Apache"
    },
    "source": {
        "git": "https://github.com/sinch/SinchService-iOS.git",
        "tag": "1.0.2"
    },
    "public_header_files": [
        "SinchService/SINService.h",
        "SinchService/SinchService.h"
    ],
    "source_files": "SinchService/*.{h,m}",
    "subspecs": [
        {
            "name": "SinchHeaders",
            "source_files": "SinchService/PrivateHeaders/Sinch/*.h",
            "header_dir": "Sinch"
        }
    ]
}

Pin It on Pinterest

Share This