Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mapp-digital/mapp-engage-ios-sdk

Mapp SDK which provide all functionalities connected with push messages
https://github.com/mapp-digital/mapp-engage-ios-sdk

Last synced: 6 days ago
JSON representation

Mapp SDK which provide all functionalities connected with push messages

Awesome Lists containing this project

README

        

Mapp SDK
===========
This repository contains the Mapp iOS SDK.

Integration
-----------

**Cocoa pods**

```ruby
target 'project_name' do
pod 'MappSDK'
end
```

**OR**

```ruby
target 'project_name' do
pod 'MappSDK', :git => 'https://github.com/MappCloud/MappSDK.git', :tag => '6.0.7'
end
```

**Manual**

* Drag and drop the ```AppoxeeSDK.xcframework``` to your project.
* Drag and drop the ```AppoxeeSDKResources.bundle``` to your project.
* Link ```UserNotifications.framework``` to your project.

Configuration file
------------------

Make sure to provide an ```AppoxeeConfig.plist``` file.

```

inapp

custom_fields

customString
customNumber
customDate

media_timeout
5

sdk

app_id
263177
dmc_system_id
55
sdk_key
5c59a5b6b52eb2.62524838
jamie_url
jamie-test.shortest-route.com
is_eu

open_landing_page_inside_app

```

Implementation
--------------

**Objective-C**
```objective-c
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[[Appoxee shared] engageAndAutoIntegrateWithLaunchOptions:launchOptions andDelegate:nil with:EMC_US];

return YES;
}
```

**Swift**
```swift
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

Appoxee.shared()?.engageAndAutoIntegrate(launchOptions: launchOptions, andDelegate: nil, with: .EMC_US)

return true
}
```

License
-------
https://mapp.com/contracts/