移动推送Android SDK:透传消息+用户自建通知最佳实践

} } } 在AndroidManifest.xml文件中注册该Service:<service android:name="NotificationService" android:exported="false"><intent-filter><action android:name="your notification click action"/></intent-filter><intent-filter>...

android_content_ActivityNotFoundException

方案1:确认AndroidManifest.xml中所需Activity路径正确<activity android:name="com.your.package.name.YourActivity" android:label="@string/app_name"><intent-filter><action android:name="android.intent.action.MAIN"/>...

alicloud_cloud_storage_gateway_gateways

This data source provides the Cloud Storage Gateway Gateways of the current Alibaba Cloud user.->NOTE:Available in v1.132.0+.Example Usage Basic Usage resource"alicloud_cloud_storage_gateway_storage_bundle""example"{ ...

自定义 JSAPI

如果过早注入,会出现容器的 bundle 还没加载好(h5service=null)的问题。如果注册的 bundle 不是静态链接,而是懒加载的 bundle 的话,会存在 metainfo 还没加载,JS 就要调用的问题。前端页面调用 Native 当前端页面调用 Native 时,...

iOS 语言设置

默认跟随系统语言 您可在工程中添加 Languages.bundle.zip 来设置当前 App 支持的语言。在应用启动完成时,初始化多语言框架:/import[APLanguageSetting sharedSetting];获取 App 当前语言 您可通过以下方式获取 App 当前语言:NSString*...

接入方式简介

接入移动开发平台 mPaaS 有 原生 AAR 方式 和 组件化方式(Portal&Bundle)两种接入方式。本文将向您介绍这两种接入方式,并给出关于选择接入方式的建议。原生 AAR 方式 原生 AAR 接入方式 是指采用原生 Android AAR 打包方案,更贴近 ...

小组件开发最佳实践(Android)

Create an Intent to launch ExampleActivity/Intent intent=new Intent(context,ExampleActivity.class);Intent intent=new Intent();PendingIntent pendingIntent=PendingIntent.getActivity(context,0,intent,0);Get the layout for the...

iOS 环境切换

格式如下:动态切换环境 添加 Settings.bundle 环境配置文件后,应用的配置信息会覆盖工程中默认的 meta.config 文件,以 Settings.bundle 中选择的环境为主。当前选择的环境查看路径为:手机设置>当前应用>Settings>Category,默认选择 ...

Android SDK中推送通知打开指定Activity时如何操作?

Intent intent=new Intent(context,"您需要打开的界面");intent.putExtra("title",title);intent.putExtra("summary",summary);intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);context.startActivity(intent);} 注意:由于...

预置小程序包

新建一个独立的 bundle,如 DemoCustomPresetApps.bundle,将从发布平台下载的 AMR 离线包和 h5_json.json 文件添加到此 bundle 中。说明 目前发布平台仅支持下载单个离线包的 h5_json.json 配置文件。当预置多个小程序包时,需要将不同 h5...

埋点验证

intent-filter><action android:name="android.intent.action.VIEW"/><category android:name="android.intent.category.DEFAULT"/><category android:name="android.intent.category.BROWSABLE"/>你的appkey"/></intent-filter>1、请使用...

Android 小程序右上角弹出菜单扩展

TinyPopMenuItem localItem=new TinyPopMenuItem.Builder().setId("1001").setIcon(getResources().getDrawable(R.drawable.smile)).setName("启动").setCallback(new TinyPopMenuItem....,Bundle bundle){ Toast.makeText(context...

mPaaS 支持多 CPU 架构

更新配置 整体兼容性 支持原生 AAR 和 Portal&Bundle 接入方式 支持 armeabi、armeabi-v7a、arm64-v8a 架构 支持 targetSdkVersion 26-29 支持 Android 11 系统 在 Google Play 发布 如果您的应用使用了 mPaaS 的定位组件或小程序中的地图...

为什么在通知回调中无法打开activity?

可参考以下代码:@Override public void onNotification(Context context,String title,String summary,Map,String>extraMap){.Intent intent=new Intent(context,MyActivity.class);intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);...

iOS意愿认证接入

选择 TARGETS,单击 Build Phases 页签,在 Copy Bundle Resources 中添加以下bundle:APBToygerFacade.bundle:位于 APBToygerFacade.framework 中。ToygerService.bundle:位于 ToygerService.framework 中。OCRXMedia.bundle:位于 OCR...

通知点击处理

路由 Activity 需要在 AndroidManifest.xml 中添加相应的 intent-filter,例如:<activity android:name=".push.LauncherActivity" android:launchMode="singleInstance"><intent-filter><action android:name="android.intent.action.VIEW"/>...

OPPO 消息推送失败

若出现 OPPO 渠道消息推送失败的情况,请...V2.0.2 添加 Service START-><service android:name="com.heytap.mcssdk.PushService" android:permission="com.coloros.mcs.permission.SEND_MCS_MESSAGE" android:process=":push"><intent-filter>...

自定义选择城市

文件路径为相对于 bundle 的相对路径,如 BeeCityPicker.bundle/citiesWithCounty.text,SDK 内部会自动读取此文件名:[BeeCityPickerAdapter sharedInstance].customHotCityTextFile="BeeCityPicker.bundle/citiesWithCounty.text;...

抓取 UC 内核闪退

上报 native 闪退-><receiver android:name="com.alipay.mobile.common.logging.process.LogReceiverInToolsProcess" android:enabled="true" android:exported="false" android:process=":tools"><intent-filter>${applicationId}.monitor....

iOS 编译 Demo 报错

修改应用的三个 Bundle Identifier;mpush_ios_demo、mpush_service_extension 和 mpush_content_extension。注意 mpush_service_extension 的 Bundle Identifier 修改只需要修改.mpush_service_extension 之前的;mpush_service_extension...

alicloud_cloud_storage_gateway_gateway

example"} resource"random_uuid""default"{ } resource"alicloud_cloud_storage_gateway_storage_bundle""default"{ storage_bundle_name=substr("tf-example-${replace(random_uuid.default.result,"-","")}",0,16)} resource"alicloud_...

使用阿里云Prometheus监控集群GPU资源

apiVersion:apps/v1 kind:Deployment metadata:name:bert-intent-detection spec:replicas:1 selector:matchLabels:app:bert-intent-detection template:metadata:labels:app:bert-intent-detection spec:containers:name:bert-container ...

插件使用指南

Bundle bundle=new Bundle();bundle.putString("key","value");传入插件参数,没有参数则不需要这一行 Router.getInstance().toUrlForResult(getActivity(),code,1,bundle);iOS端#import[[IMSRouterService sharedService]openURL:[NSURL ...

在客户端预置 iOS 小程序

新建一个独立的 bundle,如 DemoCustomPresetApps.bundle,将从发布平台下载的 AMR 离线包和 h5_json.json 文件添加到此 bundle 中。说明 目前发布平台仅支持下载单个离线包的 h5_json.json 配置文件。当预置多个小程序包时,需要将不同 h5...

华为推送

可选,查看 PUSH 通道是否连接,不查看则不需要-><action android:name="com.huawei.intent.action.PUSH_STATE"/></intent-filter>如需使用混淆,则要添加相关混淆配置:如采用的是 AAR 接入方式,需要 添加 mPaaS 混淆规则。如采用其他接入...

性能API

bundle对象中传入对应的key为UMEfs.KEY_PA_TIMEOUT_TIME,*对应的值为您设置的卡顿的阈值*/Bundle bundle=new Bundle();bundle.putLong(UMEfs.KEY_PA_TIMEOUT_TIME,2000L);设置卡顿阈值为2000L UMEfs.initConfig(bundle);注意1:阈值限制为...

启动参数

Bundle bundle=new Bundle();bundle.putString("showOptionMenu","NO");MPNebula.startUrl(url,bundle);客户端透传给前端的启动参数,前端可以直接通过 AlipayJSBridge.startupParams 或 jsapi:getStartupParams 获取。名称 缩写 类型 说明...

Streaming SQL作业配置

库名称 版本 发布日期 引用字符串 详细信息 datasources-bundle 2.0.0(推荐)2020/02/26 sharedlibs:streamingsql:datasources-bundle:2.0.0 支持数据源:Kafka、Loghub、Druid、TableStore、HBase、JDBC、DataHub、Redis、Kudu和DTS。...

PyODPS使用第三方包

bundle.tar.gz","rb"))udf_res=o.create_resource("test_psi_udf.py","py",fileobj=open("test_psi_udf.py","rb"))o.create_function("test_psi_udf",class_type="test_psi_udf.MyPsi",resources=[bundle_res,udf_res])使用MaxCompute客户...

使用 mPaaS 插件

如果是 组件化(Portal&Bundle)工程,需要准备 正在使用的有 bug 的 bundle 包 和 修复后的 bundle 包。提示:bundle 的输出路径为 bundle 的主 module 目录下的 build/intermediates/bundle/xxxx-raw.jar。如果是 release 包则没有-raw。...

Android 热修复使用教程

热修复功能支持原生 AAR 接入和组件化接入(Portal&Bundle)两种接入方式。关于接入方式的更多说明,请参见 接入方式简介。本文将分为两部分向您完整的介绍并演示热修复的使用流程:接入热修复,热修复 Bug 演示。说明 本使用教程以组件化...

升级组件化/mPaaS Inside 接入方式到 AAR 接入方式

移除 bundle 中的 bundle {} DSL 定义,移除 public.xml 定义(如果有特别需要,可以保留)。移除 portal 中所有的 com.alipay.portal 插件。移除 portal 中的 portal {} DSL 定义,移除 public.xml 定义(如果有特别需要,可以保留)。...

Flutter接入

Bundle位于解压后的Flutter SDK目录下,路径为 aliyun_face_plugin/ios/Products/。ToygerService.bundle:位于ToygerService.framework中。APBToygerFacade.bundle:位于APBToygerFacade.framework中。APBToygerFacadeSuitable.bundle:...

Flutter接入

Bundle位于解压后的Flutter SDK目录下,路径为 aliyun_face_plugin/ios/Products/。ToygerService.bundle:位于ToygerService.framework中。APBToygerFacade.bundle:位于APBToygerFacade.framework中。APBToygerFacadeSuitable.bundle:...

Flutter接入

Bundle位于解压后的Flutter SDK目录下,路径为 aliyun_face_plugin/ios/Products/。ToygerService.bundle:位于ToygerService.framework中。APBToygerFacade.bundle:位于APBToygerFacade.framework中。APBToygerFacadeSuitable.bundle:...

基于GPU指标实现AHPA弹性预测

展开查看详情 cat|kubectl create-f-apiVersion:apps/v1 kind:Deployment metadata:name:bert-intent-detection spec:replicas:1 selector:matchLabels:app:bert-intent-detection template:metadata:labels:app:bert-intent-detection ...

基于GPU指标实现弹性伸缩

展开查看命令详情 cat|kubectl create-f-apiVersion:apps/v1 kind:Deployment metadata:name:bert-intent-detection spec:replicas:1 selector:matchLabels:app:bert-intent-detection template:metadata:labels:app:bert-intent-detection...

引入&配置SDK

让应用能被指定连接scheme唤起.<intent-filter><action android:name="android.intent.action.VIEW"/><category android:name="android.intent.category.DEFAULT"/><category android:name="android.intent.category.BROWSABLE"/>你的appkey"/...

基于GPU指标实现AHPA弹性预测

展开查看详情 cat|kubectl create-f-apiVersion:apps/v1 kind:Deployment metadata:name:bert-intent-detection spec:replicas:1 selector:matchLabels:app:bert-intent-detection template:metadata:labels:app:bert-intent-detection ...

快速开始

此处必须设置标题栏资源所在的 bundle 名称,如果不设置,会导致资源无法加载导致标题栏无法生效 H5Utils.setProvider(H5ReplaceResourceProvider.class.getName(),new H5ReplaceResourceProvider(){@Override public String ...
共有59条 < 1 2 3 4 ... 59 >
跳转至: GO
产品推荐
云服务器 安全管家服务 安全中心
这些文档可能帮助您
消息服务 弹性公网IP 短信服务 人工智能平台 PAI 金融分布式架构 对象存储
新人特惠 爆款特惠 最新活动 免费试用