Skip to content

关于多次提及的弹窗和全屏的问题汇总 #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
CodeGather opened this issue Mar 5, 2022 · 0 comments
Closed

关于多次提及的弹窗和全屏的问题汇总 #63

CodeGather opened this issue Mar 5, 2022 · 0 comments
Assignees

Comments

@CodeGather
Copy link
Owner

CodeGather commented Mar 5, 2022

该问题看到有多位小伙伴提及,在此做一下说明,其他于此相关的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" />

#61

@CodeGather CodeGather pinned this issue Mar 5, 2022
@CodeGather CodeGather added this to the UI自定义配置 milestone Mar 5, 2022
@CodeGather CodeGather self-assigned this Mar 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant