naver / naveridlogin-sdk-android

네이버 아이디로 로그인 SDK (안드로이드)
https://developers.naver.com/docs/login/overview/
Apache License 2.0
114 stars 29 forks source link

ACTIVITY_IS_SINGLE_VIEW error when login by chrome from activity with locked screen orientation #4

Open MaxSpirihinKG opened 4 years ago

MaxSpirihinKG commented 4 years ago

After adding SDK to our game where screen orientation is locked to landscape we have found that after first login there is an error callback with activity_is_single_task code. An error could be reproduced to sample project in this repo.

Steps to reproduce

  1. Lock screenOrientation to landscape for OAuthSampleActivity in manifest
  2. Use phone with portrait orientation without Naver app
  3. Login to app first time (to see confirmation window)

An error activity_is_single_task will be occurred

Bug could be fixed by adding configChanges=“screenSize|orientation” to com.nhn.android.naverlogin.ui.OAuthLoginActivity. We added it to our top manifest for workaround.

DayeonLee-0 commented 2 years ago

Hello, @MaxSpirihinKG

I checked the issue you posted as an issue that occurred in the old version. As a result of reproduction in the latest version, it was not reproduced. Please check if it also occurs in the latest version.

Thank you.