当前位置: 首页 > news >正文

php响应式网站开发教程网络营销外包公司哪家最好

php响应式网站开发教程,网络营销外包公司哪家最好,建筑工程完工证明范本,番禺市桥做网站公司勾选push#xff0c;但不要勾选unipush 国内版 网址#xff1a;极光推送-快速集成消息推送功能,提升APP运营效率 (jiguang.cn) 进入后台#xff0c;并选择对应应用开始配置 配置安卓包名 以及ios推送证书#xff0c;是否将生产证书用于开发环境选择是 ios推送证书… 勾选push但不要勾选unipush  国内版 网址极光推送-快速集成消息推送功能,提升APP运营效率 (jiguang.cn) 进入后台并选择对应应用开始配置 配置安卓包名       以及ios推送证书是否将生产证书用于开发环境选择是 ios推送证书获取 参考文档iOS 证书设置指南 (engagelab.com) 安装和配置uniapp官方的极光插件  插件市场DCloud 插件市场 打开manifest.json导入插件到项目  在源码视图进行插件配置  App.vue示例代码  示例代码地址jpush-hbuilder-plugin/JPush_Hbuilder_Demo/App.vue at master · jpush/jpush-hbuilder-plugin · GitHub scriptvar jpushModule uni.requireNativePlugin(JG-JPush)export default {onLaunch: function() {console.log(App Launch)if(uni.getSystemInfoSync().platform ios){// 请求定位权限let locationServicesEnabled jpushModule.locationServicesEnabled()let locationAuthorizationStatus jpushModule.getLocationAuthorizationStatus()console.log(locationAuthorizationStatus,locationAuthorizationStatus) if (locationServicesEnabled true locationAuthorizationStatus 3) {jpushModule.requestLocationAuthorization((result){console.log(定位权限,result.status)})};jpushModule.requestNotificationAuthorization((result){let status result.statusif (status 2) {uni.showToast({icon: none,title: 您还没有打开通知权限,duration: 3000})}});jpushModule.addGeofenceListener(result{let code result.codelet type result.typelet geofenceId result.geofenceIdlet userInfo result.userInfouni.showToast({icon: none,title: 触发地理围栏,duration: 3000})});// 监听deviToken的状态jpushModule.addDeviceTokenListener(result{let code result.codeif (code 0) {let deviceToken result.deviceTokenuni.showToast({icon: none,title: deviceToken,duration: 3000})console.log(deviceToken:, deviceToken)}else {let error result.msg}})};jpushModule.initJPushService();jpushModule.setLoggerEnable(true);jpushModule.addConnectEventListener(result{let connectEnable result.connectEnableuni.$emit(connectStatusChange,connectEnable)});jpushModule.addNotificationListener(result{let notificationEventType result.notificationEventTypelet messageID result.messageIDlet title result.titlelet content result.contentlet extras result.extrasuni.showToast({icon: none,title: JSON.stringify(result),duration: 3000})});jpushModule.addCustomMessageListener(result{let type result.typelet messageType result.messageTypelet content result.contentuni.showToast({icon: none,title: JSON.stringify(result),duration: 3000})});jpushModule.addInMessageListener(result{uni.showToast({icon:none,title: JSON.stringify(result),duration: 3000})});jpushModule.addLocalNotificationListener(result{let messageID result.messageIDlet title result.titlelet content result.contentlet extras result.extrasuni.showToast({icon: none,title: JSON.stringify(result),duration: 3000})})},onShow: function() {console.log(App Show)},onHide: function() {console.log(App Hide)}} /script真机调试运行需制作自定义调试基座 标准基座只包含了uniapp基础的一些框架内部的东西但是如果我们要调试第三方的插件SDK就需要自定义基座 推送测试直接通过极光后台发送  离线推送 离线接收消息是必须要配置厂商通道 获取厂商通道文档地址厂商通道参数申请指南 - 极光文档 (jiguang.cn) 三星手机离线推送怎么配置  配置fcm通道 推荐Java生成  海外版  官网地址海外消息推送_海外消息推送服务_海外推送服务平台_Engagelab 与国内版类似不同的是插件变了 在源码视图进行插件配置  App.vue示例代码 demo示例engagelab-uniapp-plugin/MTPush_Hbuilder_Demo/App.vue at main · DevEngageLab/engagelab-uniapp-plugin · GitHub scriptvar mtpushModule uni.requireNativePlugin(EL-MTPush)export default {onLaunch: function() {console.log(App Launch)if(uni.getSystemInfoSync().platform ios){mtpushModule.requestNotificationAuthorization((result){let status result.statusif (status 2) {uni.showToast({icon: none,title: 您还没有打开通知权限,duration: 3000})}})}// mtpushModule.setCountryCode(US);// mtpushModule.setTcpSSL(true)mtpushModule.setSiteName(Singapore);mtpushModule.setLoggerEnable(true);mtpushModule.initPushService();mtpushModule.addConnectEventListener(result{let connectEnable result.connectEnableuni.$emit(connectStatusChange,connectEnable)});mtpushModule.addNotificationListener(result{let notificationEventType result.notificationEventTypelet messageID result.messageIDlet title result.titlelet content result.contentlet extras result.extrasuni.showToast({icon: none,title: JSON.stringify(result),duration: 3000})});mtpushModule.addCustomMessageListener(result{let type result.typelet messageType result.messageTypelet content result.contentuni.showToast({icon: none,title: JSON.stringify(result),duration: 3000})});mtpushModule.addTagAliasListener(result{uni.showToast({icon: none,title: JSON.stringify(result),duration: 3000})});if(uni.getSystemInfoSync().platform ios){mtpushModule.addLocalNotificationListener(result{let messageID result.messageIDlet title result.titlelet content result.contentlet extras result.extrasuni.showToast({icon: none,title: JSON.stringify(result),duration: 3000})})}},onShow: function() {console.log(App Show)},onHide: function() {console.log(App Hide)}} /scriptstyle/*每个页面公共css */ /style api api地址 jpush-hbuilder-plugin/doc/API.md at master · jpush/jpush-hbuilder-plugin · GitHub getRegistrationID 调用此 API 来取得应用程序对应的 RegistrationID addNotificationListener 通过CALLBACK 的 notificationEventType字段 区分 是 通知收到 还是 点击通知 // 点击前 notificationArrived // 点击后 notificationOpened 监听连接 uni.$on(connectStatusChange, (connectStatus) {var connectStr if (connectStatus true) {connectStr 已连接getRegistrationID()} else {connectStr 未连接}state.connectStatus connectStr}) 销毁连接 uni.$off(connectStatusChange) 问题 监听到了连接状态变化比较长 是网络问题engagelab服务器在海外耗时是正常的
http://www.hkea.cn/news/14310292/

相关文章:

  • 中国机械加工网站官网天河做网站哪家强
  • 百度网页怎么做seo课程哪个好
  • 网站建设电话销售话术模板大全公众号开发收费价目表
  • 传销教你做网站外包公司的业务员
  • 哈尔滨网站优化对策岳阳seo招聘
  • 宜春市城乡规划建设局网站爱站网关键词查询网站
  • 网站搭建徐州百都网络搭建做网站没有数据
  • 做网站用个人还是企业比较好wordpress cros
  • 大型的网站后台用什么做php可视化网站开发工具
  • 中国建站平台建设部网站施工合同版本
  • 不用iis建立网站wordpress add_post_meta
  • 免费做微信链接的网站wordpress支付查看更多
  • 电脑网站转手机版西部数码网站管理助手 mysql
  • 全国建设教育联盟统一平台网站绿色风格网站
  • 摄影作品网站排行榜久久信息网
  • 花园设计网站推荐图片制作软件免费版
  • 用vs2008做网站云南建设工程质量监督网站
  • 网站开发必须要用jswordpress 网站地址
  • 有哪些营销型网站推荐ui做自适应网站
  • 怎么找网站做公示做网站为什么要域名 解析绑定
  • 网站托管维护网络开发公司是干什么的
  • 公司网站建设任务书wordpress头像修改
  • 安远做网站深圳知名的网站公司简介
  • 网站域名空间怎么弄啊万州电商网站建设
  • 网站设计怎么学制定 网站改版优化方案
  • 镇江网站建设介绍WordPress修改登录短代码
  • 计算机专业网站开发开题报告建设网站 程序员的提成
  • 网站的验证码是怎么做的竞价托管外包
  • 门户网站建设信息工作讲话wordpress数据表文档
  • 网站建设著作权办网站 哪些许可