Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
namidan committed Sep 6, 2023
1 parent cf37cf7 commit dd07cd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ios/NamiPaywallManagerBridge.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class RNNamiPaywallManager: RCTEventEmitter {
}

override func supportedEvents() -> [String]! {
return ["RegisterBuySKU", "PaywallCloseRequested", "PaywallSignInRequested", "PaywallRestoreRequested"]
return ["RegisterBuySKU", "PaywallCloseRequested", "PaywallSignInRequested", "PaywallRestoreRequested", "PaywallDeeplinkAction"]
}

@objc(buySkuComplete:)
Expand Down
3 changes: 3 additions & 0 deletions src/NamiPaywallManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ export interface INamiPaywallManager {
registerRestoreHandler: (
callback: () => void,
) => EmitterSubscription['remove'];
registerDeeplinkActionHandler: (
callback: (url: string) => void,
) => EmitterSubscription['remove'];
dismiss: (animated?: boolean) => void;
show: () => void;
hide: () => void;
Expand Down

0 comments on commit dd07cd0

Please sign in to comment.