Skip to content

netzhouxiang/eeui-openlogin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eeui登录插件

只支持安卓

目前支持以下第三方登录,持续扩展中:
微信登录
微博登录
抖音登录
QQ登录

使用步骤:

一.在项目根目录执行下面语句:

  eeui plugin add openlogin

二.用android studio 打开项目

1.修改包名为你的APP包名,如图:
image

2.增加新浪微博,抖音支持:

  maven { url "https://dl.bintray.com/thelasterstar/maven/" }
  maven { url 'https://dl.bintray.com/aweme-open-sdk-team/public' }

image

3.修改相关参数
image

4.在项目中,通过以下代码调用:

  const ol = app.requireModule('openlogin');
  //微信登录
  ol.WeiXinLogin(res=>{
    //res回调 
  });
  //微博登录
  ol.WeiBoLogin(res=>{
    //res回调
  });
  //抖音登录
  ol.DouYinLogin(res=>{
    //res回调
  });
  //QQ登录
  ol.QQLogin(res=>{
    //res回调
  });

About

eeui第三方登录插件(安卓)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages