IOS 环信环信离线Apns消息 收不到

证书 检查了 改成百度推送就能收到

注册了 成功 err=nil
        EMError *err=[[EaseMob sharedInstance] registerSDKWithAppKey:@"略" apnsCertName:@"略"];
 apn名字检查了也一致
        [[EaseMob sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions];
token  环信获取成功
- (void)applicationDidEnterBackground:(UIApplication *)application
{
    [[EaseMob sharedInstance] applicationDidEnterBackground:application];
   // [self backGroundTask:application];
}
需要加的方法也加了
// App将要从后台返回
- (void)applicationWillEnterForeground:(UIApplication *)application
{
    [[NSNotificationCenter defaultCenter] postNotificationName:@"foreground"object:nil];
    [[EaseMob sharedInstance] applicationWillEnterForeground:application];
}
// 申请处理时间
- (void)applicationWillTerminate:(UIApplication *)application
{
    [[EaseMob sharedInstance] applicationWillTerminate:application];
}



登陆  也成功   登录成功-------{
    username = ...;
    password = 123456;
    jid = ...
    LastLoginTime = 1445174999989;
    token = YWMtIKg4mnQOEeWc7PHzAOdemgAAAVGl8GHk40lgbzSw1qzqtfeZ_7-YVWVl1rY;
    resource = mobile;
}

EMPushNotificationOptions 也改成接收状态了 推出app 就是收不到 消息 求高手 解救啊
 
环信1.png
已邀请:

祥瑞

赞同来自:

解决了 证书问题

要回复问题请先登录注册

知识价值的认可,源自您的赞赏

扫描二维码,你的支付将由imGeek代收后转给对方

×