Open philipgen opened 3 years ago
I can reproduce the issue. I'm not sure how it can be resolved, though. Here are my findings and some additional information:
onActivityResult
(share result) callbackandroid:configChanges="...|orientation|..."
line in Unity's AndroidManifest lets Unity handle the orientation changes manually inside UnityPlayerActivity.java's @Override public void onConfigurationChanged(Configuration newConfig)
function@Override
public void onConfigurationChanged( Configuration newConfig)
{
super.onConfigurationChanged( newConfig );
getActivity().onConfigurationChanged( newConfig );
}
So, I don't know how this issue can be resolved.
Description of the bug
Cannot rotate Android device when Share dialog is open
Reproduction steps
Expected: Device rotates
Acutal: Device does not rotate
Note: Behavior does not happen on iOS
Platform specs
Please provide the following info if this is a Unity 3D repository.
Additional info
I have attached a simple Unity project and apk . (Be sure to rename the apk.zip to apk as I cannot attach apk) Share File.zip ShareFile.apk.zip