I’m using the same build.settings for both iOS and Android but I’ve only seen it on Android devices. By the way, update on the issue, it slipped my attention that I haven’t tried locking screen rotation on the other devices. It seems that the issue is Android-wide as I tried the same on the other devices.
Also, there’s one more issue with the media.playVideo: it overrides the " native.setProperty( “androidSystemUiVisibility”, “immersiveSticky” ) " code, the moment the video kicks in.
Anyway, here is my build.settings:
-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight settings = { plugins = { ["facebook"] = { publisherId = "com.coronalabs", }, }, orientation = { default = "landscapeRight", supported = { "landscapeRight", "landscapeLeft" } }, iphone = { plist = { MinimumOSVersion = "7.0", UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend UIInterfaceOrientation = "UIInterfaceOrientationLandscapeRight", UISupportedInterfaceOrientations = { "UIInterfaceOrientationLandscapeRight", "UIInterfaceOrientationLandscapeLeft" }, CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-60@3x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-40@3x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png" }, UILaunchStoryboardName = "LaunchScreen", UIAppFonts = { "font1.ttf", "font2.otf", }, FacebookAppID = "key", --replace XXXXXXXXXX with your Facebook App ID CFBundleURLTypes = { { CFBundleURLSchemes = { "fbkey", } --replace XXXXXXXXXX with your Facebook App ID } }, ["URL types"] = { item = { ["URL Schemes"] = { ["Item 0"] = "fbkey" }, --replace XXXXXXXXXX with your Facebook App ID }, }, } }, android = { largeHeap = true, usesExpansionFile = true, usesPermissions = { "android.permission.INTERNET", "com.android.vending.CHECK\_LICENSE", "android.permission.WRITE\_EXTERNAL\_STORAGE" } }, }