要求系统环境iOS8.0及以上版本。
应用灰度发布,应用升级等。
source 'https://gitlab.mpaas.jdcloud.com/umapadmin/jdtmpaassdkspecrepo.git'
pod 'JDTTestFlight', '1.0.0'
pod 'JDTGateway', '1.0.0'
pod 'JDTUDIDManager', '1.0.0'
在使用应用发布SDK的模块中配置Podspec:
# 应用发布依赖SDK
s.dependency 'JDTTestFlight'
s.dependency 'JDTGateway'
s.dependency 'JDTUDIDManager'
# 应用发布依赖第三方
s.dependency 'AFNetworking', '~> 3.2.1'
s.dependency 'RealReachability'
s.dependency 'Masonry'
s.dependency 'SDWebImage'
将JDTTestFlight.framework
中JDTTestFlight.bundle
拖入到项目中。
将 JDTTestFlight.framework
,JDTGateway.framework
和 JDTUDIDManager.framework
拖入到项目中。
通过CocoaPods添加第三方依赖pod AFNetworking', '~> 3.2.1'
,pod 'RealReachability'
,pod 'Masonry'
和pod 'SDWebImage'
将JDTTestFlight.framework
中JDTTestFlight.bundle
拖入到项目中。
初始化离线化SDK前,先要初始化网关SDK,请参考网关SDK接入文档。
ObjectiveC JDTTestFlightConfig *config = [[JDTTestFlightConfig alloc] init]; // 必填参数 config.appCode = @"9f80f0df8b6793ab4693238f5868075a"; config.userId = self.userIdTextField.text; // 账户体系唯一标识 config.deviceId = @"1223323232"; // 灰度投放 config.testFlightRequestUrl = @"/upgrade/api/marketRelease/getReleaseData"; // 数据上报接口地址 config.testFlightReportUrl = @"/upgrade/api/BiService/collectingData"; [JDDTestFlight jdt_startWithConfig:config]; [JDDTestFlight jdt_setJDDTestFightUIDelegate:self];
ObjectiveC /// 展示UI页面,如果testFlightModel为空则不需要更新 /// @param testFlightModel TF信息 - (void)jdt_showTestFligthUIWithInfo:(JDDTestFlightModel*)testFlightModel hasNewVersion:(BOOL)hasNewVersion { if (!hasNewVersion) { NSLog(@"已经是最新版本"); return; } if ([JDDTestFlightApi canShowTestFligthUIWithModel:testFlightModel]) { [JDDTestFlightApi showDefaultUIWithModel:testFlightModel]; } }
为了保证您的App顺利通过检测,结合当前监管关注重点,我们制作了京东SDK初始化合规方案。熟悉监管要求,掌握合规操作流程,拒绝App被下架。
“我们的产品集成京东TestFlightSDK,京东网关SDK采集设备标识符(IMEI/Mac/android ID/IDFA/OPENUDID/GUID、SIM 卡 IMSI 信息),用于唯一标识设备,以便为提供应用发布服务的唯一标识;