cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuyen Truong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12820) Android: Unable to load external angular script on some devices
Date Tue, 16 May 2017 18:58:04 GMT

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

Tuyen Truong commented on CB-12820:
-----------------------------------

Hi Kerri, 

Thank you for your response.

Yes, it seems this only occur with this url. I tried to debugs the webview using chrome debug
console and I found that the external javascript failed to inject elements to the body. Below
is the empty page:

<html ng-app="accounts" ng-csp=""><head>
    <meta charset="utf-8">
    <title ng-bind="(title &amp;&amp; (title | localize) + ' - ') + 'Spotify'">Spotify</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,
user-scalable=no">
    <base href="/">
    <link href="https://d2d1dxiu3v1f2i.cloudfront.net/20bd9f9/css/index.css" media="screen"
rel="stylesheet">

    <script async="" defer="" src="https://d2d1dxiu3v1f2i.cloudfront.net/20bd9f9/js/index.js"
sp-bootstrap=""></script>
    <meta ng-non-bindable="" sp-bootstrap-data="{&quot;client&quot;:{&quot;name&quot;:&quot;Tune.me&quot;},&quot;country&quot;:&quot;US&quot;,&quot;locales&quot;:[&quot;en_US&quot;],&quot;BON&quot;:[&quot;0&quot;,&quot;0&quot;,-522297171]}">
  </head>
  <body ng-view="">

</body></html>

As you can see, there is nothing in the body and there is no error is logged in the console.

We found this incident happens on two devices so far:

- Lg v20
  Android 7.0
  webview version: 1.4.0 and 1.7.2-dev

- Moto Drois Z 
   Android 7.0
  webview version: 1.4.0 and 1.7.2-dev

> Android: Unable to load external angular script on some devices
> ---------------------------------------------------------------
>
>                 Key: CB-12820
>                 URL: https://issues.apache.org/jira/browse/CB-12820
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-inappbrowser
>    Affects Versions: 1.4.0
>         Environment: Android
>            Reporter: Tuyen Truong
>
> Code to reproduce
> var url = "https://accounts.spotify.com/en/authorizeclient_id="+valid_spotify_client_id;
>  window.open(url, "_blank")
> Webview loads a blank screen.
> Further investigaion using Chrome debug console showed empty body in html.
> Affect devices: LG V20 and few others



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message