react-native-integrate
Version:
Automate integration of additional code into React Native projects
27 lines (19 loc) • 699 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.notificationViewControllerM = void 0;
exports.notificationViewControllerM = `
@interface NotificationViewController () <UNNotificationContentExtension>
@property IBOutlet UILabel *label;
@end
@implementation NotificationViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any required interface initialization here.
}
- (void)didReceiveNotification:(UNNotification *)notification {
self.label.text = notification.request.content.body;
}
@end
`;