车机体验版激活
通过 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_id
、com.tencent.weapp.host_appid
,由 WMPF 固定填写体验版参数。
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全网最简单!3分钟用满血DeepSeek R1开发一款AI智能客服,零代码轻松接入微信、公众号、小程
· .NET 10 首个预览版发布,跨平台开发与性能全面提升
· 《HelloGitHub》第 107 期
· 全程使用 AI 从 0 到 1 写了个小工具
· 从文本到图像:SSE 如何助力 AI 内容实时呈现?(Typescript篇)