Added screens in sample app for notification

Summary:
Added a basic communication flows and a button to trigger notification
{F142016937}

Reviewed By: jknoxville

Differential Revision: D10492428

fbshipit-source-id: b65fc46b3be695852f9197771a253d9e8596f328
This commit is contained in:
Pritesh Nandgaonkar
2018-10-23 09:11:11 -07:00
committed by Facebook Github Bot
parent 74c1a24b86
commit 12d2af38f7
8 changed files with 276 additions and 20 deletions

View File

@@ -8,7 +8,12 @@
#import <Foundation/Foundation.h>
#import <FlipperKit/FlipperPlugin.h>
@protocol FlipperKitExampleCommunicationResponderDelegate
- (void)messageReceived:(NSString *)msg;
@end
@interface FlipperKitExamplePlugin : NSObject<FlipperPlugin>
@property (weak, nonatomic) id<FlipperKitExampleCommunicationResponderDelegate> delegate;
- (instancetype)init NS_UNAVAILABLE;
- (void)sendMessage:(NSString *)msg;