File tree Expand file tree Collapse file tree 2 files changed +0
-30
lines changed
Crashlytics/Crashlytics/Components Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -83,10 +83,6 @@ UIApplication* FIRCLSApplicationSharedInstance(void);
83
83
id FIRCLSApplicationSharedInstance (void );
84
84
#endif
85
85
86
- void FIRCLSApplicationOpenURL (NSURL * url,
87
- NSExtensionContext * extensionContext,
88
- void (^completionBlock)(BOOL success));
89
-
90
86
id <NSObject > FIRCLSApplicationBeginActivity (NSActivityOptions options, NSString * reason);
91
87
void FIRCLSApplicationEndActivity (id <NSObject > activity);
92
88
Original file line number Diff line number Diff line change @@ -155,32 +155,6 @@ id FIRCLSApplicationSharedInstance(void) {
155
155
}
156
156
#endif
157
157
158
- void FIRCLSApplicationOpenURL (NSURL * url,
159
- NSExtensionContext * extensionContext,
160
- void (^completionBlock)(BOOL success)) {
161
- if (extensionContext) {
162
- [extensionContext openURL: url completionHandler: completionBlock];
163
- return ;
164
- }
165
-
166
- BOOL result = NO ;
167
-
168
- #if TARGET_OS_IOS
169
- // What's going on here is the value returned is a scalar, but we really need an object to
170
- // call this dynamically. Hoops must be jumped.
171
- NSInvocationOperation * op =
172
- [[NSInvocationOperation alloc ] initWithTarget: FIRCLSApplicationSharedInstance ()
173
- selector: @selector (openURL: )
174
- object: url];
175
- [op start ];
176
- [op.result getValue: &result];
177
- #elif CLS_TARGET_OS_OSX
178
- result = [[NSClassFromString (@" NSWorkspace" ) sharedWorkspace ] openURL: url];
179
- #endif
180
-
181
- completionBlock (result);
182
- }
183
-
184
158
id <NSObject > FIRCLSApplicationBeginActivity (NSActivityOptions options, NSString * reason) {
185
159
if ([[NSProcessInfo processInfo ] respondsToSelector: @selector (beginActivityWithOptions:
186
160
reason: )]) {
You can’t perform that action at this time.
0 commit comments