Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12148

Only shows white screen on crosswalk + Android 7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • None
    • Android 7 (24) x86
      cordova-plugin-crosswalk-webview

    Description

      After adding the crosswalk-webview-plugin, the Hello World app only shows a white screen on Android 7.
      I have only seen the problem on x86-architecture, the arm-builds work fine for me.

      The culprit - for reasons unknown - is the meta viewport tag. The current one causes a white screen:
      <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">

      Removing maximum-scale and minimum-scale, thereby changing it to this makes the app work again:
      <meta name="viewport" content="user-scalable=no, initial-scale=1, width=device-width, height=device-height">

      Not sure if this belongs to you, or the crosswalk-team, but reporting here since it was easier

      Attachments

        Activity

          People

            Unassigned Unassigned
            mtkopone Mikko Koponen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: