ali_auth 1.0.3 copy "ali_auth: ^1.0.3" to clipboard
ali_auth: ^1.0.3 copied to clipboard

This is a plug-in for one click login in the alicloud number authentication service. Alibaba cloud is also used in the one click login function

CircleCI Ali_auth workflow Codacy Badge

ali_auth #

GitHub license GitHub issues GitHub forks GitHub stars GitHub size GitHub release GitHub dependency

🔵 Internationalization #

English | 中文文档

This is a one click login plug-in for alicloud number authentication service As other functions of the project use alicloud services, Alibaba cloud is also used in the one click login function, which is conducive to better maintenance in the later stage. This plug-in is free, open source and highly customized. If you have any problems in use, you are welcome to give feedback. If you feel that this plug-in is not good enough, you can provide your valuable opinions, If you want to customize in your own project, please modify the clone of this plug-in locally. However, you are welcome to release other versions of plug-ins after modifying through this plug-in, However, when using or referring to the ideas or related contents of this plug-in,

Please indicate the source and link to this plug-in. Thank you for your cooperation. #

In order to solve most of the problems and repair a large number of bugs, the refactored version is used from 1.0.0. The API may be adjusted during use. I hope all partners can update the new version and continue to maintain it later. #

Refactoring version 1.0.0 - focus!!!!!!! Please put this part in the manifest file of the app. Please refer to the demo settings for details #

platform support
Android YES
Ios YES

code click response #

响应码 响应码描述
700000 点击返回按钮,⽤户取消免密登录(android 物理按钮/虚拟返回按钮暂未实现)请自行使用flutter替代
700001 点击切换按钮,⽤户取消免密登录
700002 点击登录按钮事件
700003 点击check box事件
700004 点击协议富⽂本⽂字事件
700005 点击点击第三方按钮事件

步骤 #

matters needing attention #

1、 针对移动闪退问题: 在示范工程,pods -> TARGETS -> ali_auth -> Build Settings -> Linking -> Other Linker Flags 里面加上 -ObjC(因为AuthSDK是通过pod依赖进去的,所有对应的target里面要加这个配置,不然移动网络会crash) 如下图所示:
cmcc_crash

2、该插件已添加ATAuthSDK.framework,在编译时请勿将ATAuthSDK.framework重复添加,以免出现未知错误 如下图所示添加的为错误操作
cmcc_crashcmcc_crash

Install #

dependencies:
  ali_auth:
    git:
      url: https://github.com/CodeGather/flutter_ali_auth.git

DEMO #

VIDEO #

Reward #

QQ Group chat #

Stargazers over time #

Stargazers over time

16
likes
0
pub points
82%
popularity

Publisher

verified publisherki5k.com

This is a plug-in for one click login in the alicloud number authentication service. Alibaba cloud is also used in the one click login function

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on ali_auth