Latest 1.0.0
Homepage https://github.com/HelpSumo/HelpSumo-ios
License MIT
Platforms ios 8.0
Dependencies FMDB, Cosmos
Authors

[![CI Status](http://img.shields.io/travis/Help Sumo/HelpSumoSDK.svg?style=flat)](https://travis-ci.org/Help Sumo/HelpSumoSDK)
Version
License
Platform

Example

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

Requirements

Installation

HelpSumoSDK is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "HelpSumoSDK"

Usage

Import the Pod
import HelpSumoSDK

Set API Key

// APIKey = “g9sfosdf8dfosdf7sfsfj3asdgh1m6” 
HSConfig.setAPIKey(“g9sfosdf8dfosdf7sfsfj3asdgh1m6”)

To Add Ticket module

let frameworkBundle = Bundle(for:  TicketHomeController.self)
let bundleURL = frameworkBundle.resourceURL?.AppendingPathComponent("HelpSumoSDK.bundle")
let resourceBundle = Bundle(url: bundleURL!)
let storyboard = UIStoryboard(name: "TicketList", bundle: resourceBundle)
let controller = storyboard.instantiateViewController(withIdentifier: "ticketsHomeController") as UIViewController       
self.present(controller, animated: true, completion: nil)

To Add Faq module

let frameworkBundle = Bundle(for:  TicketHomeController.self)
let bundleURL = frameworkBundle.resourceURL?.AppendingPathComponent( "HelpSumoSDK.bundle")
let resourceBundle = Bundle(url: bundleURL!)
let storyboard = UIStoryboard(name: "KnowledgeBase", bundle: resourceBundle)
let controller = storyboard.instantiateViewController(withIdentifier:"knowledgeBoard") as UIViewController       

self.present(controller, animated: true, completion: nil)

To Add Article module

let frameworkBundle = Bundle(for:  TicketHomeController.self)
let bundleURL = frameworkBundle.resourceURL?.AppendingPathComponent( "HelpSumoSDK.bundle")
let resourceBundle = Bundle(url: bundleURL!)
let storyboard = UIStoryboard(name: "Article", bundle: resourceBundle)
let controller = storyboard.instantiateViewController(withIdentifier: "articleBoard")                                   as UIViewController       

self.present(controller, animated: true, completion: nil)

Permissions Required

Add the following to info.plist file

    <key>NSPhotoLibraryUsageDescription</key>
        <string>To upload images related to ticket</string>
        <key>NSAppTransportSecurity</key>
        <dict>
        <key>NSExceptionDomains</key>
        <dict>
            <key>helpsumo.com</key>
            <dict>
            <key>NSIncludesSubdomains</key>
            <true/>
            <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
            <true/>
            <key>NSTemporaryExceptionMinimumTLSVersion</key>
            <string>TLSv1.1</string>
            </dict>
        </dict>
        </dict>

Author

Help Sumo

License

HelpSumoSDK is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "HelpSumoSDK",
    "version": "1.0.0",
    "summary": "HelpSumoSDK adds a additional layer of support to your app.",
    "description": "Adding HelpSumo SDK to your app allows you to create/view support tickets.To view articles and faq related to your app.",
    "homepage": "https://github.com/HelpSumo/HelpSumo-ios",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Help Sumo": "[email protected]"
    },
    "source": {
        "git": "https://github.com/HelpSumo/HelpSumo-ios.git",
        "commit": "1c100ecf43a87b793296235cf3ec00350d3c0df9",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "HelpSumoSDK/Classes/**/*",
    "resource_bundles": {
        "HelpSumoSDK": [
            "HelpSumoSDK/Assets/*.{png,jpg,xib,storyboard}"
        ]
    },
    "dependencies": {
        "FMDB": [],
        "Cosmos": []
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This