只支持安卓
目前支持以下第三方登录,持续扩展中:
微信登录
微博登录
抖音登录
QQ登录
使用步骤:
一.在项目根目录执行下面语句:
eeui plugin add openlogin二.用android studio 打开项目
2.增加新浪微博,抖音支持:
maven { url "https://dl.bintray.com/thelasterstar/maven/" }
maven { url 'https://dl.bintray.com/aweme-open-sdk-team/public' }4.在项目中,通过以下代码调用:
const ol = app.requireModule('openlogin');
//微信登录
ol.WeiXinLogin(res=>{
//res回调
});
//微博登录
ol.WeiBoLogin(res=>{
//res回调
});
//抖音登录
ol.DouYinLogin(res=>{
//res回调
});
//QQ登录
ol.QQLogin(res=>{
//res回调
});

