GithubHelp home page GithubHelp logo

balazsczap / ios-emarsys-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from emartech/ios-emarsys-sdk

0.0 1.0 0.0 2.76 MB

License: Mozilla Public License 2.0

Objective-C 95.83% Ruby 0.19% Shell 0.16% Swift 3.82% C 0.01% Standard ML 0.01%

ios-emarsys-sdk's Introduction

Contents

What is the Emarsys SDK?

The Emarsys SDK enables you to use Mobile Engage and Predict in a very straightforward way. By incorporating the SDK in your app, we, among others, support you in handling credentials, API calls, tracking of opens and events as well as logins and logouts in the app.

The Emarsys SDK is open-sourced to enhance transparency and to remove privacy concerns. This also means that you will always be up-to-date with what we are working on.

Using the SDK is also beneficial from the product aspect: it simply makes it much easier to send push messages through your app. Please always use the latest version of the SDK in your app.

Sample app

We created a sample application to help in the integration and give an example. Find instructions for the build process here.

Setup

1. Installation with CocoaPods

1.1 Install CocoaPods

CocoaPods is a dependency manager for iOS, which automates and simplifies the process of using 3rd-party libraries. You can install it with the following command:

$ gem install cocoapods

1.2 Podfile

To integrate the Emarsys SDK into your Xcode project using CocoaPods, specify it in your Podfile:

platform :ios, '11.0'

source 'https://github.com/CocoaPods/Specs.git'

target "<TargetName>" do
	pod ‘EmarsysSDK’, '~> ‹latest_released_version_of_emarsys-sdk›’
end

Wherever you see or anything similar in <> brackets, you should change those according to your own naming convention or add a value valid for the context.

1.3 Install Pods

After creating the Podfile, you need to execute the command below to download dependencies: pod install

2. Installation with Swift Package Manager

2.1 Add package in XCode

Select project and under Swift Packages add the package repository url: https://github.com/emartech/ios-emarsys-sdk.git

Select the desired version of the EmarsysSDK.

On the next page select the libraries you want to use and add them to the correct target, for example (based on our SampleApp):

EmarsysSDKLibrary and add to target EmarsysSample

EmarsysNotificationExtensionLibrary and add to target EMSNotificationService

3. Requirements

  • The iOS target should be iOS 11 or higher.
  • In order to be able to send push messages to your app, you need to have certifications from Apple Push Notification service (APNs).

Note

For further information about how to use our SDK please visit our Documentation

ios-emarsys-sdk's People

Contributors

lasori avatar davidschuppa avatar stoto avatar kovacszsoltizsolt avatar megamegax avatar rpspace avatar szabist avatar lobomotiv avatar jpersson avatar pjozsef avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.