GithubHelp home page GithubHelp logo

holler-ios's Introduction

HOLLER-iOS

[![CI Status](http://img.shields.io/travis/Phong Nguyen/HOLLER-iOS.svg?style=flat)](https://travis-ci.org/Phong Nguyen/HOLLER-iOS) Version License Platform

HOLLER is a delightful Mobile Marketing Automation (MMA) SDK, offcially provide by Rainmaker Labs Pte. Build upon strong MMA platform of Rainmaker Labs to make Mobile Marketing with ease and effortless. HOLLER empower every mobile app with strong built-in Push Notification, SMS and Email use segmentation target your audiences everywhere. We help your mobile app with ability Deliver right content at eligible moment to correct user. We love to hear from your project use our SDK.

Installation

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like HOLLER in your projects. See the "Getting Started" guide for more information. You can install it with the following command:

$ gem install cocoapods

Podfile

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'

target 'TargetName' do
pod 'HOLLER-iOS', '~> 0.0.2'
end

Then, run the follow command:

$ pod install

Requirements

iOS 8.0 or above

Architecture

Communication

  • HLCommunication
  • HLPush
  • HLSMS
  • HLEMD

Segmentation

  • HLSubscriber
  • HLTarget

Analytics & Insight

  • HLAnalytic

Usage

Subscriber

Subscriber is mobile user subscribes to your service, managed well by HOLLER platform. These user's able to receive notification through mobile marketing campaign which is handled by HOLLER. Each subscriber live in difference places in the world, works in industries, and assigned to several positions (designations) with responsibilities. Some of them prefer mobile apps as hobbies rather than other entertainment.

Create a new Subscriber

You can create new subscriber in silent mode by adding the following code:

HLSubscriber *subscriber = [[HLSubscriber alloc] init];
[subscriber setSubscriberFirstName:@"Rain"];
[subscriber setSubscriberLastName:@"maker"];
[subscriber setSubscriberEmail:@"[email protected]"];
[subscriber setSubscriberUsername:@"rainMaker"];
[subscriber setSubscriberCellphoneNumber:@"65 90755230"];
[subscriber setSubscriberDeviceToken:@"FE66489F304DC75B8D6E8200DFF8A456E8DAEACEC428B427E9518741C92C6660"];

[subscriber setSubscriberInformations:@{@"gps_latitude": @0,
@"gps_longitude": @0,
@"gender": @"male",
@"date_of_birth": @"2016/6/12",
@"country": @"SG",
@"industry": @"",
@"designation": @"",
@"interest_id": @""}];
[subscriber registerSubscriberSilently];

Or you can create new subscriber with callback block and handle successful event by adding the following code:

HLSubscriber *subscriber = [[HLSubscriber alloc] init];
[subscriber setSubscriberFirstName:@"rain"];
[subscriber setSubscriberLastName:@"maker"];
[subscriber setSubscriberEmail:@"[email protected]"];
[subscriber setSubscriberUsername:@"rainMaker"];
[subscriber setSubscriberCellphoneNumber:@"65 90755230"];
[subscriber setSubscriberDeviceToken:@"FE66489F304DC75B8D6E8200DFF8A456E8DAEACEC428B427E9518741C92C6660"];

[subscriber setSubscriberInformations:@{@"gps_latitude": @0,
@"gps_longitude": @0,
@"gender": @"male",
@"date_of_birth": @"2016/6/12",
@"country": @"SG",
@"industry": @"",
@"designation": @"",
@"interest_id": @""}];
[subscriber registerSubscriberOnCompletion:^(BOOL succeed, NSError *error, HLError *errorObject, NSNumber *subscriberId){
if(errorObject){
//handle error object with description and error status
}else{
//succeed. subscriberId'll returned back
}
}];

Author

Phong Nguyen, [email protected]

License

HOLLER-iOS is available under the MIT license. See the LICENSE file for more info.

holler-ios's People

Contributors

phongnguyenholler avatar

Watchers

James Cloos avatar Rainmaker-Labs avatar  avatar  avatar  avatar

Forkers

modernmediagrp

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.