trycatch报错,不trycatch是没有反应
1、已经开通了uni-verfiy
2、联通卡,一键登录审核通过,应用签名SHA256和开发证书的签名一致
3、module.json5也配置了
4、mac os、Hbuilder版本4.87,手机版本HarmonyOS 6.0.0.120
一键登录审核通过,目前还是报错uni.getUniverifyManager is not a function,已经没辙了
-
module.json5配置
{ "module": { "name": "entry", "type": "entry", "description": "$string:module_desc", "mainElement": "EntryAbility", "deviceTypes": [ "phone", "tablet", "2in1" ], "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:main_pages", "abilities": [ { "name": "EntryAbility", "srcEntry": "./ets/entryability/EntryAbility.ets", "description": "$string:EntryAbility_desc", "icon": "$media:layered_image", "label": "$string:EntryAbility_label", "startWindowIcon": "$media:startIcon", "startWindowBackground": "$color:start_window_background", "exported": true, "skills": [ { "entities": [ "entity.system.home" ], "actions": [ "action.system.home" ] } ] } ], "requestPermissions": [ { "name": "ohos.permission.INTERNET" }, { "name": "ohos.permission.GET_NETWORK_INFO" }, { "name": "ohos.permission.GET_WIFI_INFO" }, { "name": "ohos.permission.SET_NETWORK_INFO" }, { "name": "ohos.permission.APP_TRACKING_CONSENT", "usedScene": { "abilities": [ "EntryAbility" ] }, "reason": "$string:gy_oaid_tracking" } ] } } -
string.json配置
{ "string": [ { "name": "app_name", "value": "****" }, { "name": "gy_oaid_tracking", "value": "用于获取设备唯一标识符,以提供安全便捷的登录服务" } ] }



