native-docs icon indicating copy to clipboard operation
native-docs copied to clipboard

uni小程序SDK & 5+ SDK 原生开发文档

Results 106 native-docs issues
Sort by recently updated
recently updated
newest added

**问题描述** 使用uni小程序SDK开发集成到Android上后chooseImage无法调起相机 **复现步骤** 1. 创建拍照按钮组件 2. 点击按钮,调用chooseImage方法调起相机,在iOS上正常,Android上无响应 ```js pickImage() { const that = this uni.chooseImage({ count: 1, sourceType: ['camera'], success({ tempFilePaths }) { if (that.isSaveLocal) { // 需要保存到本地 uni.saveFile({ tempFilePath:...

**问题描述** 不能拖动进度条到0秒 **系统信息:** - 发行平台: app - 操作系统 :android - HBuilderX版本 3.0.7 **补充信息** [可选]

十多个circles地图就页面直接卡死了,一两个还好。

**问题描述** 荣耀 20 + Android10,无法拉起摄像机 **复现步骤** 尝试运行下列代码: ```js uni.chooseImage({ count: 1, sourceType: ['camera'], success: function (res) { // ...... } }) ``` **预期结果** 正常拉起摄像头进行拍照 **实际结果** 以下测试均为离线打包: 其中,荣耀 20 代表:荣耀 20,MagicUI...

# qq交流群问半天没人回复 ![image](https://user-images.githubusercontent.com/30390622/92672050-61abcd00-f34a-11ea-8c99-8a5638a6622b.png)

**问题描述** 看了资料,好像对原生开发有限制,不知道uniapp是否支持android窗口小工具与ios 的widget 吗? 支持的话能否提供一下实现思路? 谢谢你们啦

**问题描述** live-pusher页开启前置摄像头画面预览,调用扫码接口进入扫码页,一会儿闪退。 **系统信息:** 安卓8 uniapp 3.1.12 **补充信息** 临时解决方法:扫码前live-pusher停止预览,或者将live-pusher切到后置摄像头

**问题描述** 第一次扫描没问题,第一次扫描完成再调用 start()方法发起第二次扫描时候,识别非常慢基本不能识别,而且识别结果99%错误。 平台:安卓

**问题描述** uni.setBLEMTU设置mtu为128,像蓝牙设备发送32字节的数据包,但蓝牙设备只能收到20字节,mtu不管设置多少发送超过20字节,设备端只能收到20字节,更换手机测试也一样。写了个原生App的demo设置mtu后发送46字节的数据包,蓝牙设备能接收1帧46字节。 **复现步骤** [复现问题的步骤] ``` uni.setBLEMTU({ deviceId: deviceId, mtu: 128, success: (res) => { console.log(res) }, fail: (error) => { console.log(error) } }) const uint8Arr = new Uint8Array([1,2,3,4,5,6,7,8,9,1,2,3,4,5,6,7,8,9,1,2,3,4,5,6,7,8,9,1,2,3,4,5]) const buffer...

**问题描述** iOS端:DCUniMPSDKEngineDelegate里面方法 /// 返回打开小程序时的闪屏视图 /// @param appid appid - (UIView *)splashViewForApp:(NSString *)appid; 在这个代理方法里面的splashView中代码添加自定义加载动画无效,尝试在其他UIview中添加,动画是没有问题的 同一个页面,我直接在一个viewcontroller的view上添加,是有效的,代码如下,直接addSubview ``` UIView *splashView = [[[NSBundle mainBundle] loadNibNamed:@"SplashView" owner:self options:nil] lastObject]; [self.view addSubview:splashView]; ``` 但是我放到UNI提供的代理方法中,就不行了,动画效果丧失: ``` ///...