Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • TASK 1— [IOS] Create handling dynamic link

    • path: intl-whitelabel-app/workspaces/frontend/ios/App/Podfile

      • Add the FirebaseDynamicLinks lib on def firebase_pods

        Code Block
        pod 'FirebaseDynamicLinks', '~> 7.11.0'
      • After, run the command, on path: intl-whitelabel-app/workspaces/frontend/ios/App

        Code Block
        pod install
    • path: intl-whitelabel-app/workspaces/frontend/ios/App/App/AppDelegate.swift

      • We will need to change func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool

      • We will use the method:

        Code Block
        languageswift
        func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
              
              // Called when the app was launched with an activity, including Universal Links.
              // Feel free to add additional processing here, but if you want the App API to support
              // tracking app url opens, make sure to keep this call
              Branch.getInstance().continue(userActivity)
                    
              DynamicLinks.dynamicLinks()
                .handleUniversalLink(userActivity.webpageURL!) { (dynamiclink, error) in
                    if let dynamiclink = dynamiclink {
                    ...
                    }
                    else {
                        CAPBridge.handleContinueActivity(userActivity, restorationHandler)
                    }
                }
              
            return true
          }

Screenshots

  • N/A

POC

  • N/A

Impact Analysis

...