[jira] [Updated] (CB-5987) CORDOVA_JS_BUILD_LABEL variable (in Cordova.js file) does not change when the version is updated

2014-02-07 Thread Kevin Lucich (JIRA)

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

Kevin Lucich updated CB-5987:
-

Summary: CORDOVA_JS_BUILD_LABEL variable (in Cordova.js file) does not 
change when the version is updated  (was: CORDOVA_JS_BUILD_LABEL variable does 
not change when the version is updated)

 CORDOVA_JS_BUILD_LABEL variable (in Cordova.js file) does not change when the 
 version is updated
 

 Key: CB-5987
 URL: https://issues.apache.org/jira/browse/CB-5987
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaJS
Affects Versions: 3.0.0
Reporter: Kevin Lucich
  Labels: cordova.js, cordovajs

 In the file there is a variable called Cordova.js CORDOVA_JS_BUILD_LABEL that 
 indicates the version of the framework, I noticed that when the framework is 
 aggiornatao this variable is not changed. 
 Example: 3.3.0 (also in version 3.3.1-0.3.1, which in my opinion should be 
 3.3.1) 
 Correct me if I'm wrong or if I'm saying something stupid. 
 Kevin



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Created] (CB-5987) CORDOVA_JS_BUILD_LABEL variable does not change when the version is updated

2014-02-07 Thread Kevin Lucich (JIRA)
Kevin Lucich created CB-5987:


 Summary: CORDOVA_JS_BUILD_LABEL variable does not change when the 
version is updated
 Key: CB-5987
 URL: https://issues.apache.org/jira/browse/CB-5987
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaJS
Affects Versions: 3.0.0
Reporter: Kevin Lucich


In the file there is a variable called Cordova.js CORDOVA_JS_BUILD_LABEL that 
indicates the version of the framework, I noticed that when the framework is 
aggiornatao this variable is not changed. 
Example: 3.3.0 (also in version 3.3.1-0.3.1, which in my opinion should be 
3.3.1) 

Correct me if I'm wrong or if I'm saying something stupid. 

Kevin



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Created] (CB-5934) Geolocation not working in Galaxy S3 mini (Android)

2014-01-29 Thread Kevin Lucich (JIRA)
Kevin Lucich created CB-5934:


 Summary: Geolocation not working in Galaxy S3 mini (Android)
 Key: CB-5934
 URL: https://issues.apache.org/jira/browse/CB-5934
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Kevin Lucich


I testing a simple app of Geolocation in my device, but it not working.

HTML: 

!DOCTYPE html
html
  head
titleDevice Properties Example/title

script type=text/javascript charset=utf-8 src=cordova.js/script
script type=text/javascript charset=utf-8

// Wait for device API libraries to load
//
document.addEventListener(deviceready, onDeviceReady, false);

var watchID = null;

// device APIs are available
//
function onDeviceReady() {
// Get the most accurate position updates available on the
// device.
var options = { enableHighAccuracy: true };
watchID = navigator.geolocation.watchPosition(onSuccess, onError, 
options);
}

// onSuccess Geolocation
//
function onSuccess(position) {
var element = document.getElementById('geolocation');
element.innerHTML = 'Latitude: '  + position.coords.latitude  + 
'br /' +
'Longitude: ' + position.coords.longitude + 
'br /' +
'Timestamp: ' + position.timestamp;
// 'hr /'  + element.innerHTML;
}

// clear the watch that was started earlier
//
function clearWatch() {
if (watchID != null) {
navigator.geolocation.clearWatch(watchID);
watchID = null;
}
}

// onError Callback receives a PositionError object
//
function onError(error) {
  alert('code: '+ error.code+ '\n' +
'message: ' + error.message + '\n');
}

/script
  /head
  body
p id=geolocationWatching geolocation.../p
button onclick=clearWatch();Clear Watch/button
  /body
/html




-

This is my AndroidManifest.xml

?xml version='1.0' encoding='utf-8'?
manifest android:hardwareAccelerated=true android:versionCode=1 
android:versionName=0.0.1 android:windowSoftInputMode=adjustPan 
package=it.test.geo 
xmlns:android=http://schemas.android.com/apk/res/android;
supports-screens android:anyDensity=true android:largeScreens=true 
android:normalScreens=true android:resizeable=true 
android:smallScreens=true android:xlargeScreens=true /
uses-permission android:name=android.permission.INTERNET /
uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION /
uses-permission android:name=android.permission.ACCESS_FINE_LOCATION /
uses-sdk android:minSdkVersion=10 android:targetSdkVersion=19 /
application android:allowBackup=false android:hardwareAccelerated=true 
android:icon=@drawable/icon android:label=@string/app_name
activity 
android:configChanges=orientation|keyboardHidden|keyboard|screenSize|locale 
android:label=@string/app_name android:name=GeolocationTest 
android:theme=@android:style/Theme.Black.NoTitleBar
intent-filter
action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.LAUNCHER /
/intent-filter
/activity
/application
/manifest




This is my /platforms/android/assets/www/config.xml

?xml version='1.0' encoding='utf-8'?
widget id=it.test.geo version=0.0.1 xmlns=http://www.w3.org/ns/widgets; 
xmlns:cdv=http://cordova.apache.org/ns/1.0;
nameHello Cordova/name
description
A sample Apache Cordova application that responds to the deviceready 
event.
/description
preference name=loglevel value=DEBUG /
feature name=App
param name=android-package value=org.apache.cordova.App /
/feature
feature name=Geolocation
param name=android-package 
value=org.apache.cordova.geolocation.GeoBroker /
/feature
nameGeolocationTest/name
description
Geolocation Test.
/description
author email=t...@test.it href=http://www.test.com;
test test
/author
content src=index.html /
access origin=* /
/widget

ps. I add manually the lines of feature... is that correct??


Thanks for your help,
Kevin



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5934) Geolocation not working in Galaxy S3 mini (Android)

2014-01-29 Thread Kevin Lucich (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13885293#comment-13885293
 ] 

Kevin Lucich commented on CB-5934:
--

My version of Android is: 4.1.2

I tested in another devide (Mediacom, with Android 4.2.0 ) and Geolocation not 
working  :-(

 Geolocation not working in Galaxy S3 mini (Android)
 ---

 Key: CB-5934
 URL: https://issues.apache.org/jira/browse/CB-5934
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Kevin Lucich
  Labels: android, androidmanifest.xml, geolocation

 I testing a simple app of Geolocation in my device, but it not working.
 HTML: 
 !DOCTYPE html
 html
   head
 titleDevice Properties Example/title
 script type=text/javascript charset=utf-8 src=cordova.js/script
 script type=text/javascript charset=utf-8
 // Wait for device API libraries to load
 //
 document.addEventListener(deviceready, onDeviceReady, false);
 var watchID = null;
 // device APIs are available
 //
 function onDeviceReady() {
 // Get the most accurate position updates available on the
 // device.
 var options = { enableHighAccuracy: true };
 watchID = navigator.geolocation.watchPosition(onSuccess, onError, 
 options);
 }
 // onSuccess Geolocation
 //
 function onSuccess(position) {
 var element = document.getElementById('geolocation');
 element.innerHTML = 'Latitude: '  + position.coords.latitude  + 
 'br /' +
 'Longitude: ' + position.coords.longitude + 
 'br /' +
 'Timestamp: ' + position.timestamp;
 // 'hr /'  + element.innerHTML;
 }
 // clear the watch that was started earlier
 //
 function clearWatch() {
 if (watchID != null) {
 navigator.geolocation.clearWatch(watchID);
 watchID = null;
 }
 }
 // onError Callback receives a PositionError object
 //
 function onError(error) {
   alert('code: '+ error.code+ '\n' +
 'message: ' + error.message + '\n');
 }
 /script
   /head
   body
 p id=geolocationWatching geolocation.../p
 button onclick=clearWatch();Clear Watch/button
   /body
 /html
 -
 This is my AndroidManifest.xml
 ?xml version='1.0' encoding='utf-8'?
 manifest android:hardwareAccelerated=true android:versionCode=1 
 android:versionName=0.0.1 android:windowSoftInputMode=adjustPan 
 package=it.test.geo 
 xmlns:android=http://schemas.android.com/apk/res/android;
 supports-screens android:anyDensity=true android:largeScreens=true 
 android:normalScreens=true android:resizeable=true 
 android:smallScreens=true android:xlargeScreens=true /
 uses-permission android:name=android.permission.INTERNET /
 uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION 
 /
 uses-permission android:name=android.permission.ACCESS_FINE_LOCATION /
 uses-sdk android:minSdkVersion=10 android:targetSdkVersion=19 /
 application android:allowBackup=false 
 android:hardwareAccelerated=true android:icon=@drawable/icon 
 android:label=@string/app_name
 activity 
 android:configChanges=orientation|keyboardHidden|keyboard|screenSize|locale 
 android:label=@string/app_name android:name=GeolocationTest 
 android:theme=@android:style/Theme.Black.NoTitleBar
 intent-filter
 action android:name=android.intent.action.MAIN /
 category android:name=android.intent.category.LAUNCHER /
 /intent-filter
 /activity
 /application
 /manifest
 
 This is my /platforms/android/assets/www/config.xml
 ?xml version='1.0' encoding='utf-8'?
 widget id=it.test.geo version=0.0.1 xmlns=http://www.w3.org/ns/widgets; 
 xmlns:cdv=http://cordova.apache.org/ns/1.0;
 nameHello Cordova/name
 description
 A sample Apache Cordova application that responds to the deviceready 
 event.
 /description
 preference name=loglevel value=DEBUG /
 feature name=App
 param name=android-package value=org.apache.cordova.App /
 /feature
 feature name=Geolocation
 param name=android-package 
 value=org.apache.cordova.geolocation.GeoBroker /
 /feature
 nameGeolocationTest/name
 description
 Geolocation Test.
 /description
 author email=t...@test.it href=http://www.test.com;
 test test
 /author
 content src=index.html /
 access origin=* /
 /widget
 ps. I add manually the lines of feature... is that correct??
 Thanks for your help,
 Kevin



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Closed] (CB-5934) Geolocation not working in Galaxy S3 mini (Android)

2014-01-29 Thread Kevin Lucich (JIRA)

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

Kevin Lucich closed CB-5934.


Resolution: Not A Problem

I tried several times and eventually the GPS worked. the problem was neither of 
Cordova any of my devices: the problem was that the area where he was testing 
does not cover the GPS signal!

 Geolocation not working in Galaxy S3 mini (Android)
 ---

 Key: CB-5934
 URL: https://issues.apache.org/jira/browse/CB-5934
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Kevin Lucich
  Labels: android, androidmanifest.xml, geolocation

 I testing a simple app of Geolocation in my device, but it not working.
 HTML: 
 !DOCTYPE html
 html
   head
 titleDevice Properties Example/title
 script type=text/javascript charset=utf-8 src=cordova.js/script
 script type=text/javascript charset=utf-8
 // Wait for device API libraries to load
 //
 document.addEventListener(deviceready, onDeviceReady, false);
 var watchID = null;
 // device APIs are available
 //
 function onDeviceReady() {
 // Get the most accurate position updates available on the
 // device.
 var options = { enableHighAccuracy: true };
 watchID = navigator.geolocation.watchPosition(onSuccess, onError, 
 options);
 }
 // onSuccess Geolocation
 //
 function onSuccess(position) {
 var element = document.getElementById('geolocation');
 element.innerHTML = 'Latitude: '  + position.coords.latitude  + 
 'br /' +
 'Longitude: ' + position.coords.longitude + 
 'br /' +
 'Timestamp: ' + position.timestamp;
 // 'hr /'  + element.innerHTML;
 }
 // clear the watch that was started earlier
 //
 function clearWatch() {
 if (watchID != null) {
 navigator.geolocation.clearWatch(watchID);
 watchID = null;
 }
 }
 // onError Callback receives a PositionError object
 //
 function onError(error) {
   alert('code: '+ error.code+ '\n' +
 'message: ' + error.message + '\n');
 }
 /script
   /head
   body
 p id=geolocationWatching geolocation.../p
 button onclick=clearWatch();Clear Watch/button
   /body
 /html
 -
 This is my AndroidManifest.xml
 ?xml version='1.0' encoding='utf-8'?
 manifest android:hardwareAccelerated=true android:versionCode=1 
 android:versionName=0.0.1 android:windowSoftInputMode=adjustPan 
 package=it.test.geo 
 xmlns:android=http://schemas.android.com/apk/res/android;
 supports-screens android:anyDensity=true android:largeScreens=true 
 android:normalScreens=true android:resizeable=true 
 android:smallScreens=true android:xlargeScreens=true /
 uses-permission android:name=android.permission.INTERNET /
 uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION 
 /
 uses-permission android:name=android.permission.ACCESS_FINE_LOCATION /
 uses-sdk android:minSdkVersion=10 android:targetSdkVersion=19 /
 application android:allowBackup=false 
 android:hardwareAccelerated=true android:icon=@drawable/icon 
 android:label=@string/app_name
 activity 
 android:configChanges=orientation|keyboardHidden|keyboard|screenSize|locale 
 android:label=@string/app_name android:name=GeolocationTest 
 android:theme=@android:style/Theme.Black.NoTitleBar
 intent-filter
 action android:name=android.intent.action.MAIN /
 category android:name=android.intent.category.LAUNCHER /
 /intent-filter
 /activity
 /application
 /manifest
 
 This is my /platforms/android/assets/www/config.xml
 ?xml version='1.0' encoding='utf-8'?
 widget id=it.test.geo version=0.0.1 xmlns=http://www.w3.org/ns/widgets; 
 xmlns:cdv=http://cordova.apache.org/ns/1.0;
 nameHello Cordova/name
 description
 A sample Apache Cordova application that responds to the deviceready 
 event.
 /description
 preference name=loglevel value=DEBUG /
 feature name=App
 param name=android-package value=org.apache.cordova.App /
 /feature
 feature name=Geolocation
 param name=android-package 
 value=org.apache.cordova.geolocation.GeoBroker /
 /feature
 nameGeolocationTest/name
 description
 Geolocation Test.
 /description
 author email=t...@test.it href=http://www.test.com;
 test test
 /author
 content src=index.html /
 access origin=* /
 /widget
 ps. I add manually the lines of feature... is that correct??
 Thanks for your help,
 Kevin



--
This message was sent by 

[jira] [Created] (CB-5938) customize the search value of GPS

2014-01-29 Thread Kevin Lucich (JIRA)
Kevin Lucich created CB-5938:


 Summary: customize the search value of GPS
 Key: CB-5938
 URL: https://issues.apache.org/jira/browse/CB-5938
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android, Plugin Geolocation
Affects Versions: 3.3.0
Reporter: Kevin Lucich
Priority: Blocker


In my application I would like to update the user's location on a map, 
unfortunately I noticed that with the GPS and using the 
geolocation.watchPosition the location is updated every 60 seconds. this 
value I found in the files .java. how do I customize it?
if I change the file risk that the next update of the plugin geolocation this 
setting is overridden. how do I change that value without having to touch the 
file .java?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5938) customize the search value of GPS

2014-01-29 Thread Kevin Lucich (JIRA)

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

Kevin Lucich updated CB-5938:
-

Priority: Major  (was: Blocker)

 customize the search value of GPS
 -

 Key: CB-5938
 URL: https://issues.apache.org/jira/browse/CB-5938
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android, Plugin Geolocation
Affects Versions: 3.3.0
Reporter: Kevin Lucich
  Labels: geolocation, plugin

 In my application I would like to update the user's location on a map, 
 unfortunately I noticed that with the GPS and using the 
 geolocation.watchPosition the location is updated every 60 seconds. this 
 value I found in the files .java. how do I customize it?
 if I change the file risk that the next update of the plugin geolocation 
 this setting is overridden. how do I change that value without having to 
 touch the file .java?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5647) cordova_plugins.js folder not populated with clobbers for Android

2014-01-16 Thread Kevin Lucich (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13873138#comment-13873138
 ] 

Kevin Lucich commented on CB-5647:
--

Hi,
i had the same problem, see CB-5783 issue for solution.

Kevin

 cordova_plugins.js folder not populated with clobbers for Android 
 --

 Key: CB-5647
 URL: https://issues.apache.org/jira/browse/CB-5647
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CLI
Affects Versions: 3.3.0
Reporter: Greg

 If you try to run any plugin command using PhoneGap CLI, such as:
 phonegap local plugin add org.apache.cordova.splashscreen
 The cordova_plugins.js does not get updated and the JS file doesn't get added 
 to the www/ section. Native hooks are added, but not the JS side.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5783) Cordova/plugin_list - module.exports are always empty

2014-01-16 Thread Kevin Lucich (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13873139#comment-13873139
 ] 

Kevin Lucich commented on CB-5783:
--

* The problem is resolved.
Thanks!

 Cordova/plugin_list - module.exports are always empty
 -

 Key: CB-5783
 URL: https://issues.apache.org/jira/browse/CB-5783
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.3.0
 Environment: Test the app in a desktop browser
Reporter: Kevin Lucich
  Labels: cordova, plugin_list, plugins
 Fix For: 3.3.0


 When i tested the apps in desktop browser (version Cordova 3.0.0) i don't 
 received any error. when i update Cordova i note that the file 
 cordova_plugins.js has variable empty (module.exports is empty array). 
 Before the update this file contained the list of installated plugins. 
 Why is now empty?
 This problem causes the fact that I receive the error navigator.connection 
 is undefined
 /
 Old Cordova - after installations a plugin
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [
 [...]
 {
 file: 
 plugins/org.apache.cordova.network-information/www/network.js,
 id: org.apache.cordova.network-information.network,
 clobbers: [
 navigator.connection,
 navigator.network.connection
 ]
 },
 [...]
 ]
 });
 /
 Cordova 3.3.0
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [];
 module.exports.metadata = 
 // TOP OF METADATA
 {}
 // BOTTOM OF METADATA
 });



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Reopened] (CB-5783) Cordova/plugin_list - module.exports are always empty

2014-01-16 Thread Kevin Lucich (JIRA)

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

Kevin Lucich reopened CB-5783:
--


IL COMANDO MI HA CANCELLATO TUTTI GLI ASSETS  :

 Cordova/plugin_list - module.exports are always empty
 -

 Key: CB-5783
 URL: https://issues.apache.org/jira/browse/CB-5783
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.3.0
 Environment: Test the app in a desktop browser
Reporter: Kevin Lucich
  Labels: cordova, plugin_list, plugins
 Fix For: 3.3.0


 When i tested the apps in desktop browser (version Cordova 3.0.0) i don't 
 received any error. when i update Cordova i note that the file 
 cordova_plugins.js has variable empty (module.exports is empty array). 
 Before the update this file contained the list of installated plugins. 
 Why is now empty?
 This problem causes the fact that I receive the error navigator.connection 
 is undefined
 /
 Old Cordova - after installations a plugin
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [
 [...]
 {
 file: 
 plugins/org.apache.cordova.network-information/www/network.js,
 id: org.apache.cordova.network-information.network,
 clobbers: [
 navigator.connection,
 navigator.network.connection
 ]
 },
 [...]
 ]
 });
 /
 Cordova 3.3.0
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [];
 module.exports.metadata = 
 // TOP OF METADATA
 {}
 // BOTTOM OF METADATA
 });



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5783) Cordova/plugin_list - module.exports are always empty

2014-01-16 Thread Kevin Lucich (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13873145#comment-13873145
 ] 

Kevin Lucich commented on CB-5783:
--

COMMAND HE HAS DELETED ALL ASSETS!! : 

 Cordova/plugin_list - module.exports are always empty
 -

 Key: CB-5783
 URL: https://issues.apache.org/jira/browse/CB-5783
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.3.0
 Environment: Test the app in a desktop browser
Reporter: Kevin Lucich
  Labels: cordova, plugin_list, plugins
 Fix For: 3.3.0


 When i tested the apps in desktop browser (version Cordova 3.0.0) i don't 
 received any error. when i update Cordova i note that the file 
 cordova_plugins.js has variable empty (module.exports is empty array). 
 Before the update this file contained the list of installated plugins. 
 Why is now empty?
 This problem causes the fact that I receive the error navigator.connection 
 is undefined
 /
 Old Cordova - after installations a plugin
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [
 [...]
 {
 file: 
 plugins/org.apache.cordova.network-information/www/network.js,
 id: org.apache.cordova.network-information.network,
 clobbers: [
 navigator.connection,
 navigator.network.connection
 ]
 },
 [...]
 ]
 });
 /
 Cordova 3.3.0
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [];
 module.exports.metadata = 
 // TOP OF METADATA
 {}
 // BOTTOM OF METADATA
 });



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Issue Comment Deleted] (CB-5783) Cordova/plugin_list - module.exports are always empty

2014-01-16 Thread Kevin Lucich (JIRA)

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

Kevin Lucich updated CB-5783:
-

Comment: was deleted

(was: The problem is )

 Cordova/plugin_list - module.exports are always empty
 -

 Key: CB-5783
 URL: https://issues.apache.org/jira/browse/CB-5783
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.3.0
 Environment: Test the app in a desktop browser
Reporter: Kevin Lucich
  Labels: cordova, plugin_list, plugins
 Fix For: 3.3.0


 When i tested the apps in desktop browser (version Cordova 3.0.0) i don't 
 received any error. when i update Cordova i note that the file 
 cordova_plugins.js has variable empty (module.exports is empty array). 
 Before the update this file contained the list of installated plugins. 
 Why is now empty?
 This problem causes the fact that I receive the error navigator.connection 
 is undefined
 /
 Old Cordova - after installations a plugin
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [
 [...]
 {
 file: 
 plugins/org.apache.cordova.network-information/www/network.js,
 id: org.apache.cordova.network-information.network,
 clobbers: [
 navigator.connection,
 navigator.network.connection
 ]
 },
 [...]
 ]
 });
 /
 Cordova 3.3.0
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [];
 module.exports.metadata = 
 // TOP OF METADATA
 {}
 // BOTTOM OF METADATA
 });



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Issue Comment Deleted] (CB-5783) Cordova/plugin_list - module.exports are always empty

2014-01-16 Thread Kevin Lucich (JIRA)

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

Kevin Lucich updated CB-5783:
-

Comment: was deleted

(was: * The problem is resolved.
Thanks!)

 Cordova/plugin_list - module.exports are always empty
 -

 Key: CB-5783
 URL: https://issues.apache.org/jira/browse/CB-5783
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.3.0
 Environment: Test the app in a desktop browser
Reporter: Kevin Lucich
  Labels: cordova, plugin_list, plugins
 Fix For: 3.3.0


 When i tested the apps in desktop browser (version Cordova 3.0.0) i don't 
 received any error. when i update Cordova i note that the file 
 cordova_plugins.js has variable empty (module.exports is empty array). 
 Before the update this file contained the list of installated plugins. 
 Why is now empty?
 This problem causes the fact that I receive the error navigator.connection 
 is undefined
 /
 Old Cordova - after installations a plugin
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [
 [...]
 {
 file: 
 plugins/org.apache.cordova.network-information/www/network.js,
 id: org.apache.cordova.network-information.network,
 clobbers: [
 navigator.connection,
 navigator.network.connection
 ]
 },
 [...]
 ]
 });
 /
 Cordova 3.3.0
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [];
 module.exports.metadata = 
 // TOP OF METADATA
 {}
 // BOTTOM OF METADATA
 });



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Closed] (CB-5783) Cordova/plugin_list - module.exports are always empty

2014-01-16 Thread Kevin Lucich (JIRA)

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

Kevin Lucich closed CB-5783.


Resolution: Not A Problem

The problem has been resolved BUT (ATTENTION) run the command after done a 
backup of files because this command delete ALL YOUR FILES. Tested on my skin 
... are a victim of this command.

 Cordova/plugin_list - module.exports are always empty
 -

 Key: CB-5783
 URL: https://issues.apache.org/jira/browse/CB-5783
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.3.0
 Environment: Test the app in a desktop browser
Reporter: Kevin Lucich
  Labels: cordova, plugin_list, plugins
 Fix For: 3.3.0


 When i tested the apps in desktop browser (version Cordova 3.0.0) i don't 
 received any error. when i update Cordova i note that the file 
 cordova_plugins.js has variable empty (module.exports is empty array). 
 Before the update this file contained the list of installated plugins. 
 Why is now empty?
 This problem causes the fact that I receive the error navigator.connection 
 is undefined
 /
 Old Cordova - after installations a plugin
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [
 [...]
 {
 file: 
 plugins/org.apache.cordova.network-information/www/network.js,
 id: org.apache.cordova.network-information.network,
 clobbers: [
 navigator.connection,
 navigator.network.connection
 ]
 },
 [...]
 ]
 });
 /
 Cordova 3.3.0
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [];
 module.exports.metadata = 
 // TOP OF METADATA
 {}
 // BOTTOM OF METADATA
 });



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5783) Cordova/plugin_list - module.exports are always empty

2014-01-15 Thread Kevin Lucich (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13873128#comment-13873128
 ] 

Kevin Lucich commented on CB-5783:
--

Hi Andrew,
the problem has been resolved with your help!
For another users: using the CLI, go to root of your app and run the command 
cordova prepare [platform] (ex. cordova prepare android)

Thanks again!
Best regards,
Kevin

 Cordova/plugin_list - module.exports are always empty
 -

 Key: CB-5783
 URL: https://issues.apache.org/jira/browse/CB-5783
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.3.0
 Environment: Test the app in a desktop browser
Reporter: Kevin Lucich
  Labels: cordova, plugin_list, plugins

 When i tested the apps in desktop browser (version Cordova 3.0.0) i don't 
 received any error. when i update Cordova i note that the file 
 cordova_plugins.js has variable empty (module.exports is empty array). 
 Before the update this file contained the list of installated plugins. 
 Why is now empty?
 This problem causes the fact that I receive the error navigator.connection 
 is undefined
 /
 Old Cordova - after installations a plugin
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [
 [...]
 {
 file: 
 plugins/org.apache.cordova.network-information/www/network.js,
 id: org.apache.cordova.network-information.network,
 clobbers: [
 navigator.connection,
 navigator.network.connection
 ]
 },
 [...]
 ]
 });
 /
 Cordova 3.3.0
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [];
 module.exports.metadata = 
 // TOP OF METADATA
 {}
 // BOTTOM OF METADATA
 });



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Closed] (CB-5783) Cordova/plugin_list - module.exports are always empty

2014-01-15 Thread Kevin Lucich (JIRA)

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

Kevin Lucich closed CB-5783.


   Resolution: Not A Problem
Fix Version/s: 3.3.0

The problem is 

 Cordova/plugin_list - module.exports are always empty
 -

 Key: CB-5783
 URL: https://issues.apache.org/jira/browse/CB-5783
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.3.0
 Environment: Test the app in a desktop browser
Reporter: Kevin Lucich
  Labels: cordova, plugin_list, plugins
 Fix For: 3.3.0


 When i tested the apps in desktop browser (version Cordova 3.0.0) i don't 
 received any error. when i update Cordova i note that the file 
 cordova_plugins.js has variable empty (module.exports is empty array). 
 Before the update this file contained the list of installated plugins. 
 Why is now empty?
 This problem causes the fact that I receive the error navigator.connection 
 is undefined
 /
 Old Cordova - after installations a plugin
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [
 [...]
 {
 file: 
 plugins/org.apache.cordova.network-information/www/network.js,
 id: org.apache.cordova.network-information.network,
 clobbers: [
 navigator.connection,
 navigator.network.connection
 ]
 },
 [...]
 ]
 });
 /
 Cordova 3.3.0
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [];
 module.exports.metadata = 
 // TOP OF METADATA
 {}
 // BOTTOM OF METADATA
 });



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5783) Cordova/plugin_list - module.exports are always empty

2014-01-14 Thread Kevin Lucich (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13871775#comment-13871775
 ] 

Kevin Lucich commented on CB-5783:
--

 Are you using the CLI? This technically isn't an Android issue.
Hi Joe,
yes i am using the CLI. If i try to install a plugin, CLI response me that is 
already installed:

Fetching plugin from org.apache.cordova.network-information...
Starting installation of org.apache.cordova.network-information for android
Plugin org.apache.cordova.network-information already installed, 'sall good.

In the folder app/plugins/ there are folders (and files) of plugins.

Thanks for an help,
Kevin

 Cordova/plugin_list - module.exports are always empty
 -

 Key: CB-5783
 URL: https://issues.apache.org/jira/browse/CB-5783
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.3.0
 Environment: Test the app in a desktop browser
Reporter: Kevin Lucich
  Labels: cordova, plugin_list, plugins

 When i tested the apps in desktop browser (version Cordova 3.0.0) i don't 
 received any error. when i update Cordova i note that the file 
 cordova_plugins.js has variable empty (module.exports is empty array). 
 Before the update this file contained the list of installated plugins. 
 Why is now empty?
 This problem causes the fact that I receive the error navigator.connection 
 is undefined
 /
 Old Cordova - after installations a plugin
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [
 [...]
 {
 file: 
 plugins/org.apache.cordova.network-information/www/network.js,
 id: org.apache.cordova.network-information.network,
 clobbers: [
 navigator.connection,
 navigator.network.connection
 ]
 },
 [...]
 ]
 });
 /
 Cordova 3.3.0
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [];
 module.exports.metadata = 
 // TOP OF METADATA
 {}
 // BOTTOM OF METADATA
 });



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5783) Cordova/plugin_list - module.exports are always empty

2014-01-13 Thread Kevin Lucich (JIRA)

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

Kevin Lucich updated CB-5783:
-

Description: 
When i tested the apps in desktop browser (version Cordova 3.0.0) i don't 
received any error. when i update Cordova i note that the file 
cordova_plugins.js has variable empty (module.exports is empty array). 
Before the update this file contained the list of installated plugins. 
Why is now empty?

This problem causes the fact that I receive the error navigator.connection is 
undefined

/

Old Cordova - after installations a plugin

cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [
[...]
{
file: plugins/org.apache.cordova.network-information/www/network.js,
id: org.apache.cordova.network-information.network,
clobbers: [
navigator.connection,
navigator.network.connection
]
},
[...]
]
});


/

Cordova 3.3.0

cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [];
module.exports.metadata = 
// TOP OF METADATA
{}
// BOTTOM OF METADATA
});


  was:
When i tested the apps in desktop browser (version Cordova 3.0.0) i don't 
received any error. when i update Cordova i note that the file 
cordova_plugins.js has variable empty (module.exports is empty array). 
Before the update this file contained the list of installated plugins. 
Why is now empty?

This problem causes the fact that I receive the error navigator.connection is 
undefined


 Cordova/plugin_list - module.exports are always empty
 -

 Key: CB-5783
 URL: https://issues.apache.org/jira/browse/CB-5783
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.3.0
 Environment: Test the app in a desktop browser
Reporter: Kevin Lucich
  Labels: cordova, plugin_list, plugins

 When i tested the apps in desktop browser (version Cordova 3.0.0) i don't 
 received any error. when i update Cordova i note that the file 
 cordova_plugins.js has variable empty (module.exports is empty array). 
 Before the update this file contained the list of installated plugins. 
 Why is now empty?
 This problem causes the fact that I receive the error navigator.connection 
 is undefined
 /
 Old Cordova - after installations a plugin
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [
 [...]
 {
 file: 
 plugins/org.apache.cordova.network-information/www/network.js,
 id: org.apache.cordova.network-information.network,
 clobbers: [
 navigator.connection,
 navigator.network.connection
 ]
 },
 [...]
 ]
 });
 /
 Cordova 3.3.0
 cordova.define('cordova/plugin_list', function(require, exports, module) {
 module.exports = [];
 module.exports.metadata = 
 // TOP OF METADATA
 {}
 // BOTTOM OF METADATA
 });



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Created] (CB-5783) Cordova/plugin_list - module.exports are always empty

2014-01-13 Thread Kevin Lucich (JIRA)
Kevin Lucich created CB-5783:


 Summary: Cordova/plugin_list - module.exports are always empty
 Key: CB-5783
 URL: https://issues.apache.org/jira/browse/CB-5783
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.3.0
 Environment: Test the app in a desktop browser
Reporter: Kevin Lucich


When i tested the apps in desktop browser (version Cordova 3.0.0) i don't 
received any error. when i update Cordova i note that the file 
cordova_plugins.js has variable empty (module.exports is empty array). 
Before the update this file contained the list of installated plugins. 
Why is now empty?

This problem causes the fact that I receive the error navigator.connection is 
undefined



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)