Skip to content

Commit

Permalink
Only implement `application:performActionForShortcutItem:completionHa…
Browse files Browse the repository at this point in the history
…ndler:` on iOS 9.0+. And fix some tests. (flutter#4600)
  • Loading branch information
Coder-256 authored and cbracken committed Jan 30, 2018
1 parent 8f2d72b commit c92e3df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
Google Inc.
Jim Simon <[email protected]>
Ali Bitek <[email protected]>
Jacob Greenfield <[email protected]>
3 changes: 2 additions & 1 deletion shell/platform/darwin/ios/framework/Headers/FlutterPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (BOOL)application:(UIApplication*)application
performActionForShortcutItem:(UIApplicationShortcutItem*)shortcutItem
completionHandler:(void (^)(BOOL succeeded))completionHandler;
completionHandler:(void (^)(BOOL succeeded))completionHandler
API_AVAILABLE(ios(9.0));

@end

Expand Down

0 comments on commit c92e3df

Please sign in to comment.