CocoaPods trunk is moving to be read-only. Read more on the blog, there are 10 months to go.

AppLinkAI 1.0.10

AppLinkAI 1.0.10

Maintained by Artur Mkrtchyan.



AppLinkAI 1.0.10

  • By
  • arturdev

AppLink.ai

AppLink.ai is a powerful library that simplifies the implementation of deeplinking and deferred deeplinking in iOS apps. It provides an easy-to-use API to handle incoming deeplinks and route them to the appropriate parts of your app, enabling a seamless user experience.

Features

  • Easy integration: Get started with just a few lines of code.
  • Seamless deeplinking: Handle incoming deeplinks effortlessly.
  • Deferred deeplinking: Support deferred deeplinks for receiving deeplink data even after app installation.
  • Universal link support: Works with both traditional deeplinks and universal links.

Installation

You can install AppLinkAI using CocoaPods. Add the following line to your Podfile:

pod 'AppLinkAI', '~> 1.0.0'

Usage

Set up AppLinkAI in your AppDelegate:

import AppLinkAI

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // ...
        AppLink.shared.initialize(launchOptions: launchOptions) { params, error in
            // Use params for your deeplinkings
        }
        // ...
        return true
    }
    
    func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
        // ...
        AppLink.shared.continue(userActivity)
        // ...
        return true
    }
    
    func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
        // ...
        AppLink.shared.handleDeepLink(url)
        // ...
        return true
    }        

Set up Api Keys in your app target's info.plist

<key>applink.keys</key>
<dict>
    <key>live</key>
    <string>{your live api key}</string>
    <key>test</key>
    <string>{your test api key}</string>
</dict>

If you don't have an api key yet, you can obtain one from applink.ai dashboard.

License

AppLinkAI is released under the MIT License. See LICENSE for details.

Contact

For any inquiries or feedback, please reach out to us at [email protected].