diff --git a/README.md b/README.md index 14d1961a8d661b82fd9140ddfe7d6efafe2051a8..192475e6a27cd01dbc0e9fd602f9318c987221f3 100644 --- a/README.md +++ b/README.md @@ -195,7 +195,7 @@ Edit `AppDelegate.m`: + + //You can skip this method if you don't want to use local notification + -(void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification { -+ [[NSNotificationCenter defaultCenter] postNotificationName:FCMNotificationReceived object:self + userInfo:notification.userInfo]; ++ [[NSNotificationCenter defaultCenter] postNotificationName:FCMNotificationReceived object:self userInfo:notification.userInfo]; + } + + - (void)application:(UIApplication *)application didReceiveRemoteNotification:(nonnull NSDictionary *)userInfo fetchCompletionHandler:(nonnull void (^)(UIBackgroundFetchResult))completionHandler{