Comments (12)
正在研究中。
from cloudbase_ce.
嗨,最近开发重心没在flutter这边。如果你已经自己开发了短信登录,非常欢迎提交PR,我会尽快合并到主分支。
同时也欢迎来讨论任何问题。
from cloudbase_ce.
刚刚用copilot补了一个smsAuth的代码,不知道效果怎样,方便的话你可以试试,如果有问题也欢迎来反馈。
from cloudbase_ce.
好的,感谢🙏
from cloudbase_ce.
返回错误信息:
Unhandled Exception: CloudBaseError [PERMISSION_DENIED]: Unauthenticated access is denied
from cloudbase_ce.
嗨@skylineman, 请问短信登录的代码测试通过了吗,如果已经可用,我将合并到主分支
from cloudbase_ce.
只可以发送短信了,但登录不行。没找到使用验证码注册、登录的请求命令字,试了"auth.singInWithPhoneCode", "auth.singUpWithPhoneCode", 都响应是无效指令。
发送短信还有小问题:总是返回: '短信发送失败',但实际上能接受到验证码短信。
final CloudBaseResponse? res = await CloudBaseRequest(super.core).postWithoutAuth('auth.sendPhoneCode', {'phoneNumber': phone});
from cloudbase_ce.
只可以发送短信了,但登录不行。没找到使用验证码注册、登录的请求命令字,试了"auth.singInWithPhoneCode", "auth.singUpWithPhoneCode", 都响应是无效指令。
发送短信还有小问题:总是返回: '短信发送失败',但实际上能接受到验证码短信。
final CloudBaseResponse? res = await CloudBaseRequest(super.core).postWithoutAuth('auth.sendPhoneCode', {'phoneNumber': phone});
谢谢你的反馈!
由于官方没有提供flutter的短信登录的相关介绍,我也只能参考js sdk和借助copilot,我还没有短信资源包,所以没办法测试。
不过总体来说是好的,毕竟发送验证码的功能已经成功了。
如果你愿意修正这部分代码,非常欢迎你提交PR。
from cloudbase_ce.
手机短信注册及登录都 OK 了,这两天我把代码传上来。
from cloudbase_ce.
手机短信注册及登录都 OK 了,这两天我把代码传上来。
太棒了!这是一个官方没有在flutter sdk中提供,但却十分重要的功能。非常感谢你的贡献!
我会在第一时间处理PR并推送到pub.dev上。欢迎来交流任何问题。
from cloudbase_ce.
@skylineman 看到你已将代码提交到了新的branch,欢迎提交PR。
新年快乐🎉~
from cloudbase_ce.
嗨 @skylineman,现在你仓库中的代码是完善的吗?期待收到你的PR
from cloudbase_ce.
Related Issues (4)
- Bug修正: 数据库上传如果包含多个map嵌套会出现该问题,会出现无限递归栈溢出的问题,附带修正代码 HOT 2
- 感谢 HOT 1
- 代码执行异常 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudbase_ce.