Skip to content

Mapp SDK which provide all functionalities connected with push messages

Notifications You must be signed in to change notification settings

mapp-digital/Mapp-Engage-iOS-SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mapp SDK

This repository contains the Mapp iOS SDK.

Integration

Cocoa pods

target 'project_name' do
    pod 'MappSDK'
end

OR

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.

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>inapp</key>
    <dict>
        <key>custom_fields</key>
        <array>
            <string>customString</string>
            <string>customNumber</string>
            <string>customDate</string>
        </array>
        <key>media_timeout</key>
        <integer>5</integer>
    </dict>
    <key>sdk</key>
    <dict>
        <key>app_id</key>
        <string>263177</string>
        <key>dmc_system_id</key>
        <integer>55</integer>
        <key>sdk_key</key>
        <string>5c59a5b6b52eb2.62524838</string>
        <key>jamie_url</key>
        <string>jamie-test.shortest-route.com</string>
        <key>is_eu</key>
        <true/>
        <key>open_landing_page_inside_app</key>
        <false/>
    </dict>
</dict>
</plist>

Implementation

Objective-C

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

    return YES;
}

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/

About

Mapp SDK which provide all functionalities connected with push messages

Resources

Stars

Watchers

Forks

Packages

No packages published