mParticle-tvOS-SDK 1.0.0

mParticle-tvOS-SDK 1.0.0

TestsTested
LangLanguage Obj-CObjective C
License Apache 2
ReleasedLast Release Sep 2016

Maintained by Peter Jenkins, Sam Dozor.



mParticle tvOS SDK

Hello! This is the initial open source release of the mParticle tvOS SDK. We could not be more excited to be able to share it with you.

Your job is to build an awesome app experience that consumers love. You also need several tools and services to make data-driven decisions. Like most app owners, you end up implementing and maintaining numerous SDKs ranging from analytics, attribution, push notification, remarketing, monetization, etc. But embedding multiple 3rd party libraries creates a number of unintended consequences and hidden costs. From not being able to move as fast as you want, to bloating and destabilizing your app, to losing control and ownership of your 1st party data.

mParticle solves all these problems with one lightweight SDK. Implement new partners without changing code or waiting for app store approval. Improve stability and security within your app. We enable our clients to spend more time innovating and less time integrating.

Installation

All Kits

mParticle-tvOS-SDK is available through CocoaPods. To install it, simply add the following statement to your Podfile:

pod 'mParticle-tvOS-SDK', '~> 1'

Initialize the SDK

Call the startWithKey method within the application did finish launching delegate call. The mParticle SDK must be initialized with your app key and secret prior to use.

Swift

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
    MParticle.sharedInstance().startWithKey("<<<App Key Here>>>", secret:"<<<App Secret Here>>>")

    return true
}

Objective-C

#import <mParticle.h>

- (BOOL)application:(UIApplication *)application
        didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    [[MParticle sharedInstance] startWithKey:@"<<<App Key Here>>>"
                                      secret:@"<<<App Secret Here>>>"];

    return YES;
}

Documentation

Detailed documentation and other information about the mParticle SDK can be found at: http://docs.mparticle.com

Author

mParticle, Inc.

Support

[email protected]

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

License

mParticle-tvOS-SDK is available under the Apache license. See the LICENSE file for more info.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.