You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
android-libs/lib_social
Zhanty 7682edda28 optimize SingleLiveData 5 years ago
..
libs Initial commit 5 years ago
src/main optimize SingleLiveData 5 years ago
.gitignore Initial commit 5 years ago
README.md Initial commit 5 years ago
build.gradle Initial commit 5 years ago
proguard-rules.pro Initial commit 5 years ago

README.md

说明

微信登录

微信登录需要在包名.wxapi 包中添加一个名为 WXEntryActivity 的 Activity,并继承该 module 提供的 AbsWXEntryActivity

/**
 * 微信分享、登录回调
 *
 * @author Ztiany
 */
@SuppressWarnings("all")
public class WXEntryActivity extends AbsWXEntryActivity {


}

manifest 配置参考

        <!--微信分享回调-->
        <activity
            android:name="应用包名.wxapi.WXEntryActivity"
            android:exported="true"
            android:screenOrientation="portrait"/>

微信支付

微信支付需要在包名.wxapi 包中添加一个名为 WXPayEntryActivity 的 Activity,并继承该 module 提供的 AbsWeChatPayEntryActivity

/**
 * 微信分享、登录回调
 *
 * @author Ztiany
 */
@SuppressWarnings("all")
public class WXPayEntryActivity extends AbsWeChatPayEntryActivity {

}

manifest 配置参考

        <!--微信分享回调-->
        <activity
            android:name="应用包名.wxapi.WXPayEntryActivity"
            android:exported="true"
            android:screenOrientation="portrait"/>

支付宝支付

  • sdk 版本:alipaySdk-15.6.2-20190416165100-noUtdid