当前位置:网站首页>[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
边栏推荐
猜你喜欢
随机推荐
Golang分布式应用之Redis怎么使用
How to split microservices?
nodejs环境变量设置
How do luxury giants such as GUCCI and LV deploy the metaverse, should other brands keep up?
Store Limit 使用文档
php如何去除字符串最后一位字符
tiup env
【HMS core】【FAQ】Account、IAP、Location Kit and HarmonyOS典型问题合集1
yarn的安装及使用教程
谷歌工程师『代码补全』工具;『Transformers NLP』随书代码;FastAPI开发模板;PyTorch模型加速工具;前沿论文 | ShowMeAI资讯日报
flask获取post请求参数
Debug - Notes
HUAWEI CLOUD Releases Open Source Software Governance Service - Software Component Analysis
五只小猪的案例(五只小猪 比较体重的大小)
php如何查询字符串出现位置
TiUP FAQ
How is the B+ tree index page size determined?
70行代码撸一个桌面自动翻译神器
481-82(105、24、82、34、153)
golang modules initialization project








