Installation
Carthage
Just add your Cartfile
github "fumito-ito/SwiftyInAppMessaging" ~> 2.0.0
and run carthage update
:warning: firebase ios sdk announces to discontinue carthage support. if firebase-ios-sdk stops supporting carthage, this library will follow.
Swift Package Manager
Just add to your Package.swift under dependencies
let package = Package(
    name: "MyPackage",
    products: [...],
    dependencies: [
        .package(url: "https://github.com/fumito-ito/SwiftyInAppMessaging.git", .upToNextMajor(from: "2.0.0"))
    ]
)
Cocoapods
Just add to your Podfile
pod 'SwiftyInAppMessaging'
and run pod install
If you have errors about Double-quoted include "*.h" in framework header, expected angle-bracketed instead, you can avoid these errors with following steps.
Recommended
- update your cocoapods 
1.10 or later 
- run 
pod install again 
If you cannot update Cocoapods
- Click 
Pods project 
- Click Project's 
Build Settings 
- Change 
Quoted include in Framework Header to No 
For more information, see a firebase-ios-sdk issue.
License
SwiftyInAppMessaging is available under the Apache License 2.0. See the LICENSE file for more detail.