You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Wojciech Trocki (JIRA)" <ji...@apache.org> on 2018/05/08 19:36:00 UTC

[jira] [Comment Edited] (CB-13982) Android screen orientation issue in 8.1.0 in Cordova Android App

    [ https://issues.apache.org/jira/browse/CB-13982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16467860#comment-16467860 ] 

Wojciech Trocki edited comment on CB-13982 at 5/8/18 7:35 PM:
--------------------------------------------------------------

[~VishwanathM] Do you use orientation plugin? 
When using cordova you should have only one activity unless you making multiple screens in native app. 
Steps you have provided are for native apps which have orientation specified in manifest. 
Can you provide simple list of steps to replicate this on Cordova platform?


was (Author: wtrocki):
[~VishwanathM] Do you use orientation plugin? When using cordova you should have only one activity unless you making multiple screens in native app. Steps you have provided are for native apps which have orientation specified in manifest. Can you provide simple list of steps to replicate this?

> Android screen orientation issue in 8.1.0 in Cordova Android App
> ----------------------------------------------------------------
>
>                 Key: CB-13982
>                 URL: https://issues.apache.org/jira/browse/CB-13982
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android
>    Affects Versions: 8.0.0
>         Environment: Android OS 8.1.0 and Android P Developer Preview 
> Pixel 2 XL Device
> Please check in attached project
>            Reporter: Vishwanath.M
>            Priority: Major
>              Labels: bug
>         Attachments: android.zip
>
>
> Am having issue in Android OS 8.1.0
>  * Start a portrait activity A (portrait declare programatically in code of main activity not in manifest)
>  * Start a landscape activity B (landscape declare on manifest)
>  * Finish the landscape activity B
>  * Main activity A which should be displayed in portrait mode will turn in to landscape after finishing landscape activity.
> I had observed this issue in google pixel 2 xl device with OS version 8.1.0 onwards ( issue present in Android P developer preview1 also)
> i saw someone posted in google groups also
> [https://issuetracker.google.com/issues/69168442]
> but didn't get any fix, how can i fix this issue.?
> My application is hybrid application (cordova) , I also tried to replicate issue in native android but issue is not there in native android sample app
> happening only in cordova app



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org