cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Bau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-10743) deviceready not firing and shut down immediately that only in windows
Date Tue, 01 Mar 2016 07:31:18 GMT

     [ https://issues.apache.org/jira/browse/CB-10743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Colin Bau updated CB-10743:
---------------------------
    Description: 
well...
I know it is Unbelievable
but the deviceready not firing that only in windows (Android 5.1.0 and iOS 4.0.1 have no this
problem)
when I use these code,in Android and iOS,it will show the alert windows immediately
but when in Windows,it will shut down immediately (about 1-2 seconds)
by the way,I have never use any core or 3rd plugins that in order to test

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1,
user-scalable=0">
<title>XXX</title>
<script src="cordova.js" type="text/javascript"></script>
<script type="text/javascript">
document.addEventListener("deviceready", initialize, false);
function initialize() { alert('cordova'); }
</script>
</head>

<body>
</body>
</html>

  was:
well...
I know it is Unbelievable
but the deviceready not firing that only in windows (Android 5.1.0 and iOS 4.0.1 have no this
problem)
when I use these code,in Android and iOS,it will show the alert windows immediately
but when in Windows,it will shut down immediately (about 1-2 seconds)
by the way,I have never use any core or 3rd plugins that in order o test

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1,
user-scalable=0">
<title>XXX</title>
<script src="cordova.js" type="text/javascript"></script>
<script type="text/javascript">
document.addEventListener("deviceready", initialize, false);
function initialize() { alert('cordova'); }
</script>
</head>

<body>
</body>
</html>


> deviceready not firing and shut down immediately that only in windows
> ---------------------------------------------------------------------
>
>                 Key: CB-10743
>                 URL: https://issues.apache.org/jira/browse/CB-10743
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>    Affects Versions: 4.3.0
>         Environment: Windows 10 + Cordova cli-6 + Windows 4.3.1 + my device Nokia Lumia
520 (Windows Phone 8.1)
>            Reporter: Colin Bau
>            Priority: Critical
>
> well...
> I know it is Unbelievable
> but the deviceready not firing that only in windows (Android 5.1.0 and iOS 4.0.1 have
no this problem)
> when I use these code,in Android and iOS,it will show the alert windows immediately
> but when in Windows,it will shut down immediately (about 1-2 seconds)
> by the way,I have never use any core or 3rd plugins that in order to test
> <!doctype html>
> <html>
> <head>
> <meta charset="utf-8">
> <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1,
maximum-scale=1, user-scalable=0">
> <title>XXX</title>
> <script src="cordova.js" type="text/javascript"></script>
> <script type="text/javascript">
> document.addEventListener("deviceready", initialize, false);
> function initialize() { alert('cordova'); }
> </script>
> </head>
> <body>
> </body>
> </html>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message