Skip to content

It's a framework which can be used to report various types of errors, bug etc. directly from the iOS application. These reports can later be seen and managed inside the administration interface.

License

Notifications You must be signed in to change notification settings

pavolkmet/PannarioKit-iOS

Repository files navigation

PannarioKit

iOS Version Swift Version Supported devices Version License

Requirements

  • iOS 11.0+
  • Xcode 11.0+
  • Swift 5.2

Installation

CocoaPods

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

pod 'PannarioKit'

Then just run pod install.

Manually

Just drag and drop PannarioKit.xcframework into your project and select Copy items if needed.

Overview

It's a framework which can be used to report various types of errors, bug etc. directly from the iOS application. These reports can later be seen and managed inside the administration interface.

Usage

First make sure that you have imported a PannarioKit.

import PannarioKit

Then make sure that you add a new application with given bundleID in administrative interface. After that you receive token which you will use in the process of initialization of PannarioKit.

Initialize PannarioKit like so:

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?
    
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        
        Pannario.shared.configure(recognitions: [.shakeGesture, .imageCapture], token: "PLACE_YOUR_TOKEN_HERE")
        
        return true
    }

}

You can choose from different types of recognitions like shakeGesture and imageCapture. These recognitions are used to trigger and show PannarioKit over your application.

You can also show PannarioKit as you can see below:

final class MainViewController: UIViewController {
    
    // MARK: - IBAction
    
    @IBAction func showPannario(_ sender: UIButton) {
        Pannario.shared.present(over: self)
    }

}

And that's all. You have successfully integrated PannarioKit.

Author

Pavol Kmet

License

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

Note

PannarioKit it's my diploma thesis project. More about my diploma thesis can be found at the link.

About

It's a framework which can be used to report various types of errors, bug etc. directly from the iOS application. These reports can later be seen and managed inside the administration interface.

Resources

License

Stars

Watchers

Forks

Packages

No packages published