summaryrefslogtreecommitdiff
path: root/StoneIsland/plugins/cordova-plugin-firebasex/src/ios/FirebasePluginMessageReceiver.m
blob: 0990d8c15d0fef9a45af70bbe843d473b129a143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#import "FirebasePluginMessageReceiver.h"
#import "FirebasePluginMessageReceiverManager.h"

@implementation FirebasePluginMessageReceiver

- (id) init {
    [FirebasePluginMessageReceiverManager register:self];
    return self;
}

// Concrete subclasses should override this and return true if they handle the received message.
- (bool) sendNotification:(NSDictionary *)userInfo {
    NSAssert(false, @"You cannot call sendNotification on the FirebasePluginMessageReceiver class directly. Instead, you must override it using a subclass.");
    return false;
}

@end