mirror of
https://github.com/status-im/react-native.git
synced 2025-02-23 06:38:13 +00:00
Summary: Fixes #20797 As mentioned in #20797 when running `react-native run-ios Xcode 9.2 will complain about the nullability of pointers in `RCTLinkingManager.h`. Pull Request resolved: https://github.com/facebook/react-native/pull/20798 Differential Revision: D9988581 Pulled By: hramos fbshipit-source-id: e3ce7736da97d314a421c2c1ab71577864081642
28 lines
897 B
Objective-C
28 lines
897 B
Objective-C
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <React/RCTEventEmitter.h>
|
|
|
|
@interface RCTLinkingManager : RCTEventEmitter
|
|
|
|
+ (BOOL)application:(nonnull UIApplication *)app
|
|
openURL:(nonnull NSURL *)URL
|
|
options:(nonnull NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options;
|
|
|
|
+ (BOOL)application:(nonnull UIApplication *)application
|
|
openURL:(nonnull NSURL *)URL
|
|
sourceApplication:(nullable NSString *)sourceApplication
|
|
annotation:(nonnull id)annotation;
|
|
|
|
+ (BOOL)application:(nonnull UIApplication *)application
|
|
continueUserActivity:(nonnull NSUserActivity *)userActivity
|
|
restorationHandler:(nonnull void (^)(NSArray *__nullable))restorationHandler;
|
|
|
|
@end
|