您好,欢迎浏览黄石美涵信息科技有限公司网站!
135 9763 4395

咨询热线

7X24小时服务

阿里云、微软云、美橙互联 黄石地区产品经销商

关于代理商模板

超值服务提供卓越产品

   
  
  
新闻公告 News
   
APP发布上架应用商店基本步骤与操作教程
来源: | 作者:hsmh888168 | 发布时间: 2017-04-20 | 955 | 分享到:
Apple 推出通用链接:一种能够方便的通过传统 HTTP 链接来启动 APP, 使 用相同的网址打开网站和 APP。 当你的应用支持通用链接

APP发布上架应用商店基本流程图

APP发布上架应用商店基本步骤与操作教程

APP发布上架应用商店基本流程图

ios sdk集成

APP发布上架应用商店基本步骤与操作教程

ios sdk集成图

1.首先我们先下载iOS SDK

2.然后导入QQ305710439帮您定制提供的SDK文件夹到你的项目

3.最后代码集成

当应用首次安装打开时,你的ios sdk会收到网页端通过js sdk传来的参数。

Swift

Objective—C

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {ViewController *vc = [[ViewController alloc]init];self.window.rootViewController = vc;//初始化OpenInstall[OpenInstallSDK setAppKey:@"orx4hy" withLaunchOptions:launchOptions withDelegate:self];[self.window makeKeyAndVisible];return YES;} //通过OpenInstall 获取自定义参数。数据为空时,也会回调此方法,方便开发者灵活处理。- (void)getInstallParamsFromOpenInstall:(NSDictionary *) params withError: (NSError *) error { if (!error) { NSLog(@"OpenInstall 自定义数据:%@", [params description]); if (params) { NSString *paramsStr = [NSString stringWithFormat:@"%@",params]; UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"安装参数" message:paramsStr preferredStyle: UIAlertControllerStyleAlert]; [alert addAction:[UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) { }]]; //弹出提示框(便于调试,调试完成后删除此代码) [self.window.rootViewController presentViewController:alert animated:true completion:nil]; } } else { NSLog(@"OpenInstall error %@", error); }}

4H5页面集成JS SDK

精确渠道统计

1下载iOS SDK

2导入iOS SDK文件夹到你的项目

3集成代码

Swift

Objective—C

//通过OpenInstall获取渠道参数(包括渠道编号和渠道自定义参数)。数据为空时,也会回调此方法,方便开发者灵活处理。c 为渠道编号,d为渠道自定义参数- (void)getChannelInstallParamsFromOpenInstall:(NSDictionary *) params withError: (NSError *) error { if (!error) { NSLog(@"OpenInstall 渠道参数 = %@", [params description]); if (params) { NSString *paramsStr = [NSString stringWithFormat:@"%@",params]; UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"渠道安装参数" message:paramsStr preferredStyle: UIAlertControllerStyleAlert]; [alert addAction:[UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) { }]]; //弹出提示框(便于调试,调试完成后删除此代码) [self.window.rootViewController presentViewController:alert animated:true completion:nil]; } } else { NSLog(@"OpenInstall error %@", error); }}

4.控制中心—添加渠道(如果是自定义渠道页面需要集成js sdk)

5.拿到生成的渠道链接和二维码进行投放

一键跳转

一键跳转分跳转到AppStore 和跳转到已安装的App,通过Universal link 可以实现微信一键盘跳转到已安装App,通过应用宝微下载可以实现微信一键跳转到AppStore。

微信跳转已安装APP:

Apple 推出通用链接:一种能够方便的通过传统 HTTP 链接来启动 APP, 使用相同的网址打开网站和 APP。同时支持微信里面跳转APP。

1.配置developer.apple.com的相关信息

  • 登录https://developer.apple.com,选择Certificate, Identifiers & Profiles,选择相应的AppID,开启Associated Domains

2.配置Xcode

  • 在Xcode中选择相应的target,点击Capabilities tab,开启Associated Domains,在里面添加openinstall的域名(applinks:xx.openlink.cc)

APP发布上架应用商店基本步骤与操作教程

代码集成

3.代码集成

Swift

Objective—C

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {ViewController *vc = [[ViewController alloc]init];self.window.rootViewController = vc;//初始化OpenInstall[OpenInstallSDK setAppKey:@"orx4hy" withLaunchOptions:launchOptions withDelegate:self];[self.window makeKeyAndVisible];return YES;}//ios9以下 URI Scheme 实现深度链接技术-(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{ //判断是否通过OpenInstall URL Scheme 唤起App if ([[url description] rangeOfString:@"openlink.cc"].location != NSNotFound) { return [OpenInstallSDK handLinkURL:url]; }else{ //自行处理; return YES; }}//iOS9以上 URL Scheme 实现深度链接技术- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(nonnull NSDictionary *)options{ //判断是否通过OpenInstall URL Scheme 唤起App if ([[url description] rangeOfString:@"openlink.cc"].location != NSNotFound) { return [OpenInstallSDK handLinkURL:url]; }else{ //自行处理; return YES; }}//Universal Links 通用链接实现深度链接技术- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray * _Nullable))restorationHandler{ //判断是否通过OpenInstall Universal Links 唤起App if ([[userActivity.webpageURL description] rangeOfString:@"openlink.cc"].location != NSNotFound) { return [OpenInstallSDK continueUserActivity:userActivity]; }else{ //自行处理; return YES; }}//已经安装app 被唤醒时获取参数(如果是通过渠道页面唤醒app时,会返回渠道编号),c 为渠道编号,d为渠道自定义参数- (void)getWakeUpParamsFromOpenInstall: (NSDictionary *) params withError: (NSError *) error{ NSLog(@"OpenInstall 唤醒参数:%@",params ); if(params){ if (params) { NSString *paramsStr = [NSString stringWithFormat:@"%@",params]; UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"唤醒参数" message:paramsStr preferredStyle: UIAlertControllerStyleAlert]; [alert addAction:[UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) { }]];//弹出提示框(便于调试,调试完成后删除此代码) [self.window.rootViewController presentViewController:alert animated:true completion:nil]; } }}
  • 微信跳转AppStore:

  • 申请应用宝微链接

  • 控制中心配置应用宝微链接

  • H5页面集成Js sdk

准备

  • 开发者账号

  • 完工的项目

上架步骤

一、创建App ID

二、创建证书请求文件 (CSR文件)

三、创建发布证书 (CER)

四、创建Provisioning Profiles配置文件 (PP文件)

五、在App Store创建应用

六、打包上架

常见问题

大家都爱问什么是 ios Universal Links?

Apple 推出通用链接:一种能够方便的通过传统 HTTP 链接来启动 APP, 使 用相同的网址打开网站和 APP。 当你的应用支持通用链接,iOS9 之后 , 用户可以点击一个链接跳转到你的网站,并获得无缝重定向到您安装的应用程序,而无需通过 Safari 浏览器。如果你的应用不支持的话,点击链接将会用 Safari 来打开。

什么是应用宝微下载?

微下载是为移动应用提供的一条腾讯官方授权的下载推广链接,可在微信、手机QQ、QQ空间、浏览器等多场景实现一键下载安装,大大提升开发者分享营销的下载转化率。

使用通用链接后App右上角的openlink.cc 是什么?

使用 Universal Links 后 就会在App 右上角显示这个链接。

用户点击App右上角的openlink.cc后会有什么结果?

通用链接将不会直接跳转App了,会显示通用链接对应网页。