其它接口
1、获取渠道号
//获取SDK当前登录的渠道号
NSString *channelID = [DHUnionSDK currentChannel];
2、获取大区ID
//获取SDK当前的区域 0:海外 1:国内
int areaID = [DHUnionSDK currentSDKArea];
3.打开应用内评价
注意事项:
1.苹果不建议通过按钮点击打开应用内评价,所以最好在玩家触发某些条件后自动调用接口弹出来;
2.用户在APP中一年只能弹出三次评价,再弹可能就不让弹出来了;
3.iOS的应用内评价没有结果通知,就是我只能弹出来评价页面,不知道玩家是否评价了;
4.iOS应用内评价只能在iOS10.3以上使用。
//打开应用内评价
[DHUnionSDK openAppReview];
4、查询接口
//查询dev_uuid
NSString *dev_uuid = [DHUnionSDK query:@"dev_uuid"];
//查询dev_brand
NSString *dev_brand = [DHUnionSDK query:@"brand"];
//查询dev_model
NSString *dev_model = [DHUnionSDK query:@"model"];
//查询channelId
NSString *channelId = [DHUnionSDK query:@"from_ch"];
//查询mainChannel
NSString *mainChannel = [DHUnionSDK query:@"mainChannel"];
//查询secondChannel
NSString *secondChannel = [DHUnionSDK query:@"secondChannel"];