-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Watch app can now send data to Flutter app
- Loading branch information
SpiralArm Consulting Ltd
committed
Jan 29, 2019
1 parent
87c8d52
commit f8b4d42
Showing
6 changed files
with
190 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
#import <Flutter/Flutter.h> | ||
#import <UIKit/UIKit.h> | ||
#import <WatchConnectivity/WatchConnectivity.h> | ||
|
||
@interface AppDelegate : FlutterAppDelegate | ||
|
||
@interface WTUserInfoHandler : NSObject <FlutterStreamHandler> | ||
@end | ||
|
||
// Modified to add the Watch Session Delegate | ||
@interface AppDelegate : FlutterAppDelegate <WCSessionDelegate>{ | ||
@private | ||
WCSession *watchSession; | ||
WTUserInfoHandler* userInfoStreamHandler; | ||
} | ||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters