Skip to content

Commit

Permalink
Set Airship Proxy Delegate on Airship Autopilot
Browse files Browse the repository at this point in the history
  • Loading branch information
crow committed Oct 24, 2024
1 parent 44d1c1c commit 557c693
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ios/Classes/AirshipAutopilot.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ public class AirshipAutopilot: NSObject {
public func onLoad(launchOptions: [UIApplication.LaunchOptionsKey : Any]?) {
self.launchOptions = launchOptions
try? AirshipProxy.shared.attemptTakeOff(launchOptions: launchOptions)

/// Set Airship Proxy Delegate on Airship Autopilot
AirshipProxy.shared.delegate = self
}

private (set) var launchOptions: [UIApplication.LaunchOptionsKey : Any]?
Expand Down

0 comments on commit 557c693

Please sign in to comment.