From 14a40c657213c2a3270ef5b00d649892063119b5 Mon Sep 17 00:00:00 2001 From: huangminlinux <380108184@qq.com> Date: Wed, 25 Oct 2017 10:49:58 +0800 Subject: [PATCH] adjust ios registerNotification event --- src/ios/Plugins/AppDelegate+JPush.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/Plugins/AppDelegate+JPush.m b/src/ios/Plugins/AppDelegate+JPush.m index b441a6d..efc08fa 100644 --- a/src/ios/Plugins/AppDelegate+JPush.m +++ b/src/ios/Plugins/AppDelegate+JPush.m @@ -35,7 +35,7 @@ NSDictionary *_launchOptions; _jpushEventCache = @{}.mutableCopy; } - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(jpushSDKDidLoginNotification) name:kJPFNetworkDidLoginNotification object:nil]; + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(jpushSDKDidLoginNotification) name:kJPFNetworkDidRegisterNotification object:nil]; if (notification) { if (notification.userInfo) {