Sly Posted May 6, 2018 Share Posted May 6, 2018 Can I block landscape mode in my app? I would like to use only portrait. Quote Link to comment Share on other sites More sharing options...
enpu Posted May 6, 2018 Share Posted May 6, 2018 What platform are you talking about now? Web, mobile web, mobile app or something else? Quote Link to comment Share on other sites More sharing options...
Sly Posted May 6, 2018 Author Share Posted May 6, 2018 mobile and web Quote Link to comment Share on other sites More sharing options...
enpu Posted May 6, 2018 Share Posted May 6, 2018 Unfortunately mobile browser orientation cannot be locked with JavaScript. This affects all HTML5 game engines. Quote Link to comment Share on other sites More sharing options...
Sly Posted May 6, 2018 Author Share Posted May 6, 2018 eh, I have problem with landscape mode on fb (instant game) ok I will try to find other solution to fix this problem Quote Link to comment Share on other sites More sharing options...
enpu Posted May 6, 2018 Share Posted May 6, 2018 Oh if you are using Instant Games then that's different thing than regular mobile browser. You can change your Instant Game orientation from your game dashboard. From there go to "Instant Games -> Details" Quote Link to comment Share on other sites More sharing options...
Sly Posted May 6, 2018 Author Share Posted May 6, 2018 I saw this option and I set portrait on dashboard but when I change the orientation on device engine change game to landscape Quote Link to comment Share on other sites More sharing options...
enpu Posted May 6, 2018 Share Posted May 6, 2018 If your Instant Game is set to portrait, then it should not change to landscape at all. That sounds like issue with Facebook or Messenger app. Have you tried updating to latest version? Quote Link to comment Share on other sites More sharing options...
Sly Posted May 6, 2018 Author Share Posted May 6, 2018 I will update the plugin and check again. I will let you know Quote Link to comment Share on other sites More sharing options...
enpu Posted May 6, 2018 Share Posted May 6, 2018 No not the plugin, update the app that you are using to play your Instant Game (Facebook or Messenger). That issue has nothing to do with Panda 2 or it's Instant Games plugin. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.