随笔 - 2649  文章 - 2452  评论 - 0  阅读 - 74060

车机体验版激活

通过 Android Global Setting 初始化

需 WMPF >= 2.2.0 支持(仅车机体验版本)

如果你只希望体验车机版 WMPF,你可以通过 Global Setting 写入 WMPF 的激活信息来直接激活 WMPF,无需接入 wmpf-cli 或者安装 WMPF Launcher Demo。

参数 说明
com.tencent.weapp.host_appid 微信开放平台注册移动应用后获取的appId。该appId与小程序appId无关
com.tencent.weapp.ilink_product_id WeCooper 平台审核通过后分配的 productId
com.tencent.weapp.ilink_key_version WeCooper 平台上传公钥后分配的 keyVersion
com.tencent.weapp.ilink_device_id 接入方分配的设备Id,该 id 应该已经通过 addDevice 接口在微信注册
com.tencent.weapp.ilink_device_signature 由接入方通过 productId,deviceId,privateKey 经过运算后得到的签名(不需要换行符)

示例代码

adb shell settings put global com.tencent.weapp.ilink_support 1
adb shell settings put global com.tencent.weapp.host_appid "HostAppID"
adb shell settings put global com.tencent.weapp.ilink_product_id "ProductID"
adb shell settings put global com.tencent.weapp.ilink_key_version "keyVersion"
adb shell settings put global com.tencent.weapp.ilink_device_id “DeviceID”
adb shell settings put global com.tencent.weapp.ilink_device_signature “DeviceSignature"

注意事项

车机体验版本的 WMPF 不需要写入 com.tencent.weapp.ilink_product_idcom.tencent.weapp.host_appid,由 WMPF 固定填写体验版参数。

posted on   AtlasLapetos  阅读(0)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全网最简单!3分钟用满血DeepSeek R1开发一款AI智能客服,零代码轻松接入微信、公众号、小程
· .NET 10 首个预览版发布,跨平台开发与性能全面提升
· 《HelloGitHub》第 107 期
· 全程使用 AI 从 0 到 1 写了个小工具
· 从文本到图像:SSE 如何助力 AI 内容实时呈现?(Typescript篇)
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示