Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Questions:

  •  N/D

Technical Refinement

Description

Discovery: Technical Discovery  

native code

  • TASK 1— [IOS] Create handling dynamic link

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

      • Add the FirebaseDynamicLinks lib on def firebase_pods

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

        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:

        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

  • N/A

Dependencies

  • N/A

Unit Test

  • N/A

  • N/A

  • No labels