JSBridge 功能测试

🔍 UserAgent 检查功能
navigator.userAgent.includes('zgqShopMall')
📱 Device Initialization 功能
initDeviceReady()
📷 ImageModule 功能
openCamera({mediaType: 'photo'})
openCamera({mediaType: 'video'})
imagePicker({typeMode: 0})
imagePicker({typeMode: 1})
saveImages()
fileToBase64()
📍 LocationModule 功能
locationModule.getLocation()
🎤 AudioRecorderModule 功能
startRecord()
stopRecord()
playAudio(录制文件)
pauseAudio()
🚀 VDNModule 功能
vdnModule.goToPage()
vdnModule.goToPageForResult()
vdnModule.goToPdfPage()
🏠 CommonModule 功能
commonModule.closeH5ContainerView()
commonModule.addBackEventListener()
commonModule.removeBackEventListener()
commonModule.addResumeEventListener()
commonModule.removeResumeEventListener()
commonModule.getStatusBarHeight()
👤 UserModule 功能
userModule.getLoginStatus()
userModule.getUserInfo()
userModule.getOauthData()
🌐 NetworkModule 功能
networkModule.isOnline()
networkModule.getNetworkInfo()
并发调用 networkModule.isOnline() 10次
模仿函数M()测试网络状态检测
💾 StorageModule 功能
storageModule.putStringValue()
storageModule.getStringValue()
测试修改 mallapp_tokeninfo(应该被拒绝)
💬 WeixinModule 功能
weixinModule.pullUpMiniProgram()
weixinModule.pullUpPaymentFlow()
📊 TraceModule 功能
traceModule.gioTrack()
traceModule.gioTrackWithVariable()
📱 AppinfoModule 功能
appinfoModule.getAppInfo()
🔐 PermissionModule 功能
permissionModule.requestPermissionV2()
permissionModule.queryPermission()
🌐 Normal WebView Jump
window.location.href
🌐 HttpModule 功能
httpModule.uploadFile()
🔗 其他功能
shareModule.share()
shareModule.showShareView()

返回结果

在这里显示结果...

解密后的信息

解密结果将在这里显示...

图片预览

视频预览