Jump to content

Game is showing in portrait mode when opened from browser


lhoang
 Share

Recommended Posts

Hello,

I have an instant game in development and I have marked the game to use landscape mode in my fbapp-config.json file. When I test the game via the Messenger app on my iPhone, everything works as expected. However, when I try it in my browser (Chrome), it shows up in Portrait mode and there doesn't seem to be any way to change the orientation. Does anyone know if this is the expected behavior or am I missing something? I am using v6.2 API and below is my config:

{
  "instant_games": {
    "platform_version": "RICH_GAMEPLAY",
    "orientation": "LANDSCAPE",
    "navigation_menu_version": "NAV_FLOATING"
  }
}

Thanks!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...