当前位置:网站首页>[HMS core] [FAQ] Collection of typical problems of push kit, AR Engine, advertising service, scanning service 2
[HMS core] [FAQ] Collection of typical problems of push kit, AR Engine, advertising service, scanning service 2
2022-07-30 15:53:00 【Huawei Developer Forum】
1. [Push Service] [Problem Description]
Can Huawei Push support the use of payloads?Can I use the payload push method if the application push level is normal?
【Solution】
1) Currently, there is no payload-related field in Huawei Push Android messages;
2) Set the message classification to NORMAL, which is used to set the type of marketing notification and service and communication in the self-classification benefit, and has nothing to do with the payload field
2. [Push Service] [Problem Description]
Pushing 1W users will receive 1W data requests in a short period of time. Is there a way to support batch pulling of receipt messages?
【Solution】
First of all, the receipt does not support batch pull, the client feedback message status time is different, each receipt message contains a maximum of 100 statuses Array of structures, i.e. 100 messages.
Furthermore, you can call When the downlink message API pushes the message, by setting the bi_tag (the message receipt is the batch task message identifier), the message receipt will be returned to the application server, and the application server can identify the bi_tag and perform statistical analysis on the delivery of the message, you can refer to the following links for details:
3. [Unified Scanning Service] [Problem Description]
I use the unified scanning service, but the success rate of QR code recognition is low. How to solve it?
【Solution】
You can try to enable the hardware acceleration function corresponding to the scan code activity in the AndroidManifest.xml of the project, and configure android:hardwareAccelerated="true" as follows:

4. [Push Service] [Problem Description]
If the default storage location is modified, can the online app still receive push messages normally?
【Solution】
If the default storage location of the project is modified, the online application can still receive push messages, but the previous data on the cloud side will be cleaned up.
After modifying the default data processing location, you need to re-activate related services (including push services) that provide services at the default data processing location, and the application needs to integrate the latest version of the agconnect-services configuration file, refer to the link Documentation Center.
5. [Push Service] [Problem Description]
Integrated push SDK, get token error 907135003
【Solution】
First of all, this is because the SDK fails to connect to the HMS Core (APK). It is possible that the HMS Core process has been terminated or crashed, causing the connection to fail.
Secondly, when the hms core version is too low and needs to be upgraded, it is recommended to pass the activity object into the HmsInstanceId.getInstance method, or directly upgrade the HMS Core and ensure that it runs in the background, and then try again.
6. [Advertising Service] [Problem Description]
How to get the official ad slot ID?
【Solution】
Apply on the HUAWEI Ads media service platform, the steps are as follows:
(1) Use the authenticated enterprise account to log in to the media service platform;
(2) Add media in Traffic Management→Media Management;
(3) Create a placement in Traffic Management → Placement Management, the placement is the ID of the ad;
HUAWEI Ads Media Service Platform: HUAWEI AdsTraffic Monetization Service - Traffic Operation - Huawei Developer Alliance, click "Start Monetization" to log in.
Media Management Operation Guide:
How to create a placement guide:
Restricted Description:
Test verification and go live:
7. [AR Engine] [Problem Description]
Does AR Engine support the upper-layer application to manage the camera by itself, and only pass the picture to the sdk?
【Solution】
Currently only supported by ARFaceTrackingConfig, please refer to the following link for details:
For more technical articles, please visit https://developer.huawei.com/consumer/cn/forum/?ha_source=zzh
边栏推荐
- 影像信息提取DEM
- 二、判断 & 循环
- 数据库日期类型字段设计,应该如何选择?
- Introduction to TiUP
- 【HMS core】【FAQ】push kit、WisePlay DRM、Location Kit、Health Kit、3D Modeling Kit、SignPal Kit典型问题合集4
- 【AGC】质量服务2-性能管理示例
- 使用 TiUP 命令管理组件
- Flask introductory learning tutorial
- Example of video switching playback (video switching example) code
- Store Limit usage documentation
猜你喜欢
随机推荐
Store Limit 使用文档
[Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios
【重磅来袭】教你如何在RGBD三维重建中获取高质量模型纹理
arcpy使用教程
SEATA distributed transaction
481-82(105、24、82、34、153)
Back waves are coming!Ali produced the "second generation" container technical manual and brain map, which is too fragrant
Classes and Objects (Part 2)
数据库-SQL
一文读懂Elephant Swap,为何为ePLATO带来如此高的溢价?
数据库日期类型字段设计,应该如何选择?
481-82 (105, 24, 82, 34, 153),
经典实例分割模型Mask RCNN原理与测试
【AGC】质量服务1-崩溃服务示例
使用 TiUP 命令管理组件
【HMS core】【Media】【视频编辑服务】 在线素材无法展示,一直Loading状态或是网络异常
php如何去除字符串最后一位字符
AL遮天传 DL-深度学习模型的训练技巧
L2-007 家庭房产(vector、set、map的使用)
应用接入华为分析在应用调试模式下为何没有数据上报?

![[Cloud native] Alibaba Cloud ARMS business real-time monitoring](/img/e7/55f560196521d22f830b2caf110e34.png)






