Skip to content
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

showURL 웹뷰에서 FullScreen 모드 에서 Close 버튼을 누르면 회전 하는 현상 #531

Open
1 of 9 tasks
catchudev opened this issue Sep 5, 2024 · 2 comments
Assignees
Labels
bug Issue type : Bug report no-issue-activity WebView Service : WebView

Comments

@catchudev
Copy link

Service

  • WebView
  • AssetManagement
  • Communicator
  • LogViewer
  • Manager
  • UI
  • Profiler
  • Adapter
  • DLST

Version

Manager ver 2.2.6
Common ver 2.4.0
WebView ver 2.1.0

Describe the bug

웹뷰에서 FullScreen 모드에서 스마트폰을 회전한상태로 Close 버튼을 누르면 유니티 화면이 회전하는 버그

To Reproduce

웹뷰 실행 -> 세로 형태 스마트폰을 가로로 회전 ( 설정에서 회전설정 X ) -> 웹뷰 CloseButton 터치 -> 웹뷰가 닫히면서 유니티 화면이 회전

Expected behavior

유니티도 세로모드 고정이고 웹뷰도 orientation을 고정했는데 회전을 해버리네요

Environment

image

public void ShowWebView(
        String url, String title=null, 
        GpmWebViewCallback.GpmWebViewDelegate callback=null, List<string> schemeList=null){
        if(url.IsNullOrEmpty()) return;

        GpmWebView.ShowUrl(url, new GpmWebViewRequest.Configuration()
        {
            title = title != null ? title : "타이틀",
            style = GpmWebViewStyle.FULLSCREEN,
            orientation=GpmOrientation.PORTRAIT,
            isClearCookie = true,
            isClearCache = true,
            isNavigationBarVisible=true,
            isCloseButtonVisible = true,
            supportMultipleWindows = true,
#if UNITY_IOS
            contentMode = GpmWebViewContentMode.MOBILE,
            isMaskViewVisible = true,
            isAutoRotation=false
#endif
            // navigationBarColor = "#523CC1",
        }, callback != null ? callback : WebViewOnCallback, schemeList);
    }
    

Unity

  • 2022.3.26f1

Desktop (please complete the following information):

  • OS: android, ios
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: ipad 11 inc gen2 / galaxy fold4 5G
  • OS: iPadOS 17.6.1 / Android OS 14 OneUI 6.1
  • Browser stock browser
  • Version [e.g. 22]

Additional context

Add any other context about the problem here.

@catchudev catchudev added the bug Issue type : Bug report label Sep 5, 2024
@spin-nhn spin-nhn self-assigned this Sep 6, 2024
@spin-nhn spin-nhn added the WebView Service : WebView label Sep 6, 2024
@spin-nhn
Copy link
Contributor

spin-nhn commented Sep 6, 2024

@catchudev 안녕하세요
확인 후 답변드리겠습니다.

Copy link

Stale issue. Please check this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue type : Bug report no-issue-activity WebView Service : WebView
Projects
None yet
Development

No branches or pull requests

2 participants