-
-
Notifications
You must be signed in to change notification settings - Fork 80
Closed
Milestone
Description
该问题看到有多位小伙伴提及,在此做一下说明,其他于此相关的issues不另行回复
关键配置步骤
1、设置AliAuthModel配置参数 isDialog -> true|false 弹窗 | 全屏
2、设置模式的主题样式
1、插件demo的配置路径:
example/android/app/src/main/AndroidManifest.xml
2、对应的APP路径应该为:android/app/src/main/AndroidManifest.xml
3、弹窗主题android:theme="@style/authsdk_activity_dialog"
4、全屏主题android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
5、弹窗代码如下, 需要全屏时请替换下面配置中的android:theme参数
<!--协议页面webview-->
<activity
android:name="com.mobile.auth.gatewayauth.activity.AuthWebVeiwActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
tools:replace="android:theme"
android:exported="false"
android:launchMode="singleTop"
android:screenOrientation="behind"
android:theme="@style/authsdk_activity_dialog" />
<!--联通电信授权页-->
<activity
android:name="com.mobile.auth.gatewayauth.LoginAuthActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
tools:replace="android:configChanges"
android:exported="false"
android:launchMode="singleTop"
android:screenOrientation="behind"
android:theme="@style/authsdk_activity_dialog"/>
<!--移动授权页-->
<activity
android:name="com.cmic.sso.sdk.activity.LoginAuthActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
tools:replace="android:configChanges"
android:exported="false"
android:launchMode="singleTask"
android:screenOrientation="behind"
android:theme="@style/authsdk_activity_dialog" />
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels