Commit Graph

45 Commits

Author SHA1 Message Date
openharmony_ci d086b5f38c !162 FIX:JS的字符串入参为null需要校验,避免未知错误
Merge pull request !162 from 褚晨辉/bug-fix-branch-new
2022-08-26 13:34:07 +00:00
z30025928 e09b0afeb8 检视意见修改
Signed-off-by: z30025928 <734222381@qq.com>
2022-08-26 11:46:56 +08:00
z30025928 77a0475947 FIX:对于request的其他字段也应增加校验逻辑
Signed-off-by: z30025928 <734222381@qq.com>
2022-08-26 11:07:34 +08:00
Chenhui Chu f112ba3993 FIX:新增入参校验错误码,异常应区分场景并抛出退出程序
Signed-off-by: Chenhui Chu <734222381@qq.com>
2022-08-25 22:10:08 +08:00
ruan-shaofei afd7e15129 remove param scenario of mock
Signed-off-by: ruan-shaofei <ruanshaofei2020@163.com>
2022-08-25 16:22:07 +08:00
openharmony_ci 86b39177ec !149 【OpenHarmony开源贡献者计划2022】 代码规范 修改魔鬼数字
Merge pull request !149 from 谈涛锋/master
2022-08-25 01:46:11 +00:00
openharmony_ci e722377ec1 !154 FIX:WGR位置服务隐私开机向导设置用户隐私的返回结果应符合预期
Merge pull request !154 from 褚晨辉/cherry-pick-branch
2022-08-23 03:38:36 +00:00
z30025928 22cca4b2a9 检视意见修改
Signed-off-by: z30025928 <734222381@qq.com>
2022-08-22 18:49:35 +08:00
z30025928 c679ac70de FIX:codecheck 规范,代码行长度不应超过120
Signed-off-by: z30025928 <734222381@qq.com>
2022-08-19 14:26:14 +08:00
Chenhui Chu ece218912b FIX:WGR位置服务隐私开机向导设置用户隐私的返回结果应符合预期
Signed-off-by: Chenhui Chu <734222381@qq.com>
2022-08-18 21:50:54 +08:00
ruan-shaofei 7e0bdaac0e callback called when type is void
Signed-off-by: ruan-shaofei <ruanshaofei2020@163.com>
2022-08-18 15:15:50 +08:00
z30025928 54137bb8bc FIX:WGR位置服务隐私开机向导设置用户隐私的返回结果应符合预期
Signed-off-by: z30025928 <734222381@qq.com>
2022-08-17 21:13:16 +08:00
z30025928 a1e3710a89 FIX:位置服务隐私开机向导设置用户隐私,提示显示错误问题
Signed-off-by: z30025928 <734222381@qq.com>
2022-08-17 16:21:32 +08:00
tantaofeng 81b93edd1a 【OpenHarmony开源贡献者计划2022】 编码规范 魔鬼数字修改
Signed-off-by: tantaofeng <809286712@qq.com>
2022-08-05 16:24:16 +08:00
liu-binjun 5abfccf364 bugfix:fix SetLocationMockState crash bug
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-07-26 11:57:46 +08:00
liu-binjun ccd7091a71 bugfix:Modify duplicate code problems
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-07-25 21:43:12 +08:00
openharmony_ci b6d6077ae2 !129 mock接口Promise方式修改
Merge pull request !129 from ruan-shaofei/master
2022-07-20 10:19:26 +00:00
ruan-shaofei b8b75e4904 DelaySingleton modify
Signed-off-by: ruan-shaofei <ruanshaofei2020@163.com>
2022-07-19 16:59:32 +08:00
liu-binjun e36e190280 bugfix:fix codex bug
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-07-18 17:27:09 +08:00
liu-binjun c44f83ffe1 bugfix:fix codex bug
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-07-13 09:45:35 +08:00
ruan-shaofei 9325ac9fa6 codex modify
Signed-off-by: ruan-shaofei <ruanshaofei2020@163.com>
2022-07-11 17:24:38 +08:00
openharmony_ci 7ed9436961 !115 代码规范 修改魔鬼数字
Merge pull request !115 from 谈涛锋/master
2022-07-07 03:08:47 +00:00
ruan-shaofei f5103107b0 location mock bugfix
Signed-off-by: ruan-shaofei <ruanshaofei2020@163.com>
2022-07-06 15:59:59 +08:00
tantaofeng 1e0a736ef4 编码规范 修改魔鬼数字
Signed-off-by: tftan <tftan@isoftstone.com>
2022-07-06 15:06:48 +08:00
ruan-shaofei 271b4175fb Merge branch 'master' of gitee.com:openharmony/base_location into master 2022-07-05 08:30:13 +00:00
liu-binjun 24e62451cb fix compile error
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-07-05 11:06:59 +08:00
ruan-shaofei 6ce79d56d3 Merge branch 'master' of gitee.com:openharmony/base_location into master 2022-07-05 00:04:42 +00:00
ruan-shaofei b904e40abd reverse geocode moke
Signed-off-by: ruan-shaofei <ruanshaofei2020@163.com>
2022-07-05 08:04:11 +08:00
liu-binjun 96f66f866a feature:add country code interfaces
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-07-04 21:56:14 +08:00
liu-binjun ff3d98a43a bugfix:revert pr
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-07-03 23:21:14 +08:00
liu-binjun 39b9fc02b9 bugfix:Getcurrentlocation returns location as the first argument in the callback function
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-07-02 16:13:16 +08:00
xiongyoujun 842d15fd3d Merge branch 'master' of gitee.com:xyjjim/base_location 2022-06-30 01:39:18 -07:00
xiongyoujun 9409b0d57d 国家码接口和mock接口
Signed-off-by: xiongyoujun <xiongyoujun@kaihongdigi.com>
2022-06-29 23:41:44 -07:00
xiongyoujun 1ea135a06a 国家码接口和mock接口
Signed-off-by: xiongyoujun <xiongyoujun@kaihongdigi.com>
2022-06-29 23:41:23 -07:00
liu-binjun 87485afd3f bugfix:location switch fail
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-06-29 17:08:14 +08:00
liu-binjun 4a5c87329a bugfix: fix JS API return code error bug
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-06-27 20:34:50 +08:00
liu-binjun 25d0ee241f fix sendCommand crash bug
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-06-21 09:14:01 +08:00
liu-binjun 9d271c948e fix crash bugs
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-06-20 21:25:49 +08:00
liu-binjun 8af8ac19b2 fix bugs
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-06-20 17:04:00 +08:00
liu-binjun b5540e2863 fix bugs
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-06-13 20:39:47 +08:00
liu-binjun 345df7b923 fix bugs
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-06-13 20:18:16 +08:00
liu-binjun 742a49d540 fix bug:have not check napi return value
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-06-12 22:42:42 +08:00
liu-binjun e4070457aa fix bugs
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-06-07 16:47:00 +08:00
liu-binjun 1050fdc9fa fix getcurrentlocation timeout not effective bug
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-06-06 16:03:54 +08:00
liu-binjun e4f2821f65 Realize component requirements
Signed-off-by: liu-binjun <liubinjun@huawei.com>
2022-05-16 21:23:58 +08:00