CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

QQ_XGVIPPush 1.0.1.0

QQ_XGVIPPush 1.0.1.0

Maintained by tegdata.



QQ_XGVIPPush 1.0.1.0

  • By
  • tencent TEG

XGPush

信鸽官方 VIP 版本 CocoaPods Spec镜像

使用方法

Pods file中添加

pod 'QQ_XGVIPPush'

VERSION 1.0.1.0

*[+]兼容 iOS13 上获取Device Token的方法

VERSION 1.0.0.10

*[+]优化启动时间 *[+]修复与 MTA SDK 的冲突

VERSION 1.0.0.9

*[+]修复点击消息统计的问题

VERSION 1.0.0.8

*[+]修复信鸽与Firebase SDK的推送冲突问题

VERSION 1.0.0.7

*[+]去除获取公有云配置服务器地址中对Info.plist文件名字的限制

VERSION 1.0.0.6

*[+]支持私有云部署服务器配置 *[+]修复内存泄露

私有化部署需要引用 XGPushPrivate.h, 并要求在 信鸽 SDK 启动之前调用接口 - (void)configureHost:(NSString *)host port:(NSInteger)port; 来设置服务器配置信息

代码示例:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
	// 配置私有云服务器地址
	[[XGPush defaultManager] configureHost:@"yourcompany.domain.com" port:8080];
	
    [[XGPush defaultManager] setEnableDebug:YES];
    [[XGPush defaultManager] startXGWithAppID:2200257934 appKey:@"IF7E9U92S3ZC" delegate:self];
    // 清除角标
    if ([XGPush defaultManager].xgApplicationBadgeNumber > 0) {
        [[XGPush defaultManager] setXgApplicationBadgeNumber:0];
    }
	[[XGPush defaultManager] reportXGNotificationInfo:launchOptions];
	return YES;
}

VERSION 1.0.0.5

*[+]支持公有云部署服务器配置

具体操作步骤: 配置 Info.plist 文件,配置文件名必须是 Info.plist ,且其中键值对和数据类型必须一致

参照: xg_vip_info

VERSION 1.0.0.4

*[+]修复内存泄露

VERSION 1.0.0.3

*[+] 获取路由重试机制 *[+]修复内存泄露

VERSION 1.0.0.2

  • 初始版本