From 49b8839fda3439edc31581527e84036e58f55f0f Mon Sep 17 00:00:00 2001
From: lpw <pengwei.li@gamehollywood.com>
Date: Tue, 26 Jan 2021 09:43:00 +0800
Subject: [PATCH] 3.9.2

---
 frameworks/Bolts.framework/Headers/BFAppLinkNavigation.h |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/frameworks/Bolts.framework/Headers/BFAppLinkNavigation.h b/frameworks/Bolts.framework/Headers/BFAppLinkNavigation.h
index d459f72..4b8a71e 100644
--- a/frameworks/Bolts.framework/Headers/BFAppLinkNavigation.h
+++ b/frameworks/Bolts.framework/Headers/BFAppLinkNavigation.h
@@ -33,6 +33,7 @@
  custom requests with additional navigation and app data attached to them by
  creating BFAppLinkNavigations themselves.
  */
+NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension")
 @interface BFAppLinkNavigation : NSObject
 
 /*!
@@ -57,6 +58,12 @@
                                extras:(NSDictionary *)extras
                           appLinkData:(NSDictionary *)appLinkData;
 
+/*!
+ Creates an NSDictionary with the correct format for iOS callback URLs,
+ to be used as 'appLinkData' argument in the call to navigationWithAppLink:extras:appLinkData:
+ */
++ (NSDictionary *)callbackAppLinkDataForAppWithName:(NSString *)appName url:(NSString *)url;
+
 /*! Performs the navigation */
 - (BFAppLinkNavigationType)navigate:(NSError **)error;
 
@@ -69,6 +76,20 @@
 /*! Navigates to a BFAppLink and returns whether it opened in-app or in-browser */
 + (BFAppLinkNavigationType)navigateToAppLink:(BFAppLink *)link error:(NSError **)error;
 
+/*!
+ Returns a BFAppLinkNavigationType based on a BFAppLink.
+ It's essentially a no-side-effect version of navigateToAppLink:error:,
+ allowing apps to determine flow based on the link type (e.g. open an
+ internal web view instead of going straight to the browser for regular links.)
+ */
++ (BFAppLinkNavigationType)navigationTypeForLink:(BFAppLink *)link;
+
+/*!
+ Return navigation type for current instance.
+ No-side-effect version of navigate:
+ */
+- (BFAppLinkNavigationType)navigationType;
+
 /*! Navigates to a URL (an asynchronous action) and returns a BFNavigationType */
 + (BFTask *)navigateToURLInBackground:(NSURL *)destination;
 

--
Gitblit v1.8.0