mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 09:12:02 +00:00
f4c286f7ac
Summary: Adds support for [Universal Links](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/AppSearch/UniversalLinks.html). Closes https://github.com/facebook/react-native/pull/4109 Reviewed By: svcscm Differential Revision: D2658105 Pulled By: nicklockwood fb-gh-sync-id: 7d94564f64cda7d31c79cf8f4c450ed2387057be
26 lines
761 B
Objective-C
26 lines
761 B
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import "RCTBridgeModule.h"
|
|
|
|
@interface RCTLinkingManager : NSObject <RCTBridgeModule>
|
|
|
|
+ (BOOL)application:(UIApplication *)application
|
|
openURL:(NSURL *)URL
|
|
sourceApplication:(NSString *)sourceApplication
|
|
annotation:(id)annotation;
|
|
|
|
+ (BOOL)application:(UIApplication *)application
|
|
continueUserActivity:(NSUserActivity *)userActivity
|
|
restorationHandler:(void (^)(NSArray *))restorationHandler;
|
|
|
|
@end
|