增加部分udp功能#147
Open
qq547176052 wants to merge 23 commits intodidi:mainfrom
Hidden character warning
The head ref may contain hidden characters: "\u4e0a\u7535\u5192\u70df"
Open
Conversation
添加generate:app1脚本用于Windows环境生成小程序到shared/jsapp 更新小程序配置文件版本号和路径 新增.gitignore忽略编译目录
实现UDP Socket API功能,包括创建、绑定、发送消息等操作 在示例应用中添加UDP测试页面和跳转功能
Author
|
@dos1in udp主动发消息到小程序我搞不定 |
添加对ArrayBuffer类型数据的支持,包括Base64编解码处理 优化UDP发送逻辑,增加偏移量和长度参数校验 统一变量命名规范,修复潜在的内存泄漏问题 更新版本号至1.0.85
实现微信标准的蓝牙配网功能和小程序导航API,包括蓝牙适配器打开、设备扫描连接、WiFi配置等功能。优化状态栏沉浸式显示,修复导航栏样式问题。新增相关测试小程序配置文件和逻辑代码。
重构generate-app1.js脚本,改进代码结构和注释,增强错误处理 更新.gitignore以忽略fe/dd编译目录
添加蓝牙适配器功能,支持检查设备蓝牙状态、请求权限和开启蓝牙 处理微信标准错误码和回调机制 在 DiminaActivity 中添加蓝牙开启请求支持
重构蓝牙权限检查逻辑,支持Android 12+的BLUETOOTH_SCAN权限 优化设备扫描回调,增加设备名称读取权限检查 添加必要的蓝牙相关权限声明到AndroidManifest.xml
修改 MainActivity 在启动时自动打开小程序并关闭当前页面 添加蓝牙相关权限声明以支持 Android 12+
Fix/logic compiler
添加androidx.bluetooth依赖库 创建蓝牙功能包结构 更新小程序跳转为蓝牙小程序并完善错误处理
新增蓝牙设备发现事件API_onBluetoothDeviceFound,完善蓝牙功能模块 重构generate-app.js脚本,增加自动依赖检查和跨平台压缩功能 添加小程序首页示例代码,支持自定义导航栏和状态栏高度
在主页添加按钮触发获取状态栏高度功能 重构状态栏高度计算逻辑为独立方法 更新generate-app脚本以包含应用路径和名称信息
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
增加部分udp功能