[jira] [Commented] (CB-2406) write binary to disk
[ https://issues.apache.org/jira/browse/CB-2406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13684067#comment-13684067 ] ASF subversion and git services commented on CB-2406: - Commit f532b845bab2c112ec246d293cd54f9d4d708b3c in branch refs/heads/master from [~iclelland] [ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=f532b84 ] [CB-2406] Guard against lack of Blob/ArrayBuffer support in Android pre-3.0 > write binary to disk > > > Key: CB-2406 > URL: https://issues.apache.org/jira/browse/CB-2406 > Project: Apache Cordova > Issue Type: New Feature >Reporter: James Campos >Assignee: Ian Clelland > Fix For: 2.9.0 > > > i'd like to write binary data to disk. i realize that this may be difficult > due to the native bridge, but it is possible by requiring that the data be > hex or base64 encoded, or by treating javascript strings as arrays of 16 bit > integers -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13684052#comment-13684052 ] Michal Mocny commented on CB-3812: -- Tried it again (merged in up to c86c7f841812bf779f55b3fb3f9f0cc1000efac1 from master2). First, had to clear old .cordova/libs/ folder manually. I also had to chmod manually (I guess symlinks aren't added yet). Then I get the same error, still: command failed: "node" "/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/bin/cordova" platform add android Error: Command failed: { [Error: ENOENT, no such file or directory '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] Interestingly, I now notice that ios has been adding fine this whole time. > Lazy Loading platforms from relative path URL does not work. > > > Key: CB-3812 > URL: https://issues.apache.org/jira/browse/CB-3812 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 >Reporter: Michal Mocny >Assignee: Filip Maj > Fix For: 2.9.0 > > > This is a bit of a catch-all bug to describe the hiccups I've faced (so far) > trying to get this to work. > (1) require-ing cordova (from a relative path, not sure if thats part of the > problem) leads to errors when calling .config(). > shell> cd MyCordovaCliApp > shell> node > node> var cordova = require('../cordova-cli/cordova'); > node> cordova.config({}) > TypeError: Arguments to path.join must be strings > at path.js:360:15 > at Array.filter (native) > at Object.exports.join (path.js:358:36) > at Function.get_config [as read] > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) > at Object.config > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) > at repl:1:10 > at REPLServer.self.eval (repl.js:110:21) > at Interface. (repl.js:239:12) > at Interface.EventEmitter.emit (events.js:95:17) > at Interface._onLine (readline.js:202:10) > (I worked around this locally by just modifying that config.json manually.) > (2) lazy loaded platforms copy with wrong permissions, which means the bin > scripts to not be executable. > shell> path/to/cordova platform add android > [Error: An error occured during creation of android sub-project. /bin/sh: > /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: > Permission denied > ] > (I worked around this by manually chmod +x those files) > (3) cordova.js file is always expected to be found according to the latest > tagged version, and not in your locally installed relative uri specified > platform > shell> cordova platform add android > [Error: ENOENT, no such file or directory > '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] > (The actual version is found in > /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) > (Seems the cause has to do with cordova_util.cordovaTag being hard coded to > 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to > platform lib is still incorrectly hard coded throughout the platform > parsers..) > The following are more usability concerns: > (4) When I make changes to my local platform, I seem to need to delete > .cordova/libs in order for new changes to be copied over. Could we just > link? Would solve the permissions errors.. > (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both > needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3327) iOS console.log not logging to remote inspector console, only to xcode console
[ https://issues.apache.org/jira/browse/CB-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13684040#comment-13684040 ] Adam George commented on CB-3327: - Agree, this is still not right. I've added a new ticket to deal with this: https://issues.apache.org/jira/browse/CB-3832 Hopefully we can get this working back to how it was in 2.6.0 > iOS console.log not logging to remote inspector console, only to xcode console > -- > > Key: CB-3327 > URL: https://issues.apache.org/jira/browse/CB-3327 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 2.7.0 >Reporter: Michal Mocny >Assignee: Ian Clelland > Fix For: 2.8.0 > > > Open remote inspector and issue a console.log() -- notice that it prints to > xcode attached console, but not to the remote web inspector console. This is > a regression. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3832) console.log in Remote Web Inspector does not display objects correctly
Adam George created CB-3832: --- Summary: console.log in Remote Web Inspector does not display objects correctly Key: CB-3832 URL: https://issues.apache.org/jira/browse/CB-3832 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.8.0 Reporter: Adam George Assignee: Shazron Abdullah console.log to the Remote Web Inspector stopped working in Cordova 2.7.0 See https://issues.apache.org/jira/browse/CB-3327 A fix was released in 2.8.0 - but that fix only partially fixes the issue. Any objects that are console.logged now show up as the string "[object object]" in the Remote Web Inspector. Which is useless for debugging - for most people the whole point of wanting to see the output in the Safari console (as opposed to the XCode console) was because Safari has the ability to show the nested object properties. Prior to 2.7.0 this was working fine, so hopefully the original behaviour can be restored. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3351) Support for mutual SSL (on Ajax calls)
[ https://issues.apache.org/jira/browse/CB-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683987#comment-13683987 ] Tommy-Carlos Williams commented on CB-3351: --- [~eloygm] I have to get this working (well, at least client certificate authentication). Even if this cannot be done in stock cordova, when I come up with a solution, I will let you know. > Support for mutual SSL (on Ajax calls) > --- > > Key: CB-3351 > URL: https://issues.apache.org/jira/browse/CB-3351 > Project: Apache Cordova > Issue Type: New Feature > Components: BlackBerry, WP8 >Affects Versions: 2.6.0 >Reporter: Eloy Gonzalez > Labels: clientcertificate, mutualSSL, ssl > > In some situations, two-factor authentication is required, and client > certificates (a X.509 certificate with a 1.3.6.1.5.5.7.3.2 enhanced key > usage) are a popular choice as a first factor. With mutual SSL, the client > verifies the server's identity (server authentication) and the server > verifies the client's identity (client authentication). Unfortunately, > Cordova does not support mutual SSL. > This issue is relate to CB-2669, but not only for iOS -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3627) ./cordova/run --emulator does not start emulator image
[ https://issues.apache.org/jira/browse/CB-3627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3627. --- Resolution: Fixed > ./cordova/run --emulator does not start emulator image > -- > > Key: CB-3627 > URL: https://issues.apache.org/jira/browse/CB-3627 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Affects Versions: 2.8.0 > Environment: Mac OSX 10.7.5 >Reporter: Filip Maj >Assignee: Filip Maj > Fix For: 2.9.0 > > > Running > {code} > $ ./cordova/run --emulator > {code} > Successfully builds the project, but eventually stops with the following > output: > {code} > No emulators found to deploy to. Please make sure your emulator is started > and you can view it using the 'cordova/lib/list-started-emulators' command. > {code} > Per the [Command Line Design > document|http://wiki.apache.org/cordova/CommandLineToolingDesign] (see the > section about multi-device flow near the top), when calling {{run}} with an > emulator as a target, the {{run}} script should call {{start-emulator}} with > the first available ID _if no emulator is currently running_. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3758) "cordova emulate android" not working as expected
[ https://issues.apache.org/jira/browse/CB-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3758. --- Resolution: Fixed Fix Version/s: 2.9.0 I've fixed the underlying issues with the cordova-android scripts. When we branch for 2.9.0 this coming Monday, this fix will show up in cordova-cli. > "cordova emulate android" not working as expected > - > > Key: CB-3758 > URL: https://issues.apache.org/jira/browse/CB-3758 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 > Environment: Mac >Reporter: Mike Sierra >Assignee: Filip Maj > Fix For: 2.9.0 > > > Output from my test "abc" project: > ulothrix:pg sierra$ cd abc/ > ulothrix:abc sierra$ cordova ripple android > [TypeError: Cannot call method 'update_project' of undefined] > ulothrix:abc sierra$ ls platforms/ > android > ulothrix:abc sierra$ cordova ripple android > [TypeError: Cannot call method 'update_project' of undefined] > ulothrix:abc sierra$ cordova build android > ulothrix:abc sierra$ cordova ripple android > [TypeError: Cannot call method 'update_project' of undefined] -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3627) ./cordova/run --emulator does not start emulator image
[ https://issues.apache.org/jira/browse/CB-3627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683957#comment-13683957 ] ASF subversion and git services commented on CB-3627: - Commit 0efd9fcac0755255c2a050b8514caeea966f3f49 in branch refs/heads/master from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=0efd9fc ] [CB-3627] start-emulator now properly starts, waits for and unlocks an emulator, consumed by run as well. > ./cordova/run --emulator does not start emulator image > -- > > Key: CB-3627 > URL: https://issues.apache.org/jira/browse/CB-3627 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Affects Versions: 2.8.0 > Environment: Mac OSX 10.7.5 >Reporter: Filip Maj >Assignee: Filip Maj > Fix For: 2.9.0 > > > Running > {code} > $ ./cordova/run --emulator > {code} > Successfully builds the project, but eventually stops with the following > output: > {code} > No emulators found to deploy to. Please make sure your emulator is started > and you can view it using the 'cordova/lib/list-started-emulators' command. > {code} > Per the [Command Line Design > document|http://wiki.apache.org/cordova/CommandLineToolingDesign] (see the > section about multi-device flow near the top), when calling {{run}} with an > emulator as a target, the {{run}} script should call {{start-emulator}} with > the first available ID _if no emulator is currently running_. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-2391) colons in URIs crash WebView
[ https://issues.apache.org/jira/browse/CB-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683946#comment-13683946 ] ASF subversion and git services commented on CB-2391: - Commit c0a39570c979a68baf5c49dece0088080b4cbe3b in branch refs/heads/master from [~bowserj] [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=c0a3957 ] CB-2391: False positive, this affects 4.2.2, not ICS. Bug breaks before we get to this point. :( > colons in URIs crash WebView > > > Key: CB-2391 > URL: https://issues.apache.org/jira/browse/CB-2391 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Affects Versions: 2.3.0 > Environment: Seen on Nexus 4, Android 4.2.1 >Reporter: Robert Hoffmann >Assignee: Joe Bowser >Priority: Minor > Labels: WebView, crash, hash, url > Fix For: 2.9.0 > > > With useBrowserHistory (true) the application crashes when returning from > WebView (using the android back button). > Reproduce: > 1) So from the Cordova App page > (file:///android_asset/www/app.html#BackPlace:null) the user clicks on a link > (e.g. www.google.com) which opens the WebView. > 2) When clicking the back button to return to the app, the app crashes with > the exception below. > Guess: > I wonder if the hash in the originating cordova app page could be the core of > this problem (e.g. file:///android_asset/www/app.html#BackPlace:null). > Note: > The app does not crash when setting useBrowserHistory to false! > >> > 02-07 01:09:45.979: E/dalvikvm(8542): Class lookup > Landroid/webkit/WebResourceResponse; attempted with exception pending > 02-07 01:09:45.979: W/dalvikvm(8542): Pending exception is: > 02-07 01:09:45.979: I/dalvikvm(8542): java.lang.NullPointerException: > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.content.res.AssetManager.openAsset(Native Method) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.content.res.AssetManager.open(AssetManager.java:315) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.BrowserFrame.inputStreamForAndroidResource(BrowserFrame.java:765) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.BrowserFrame.shouldInterceptRequest(BrowserFrame.java:852) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.BrowserFrame.nativeGoBackOrForward(Native Method) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.BrowserFrame.goBackOrForward(BrowserFrame.java:346) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.WebViewCore$EventHub$1.handleMessage(WebViewCore.java:1400) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.os.Handler.dispatchMessage(Handler.java:99) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.os.Looper.loop(Looper.java:137) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:812) > 02-07 01:09:45.979: I/dalvikvm(8542): at > java.lang.Thread.run(Thread.java:856) > 02-07 01:09:45.979: I/dalvikvm(8542): DALVIK THREADS: > 02-07 01:09:45.979: I/dalvikvm(8542): (mutexes: tll=0 tsl=0 tscl=0 ghl=0) > 02-07 01:09:45.979: D/DroidGap(8542): > onMessage(onPageStarted,file:///android_asset/www/app.html#BackPlace:null) > 02-07 01:09:45.979: I/dalvikvm(8542): "main" prio=5 tid=1 NATIVE > 02-07 01:09:45.989: I/dalvikvm(8542): | group="main" sCount=0 dsCount=0 > obj=0x40cfc9a0 self=0x40701bf8 > 02-07 01:09:45.989: I/dalvikvm(8542): | sysTid=8542 nice=0 sched=0/0 > cgrp=apps handle=1074258908 > 02-07 01:09:45.989: I/dalvikvm(8542): | state=S schedstat=( 0 0 0 ) utm=97 > stm=76 core=0 > 02-07 01:09:45.999: I/dalvikvm(8542): #00 pc 00017ee4 /system/lib/libc.so > (epoll_wait+12) > << -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-2391) colons in URIs crash WebView
[ https://issues.apache.org/jira/browse/CB-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-2391: --- Fix Version/s: 2.9.0 > colons in URIs crash WebView > > > Key: CB-2391 > URL: https://issues.apache.org/jira/browse/CB-2391 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Affects Versions: 2.3.0 > Environment: Seen on Nexus 4, Android 4.2.1 >Reporter: Robert Hoffmann >Assignee: Joe Bowser >Priority: Minor > Labels: WebView, crash, hash, url > Fix For: 2.9.0 > > > With useBrowserHistory (true) the application crashes when returning from > WebView (using the android back button). > Reproduce: > 1) So from the Cordova App page > (file:///android_asset/www/app.html#BackPlace:null) the user clicks on a link > (e.g. www.google.com) which opens the WebView. > 2) When clicking the back button to return to the app, the app crashes with > the exception below. > Guess: > I wonder if the hash in the originating cordova app page could be the core of > this problem (e.g. file:///android_asset/www/app.html#BackPlace:null). > Note: > The app does not crash when setting useBrowserHistory to false! > >> > 02-07 01:09:45.979: E/dalvikvm(8542): Class lookup > Landroid/webkit/WebResourceResponse; attempted with exception pending > 02-07 01:09:45.979: W/dalvikvm(8542): Pending exception is: > 02-07 01:09:45.979: I/dalvikvm(8542): java.lang.NullPointerException: > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.content.res.AssetManager.openAsset(Native Method) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.content.res.AssetManager.open(AssetManager.java:315) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.BrowserFrame.inputStreamForAndroidResource(BrowserFrame.java:765) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.BrowserFrame.shouldInterceptRequest(BrowserFrame.java:852) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.BrowserFrame.nativeGoBackOrForward(Native Method) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.BrowserFrame.goBackOrForward(BrowserFrame.java:346) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.WebViewCore$EventHub$1.handleMessage(WebViewCore.java:1400) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.os.Handler.dispatchMessage(Handler.java:99) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.os.Looper.loop(Looper.java:137) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:812) > 02-07 01:09:45.979: I/dalvikvm(8542): at > java.lang.Thread.run(Thread.java:856) > 02-07 01:09:45.979: I/dalvikvm(8542): DALVIK THREADS: > 02-07 01:09:45.979: I/dalvikvm(8542): (mutexes: tll=0 tsl=0 tscl=0 ghl=0) > 02-07 01:09:45.979: D/DroidGap(8542): > onMessage(onPageStarted,file:///android_asset/www/app.html#BackPlace:null) > 02-07 01:09:45.979: I/dalvikvm(8542): "main" prio=5 tid=1 NATIVE > 02-07 01:09:45.989: I/dalvikvm(8542): | group="main" sCount=0 dsCount=0 > obj=0x40cfc9a0 self=0x40701bf8 > 02-07 01:09:45.989: I/dalvikvm(8542): | sysTid=8542 nice=0 sched=0/0 > cgrp=apps handle=1074258908 > 02-07 01:09:45.989: I/dalvikvm(8542): | state=S schedstat=( 0 0 0 ) utm=97 > stm=76 core=0 > 02-07 01:09:45.999: I/dalvikvm(8542): #00 pc 00017ee4 /system/lib/libc.so > (epoll_wait+12) > << -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-2391) colons in URIs crash WebView
[ https://issues.apache.org/jira/browse/CB-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683933#comment-13683933 ] ASF subversion and git services commented on CB-2391: - Commit 9ac4b570e66f5c2cafa68212fac5835a17bd47af in branch refs/heads/master from [~bowserj] [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=9ac4b57 ] CB-2391: Fix for colons crashing the WebView on ICS, tested on Samsung Galaxy S2 > colons in URIs crash WebView > > > Key: CB-2391 > URL: https://issues.apache.org/jira/browse/CB-2391 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Affects Versions: 2.3.0 > Environment: Seen on Nexus 4, Android 4.2.1 >Reporter: Robert Hoffmann >Assignee: Joe Bowser >Priority: Minor > Labels: WebView, crash, hash, url > > With useBrowserHistory (true) the application crashes when returning from > WebView (using the android back button). > Reproduce: > 1) So from the Cordova App page > (file:///android_asset/www/app.html#BackPlace:null) the user clicks on a link > (e.g. www.google.com) which opens the WebView. > 2) When clicking the back button to return to the app, the app crashes with > the exception below. > Guess: > I wonder if the hash in the originating cordova app page could be the core of > this problem (e.g. file:///android_asset/www/app.html#BackPlace:null). > Note: > The app does not crash when setting useBrowserHistory to false! > >> > 02-07 01:09:45.979: E/dalvikvm(8542): Class lookup > Landroid/webkit/WebResourceResponse; attempted with exception pending > 02-07 01:09:45.979: W/dalvikvm(8542): Pending exception is: > 02-07 01:09:45.979: I/dalvikvm(8542): java.lang.NullPointerException: > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.content.res.AssetManager.openAsset(Native Method) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.content.res.AssetManager.open(AssetManager.java:315) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.BrowserFrame.inputStreamForAndroidResource(BrowserFrame.java:765) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.BrowserFrame.shouldInterceptRequest(BrowserFrame.java:852) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.BrowserFrame.nativeGoBackOrForward(Native Method) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.BrowserFrame.goBackOrForward(BrowserFrame.java:346) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.WebViewCore$EventHub$1.handleMessage(WebViewCore.java:1400) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.os.Handler.dispatchMessage(Handler.java:99) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.os.Looper.loop(Looper.java:137) > 02-07 01:09:45.979: I/dalvikvm(8542): at > android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:812) > 02-07 01:09:45.979: I/dalvikvm(8542): at > java.lang.Thread.run(Thread.java:856) > 02-07 01:09:45.979: I/dalvikvm(8542): DALVIK THREADS: > 02-07 01:09:45.979: I/dalvikvm(8542): (mutexes: tll=0 tsl=0 tscl=0 ghl=0) > 02-07 01:09:45.979: D/DroidGap(8542): > onMessage(onPageStarted,file:///android_asset/www/app.html#BackPlace:null) > 02-07 01:09:45.979: I/dalvikvm(8542): "main" prio=5 tid=1 NATIVE > 02-07 01:09:45.989: I/dalvikvm(8542): | group="main" sCount=0 dsCount=0 > obj=0x40cfc9a0 self=0x40701bf8 > 02-07 01:09:45.989: I/dalvikvm(8542): | sysTid=8542 nice=0 sched=0/0 > cgrp=apps handle=1074258908 > 02-07 01:09:45.989: I/dalvikvm(8542): | state=S schedstat=( 0 0 0 ) utm=97 > stm=76 core=0 > 02-07 01:09:45.999: I/dalvikvm(8542): #00 pc 00017ee4 /system/lib/libc.so > (epoll_wait+12) > << -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3731) Breakout Network Information Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683927#comment-13683927 ] ASF subversion and git services commented on CB-3731: - Commit 54627b93a943d57e84939724d4217114825264ea in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-network-information.git;h=54627b9 ] [CB-3731] added network capabilities for wp7 > Breakout Network Information Plugin for WP7 > --- > > Key: CB-3731 > URL: https://issues.apache.org/jira/browse/CB-3731 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Network Information, WP7 >Reporter: Steve Gill >Assignee: Steve Gill > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (CB-3731) Breakout Network Information Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benn Mapes closed CB-3731. -- Resolution: Fixed Assignee: Benn Mapes (was: Steve Gill) > Breakout Network Information Plugin for WP7 > --- > > Key: CB-3731 > URL: https://issues.apache.org/jira/browse/CB-3731 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Network Information, WP7 >Reporter: Steve Gill >Assignee: Benn Mapes > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3703) Breakout Media Capture Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683922#comment-13683922 ] ASF subversion and git services commented on CB-3703: - Commit 6d3edfc6de7ea43bcfcf2049dbd3f9d93fa9504e in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=6d3edfc ] [CB-3703] added capabilities for wp7 > Breakout Media Capture Plugin for WP7 > - > > Key: CB-3703 > URL: https://issues.apache.org/jira/browse/CB-3703 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Media Capture, WP7 >Reporter: Steve Gill >Assignee: Steve Gill > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3831) Android SplashScreen: navigator.splashscreen.show() isn't working
[ https://issues.apache.org/jira/browse/CB-3831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-3831: --- Fix Version/s: 3.0.0 Affects Version/s: 3.0.0 Tested it on master, it works fine. Suspect there's issues posting the messages to the main activity, where the main activity needs to handle it. Splashscreen is a dumb plugin, and the majority of the logic has to be in the activity due to the nature of plugins. > Android SplashScreen: navigator.splashscreen.show() isn't working > - > > Key: CB-3831 > URL: https://issues.apache.org/jira/browse/CB-3831 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Plugin SplashScreen >Affects Versions: 3.0.0 >Reporter: Steve Gill >Assignee: Joe Bowser > Fix For: 3.0.0 > > > When I run the tests for splashscreen on android, it doesn't work. > The splashscreen will do its original load as long as you add a delay to > super.loadUrl(Config.getStartUrl(), 1) and add the splashscreen > preference in the config.xml. The tests don't work for it though. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3706) Breakout Media Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683889#comment-13683889 ] ASF subversion and git services commented on CB-3706: - Commit 5d23b41cd1ac65ad010c9c9eb6512252042d6372 in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media.git;h=5d23b41 ] [CB-3706] added mediaLib capability for wp7 > Breakout Media Plugin for WP7 > - > > Key: CB-3706 > URL: https://issues.apache.org/jira/browse/CB-3706 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Media, WP7 >Reporter: Steve Gill >Assignee: Steve Gill > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3728) Breakout File Transfer Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benn Mapes resolved CB-3728. Resolution: Fixed Assignee: Benn Mapes (was: Steve Gill) > Breakout File Transfer Plugin for WP7 > - > > Key: CB-3728 > URL: https://issues.apache.org/jira/browse/CB-3728 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin File Transfer, WP7 >Reporter: Steve Gill >Assignee: Benn Mapes > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3721) Breakout File Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benn Mapes resolved CB-3721. Resolution: Fixed https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;a=commit;h=4ec6570eaf0f85d585018f51aff0b2e0db5d55db > Breakout File Plugin for WP7 > > > Key: CB-3721 > URL: https://issues.apache.org/jira/browse/CB-3721 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin File, WP7 >Reporter: Steve Gill >Assignee: Steve Gill > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3728) Breakout File Transfer Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683883#comment-13683883 ] ASF subversion and git services commented on CB-3728: - Commit 26b4948cd32b5f9821187f3ee7ceb63c796d3a70 in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;h=26b4948 ] [CB-3728] first pass wp7 support > Breakout File Transfer Plugin for WP7 > - > > Key: CB-3728 > URL: https://issues.apache.org/jira/browse/CB-3728 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin File Transfer, WP7 >Reporter: Steve Gill >Assignee: Steve Gill > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3831) Android SplashScreen: navigator.splashscreen.show() isn't working
Steve Gill created CB-3831: -- Summary: Android SplashScreen: navigator.splashscreen.show() isn't working Key: CB-3831 URL: https://issues.apache.org/jira/browse/CB-3831 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin SplashScreen Reporter: Steve Gill Assignee: Joe Bowser When I run the tests for splashscreen on android, it doesn't work. The splashscreen will do its original load as long as you add a delay to super.loadUrl(Config.getStartUrl(), 1) and add the splashscreen preference in the config.xml. The tests don't work for it though. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3504) Cordova 2.7.0 uses WebResourceResponse which is only avalable in API Level 11
[ https://issues.apache.org/jira/browse/CB-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-3504. Resolution: Fixed This should fix the crash. I'm no longer getting spammy logs from this. > Cordova 2.7.0 uses WebResourceResponse which is only avalable in API Level 11 > - > > Key: CB-3504 > URL: https://issues.apache.org/jira/browse/CB-3504 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Affects Versions: 2.7.0 >Reporter: Andrew >Assignee: Joe Bowser >Priority: Minor > > In CordovaWebViewClient.java, android.webkit.WebResourceResponse is imported > and used by the methods shouldInterceptRequest and getWhitelistResponse. But > since android.webkit.WebResourceResponse is only available on devices >= API > Level 11, this causes cordova apps to crash on devices at a lower API Level > like my Samsung Galaxy S. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3504) Cordova 2.7.0 uses WebResourceResponse which is only avalable in API Level 11
[ https://issues.apache.org/jira/browse/CB-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683862#comment-13683862 ] ASF subversion and git services commented on CB-3504: - Commit 90f83db9c9de2dffb3a4db965d7221e83b0e917e in branch refs/heads/master from [~bowserj] [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=90f83db ] CB-3504: Fixing issue with the use of WebResourceResponse on pre-Honeycomb devices. > Cordova 2.7.0 uses WebResourceResponse which is only avalable in API Level 11 > - > > Key: CB-3504 > URL: https://issues.apache.org/jira/browse/CB-3504 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Affects Versions: 2.7.0 >Reporter: Andrew >Assignee: Joe Bowser >Priority: Minor > > In CordovaWebViewClient.java, android.webkit.WebResourceResponse is imported > and used by the methods shouldInterceptRequest and getWhitelistResponse. But > since android.webkit.WebResourceResponse is only available on devices >= API > Level 11, this causes cordova apps to crash on devices at a lower API Level > like my Samsung Galaxy S. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3830) [BlackBerry10] Refactor Packager to remove dependency on BBNDK
James Keshavarzi created CB-3830: Summary: [BlackBerry10] Refactor Packager to remove dependency on BBNDK Key: CB-3830 URL: https://issues.apache.org/jira/browse/CB-3830 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Affects Versions: 2.8.0 Reporter: James Keshavarzi Assignee: Lorin Beer Fix For: 2.9.0 The packager is currently dependent on the BBNDK and its environment variables to run. If you don't execute the bbndk-env script prior to running the Packager won't work. We need to remove this dependency. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3725) Breakout File Transfer Plugin for Android
[ https://issues.apache.org/jira/browse/CB-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683840#comment-13683840 ] Tim Kim commented on CB-3725: - Just tested on android and has the same number of tests passing as master branch. Using this plugin commit: https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;a=commit;h=62e365cbc1f482cc629489d7e8e4bd3535f65da2 > Breakout File Transfer Plugin for Android > - > > Key: CB-3725 > URL: https://issues.apache.org/jira/browse/CB-3725 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, Plugin File Transfer >Reporter: Steve Gill >Assignee: Herm Wong > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3725) Breakout File Transfer Plugin for Android
[ https://issues.apache.org/jira/browse/CB-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Kim resolved CB-3725. - Resolution: Fixed > Breakout File Transfer Plugin for Android > - > > Key: CB-3725 > URL: https://issues.apache.org/jira/browse/CB-3725 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, Plugin File Transfer >Reporter: Steve Gill >Assignee: Herm Wong > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3810) Rework "Guide" content
[ https://issues.apache.org/jira/browse/CB-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3810: Summary: Rework "Guide" content (was: Rework Guide content ) > Rework "Guide" content > --- > > Key: CB-3810 > URL: https://issues.apache.org/jira/browse/CB-3810 > Project: Apache Cordova > Issue Type: Task > Components: Docs >Reporter: Mike Sierra >Assignee: Michael Brooks >Priority: Critical > > Current guide content assumes an SDK-centered workflow, which needs to be > modified to address CLI audience. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3693) Breakout Geolocation Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683812#comment-13683812 ] ASF subversion and git services commented on CB-3693: - Commit e7519214d0ae54ca7253bb50e8410e51a4592510 in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;h=e751921 ] [CB-3693] added location capability for wp7 > Breakout Geolocation Plugin for WP7 > --- > > Key: CB-3693 > URL: https://issues.apache.org/jira/browse/CB-3693 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Geolocation, WP7 >Reporter: Steve Gill >Assignee: Steve Gill > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3829) Rework "Upgrading SDKs" section
Mike Sierra created CB-3829: --- Summary: Rework "Upgrading SDKs" section Key: CB-3829 URL: https://issues.apache.org/jira/browse/CB-3829 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks adapt existing "Upgrading Guides" section -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3797) [Blackberry10] HOME/.cordova/blackberry10.json master properties file
[ https://issues.apache.org/jira/browse/CB-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lorin Beer resolved CB-3797. Resolution: Fixed fixed here: https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;a=commit;h=28924ec2a5f1b850ce03a844f24209fc75939ffc https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;a=commit;h=8e562c277c61e00a95ae96e106df001967ad7c06 > [Blackberry10] HOME/.cordova/blackberry10.json master properties file > - > > Key: CB-3797 > URL: https://issues.apache.org/jira/browse/CB-3797 > Project: Apache Cordova > Issue Type: Improvement > Components: BlackBerry >Affects Versions: 2.8.0 >Reporter: Lorin Beer >Assignee: Lorin Beer > Fix For: 2.9.0 > > > on Jeffrey Heifetz's suggestion, remove multiple targets.json files and > create a system master file which both project/repo scripts writes/reads to > > discussion here: > https://issues.apache.org/jira/browse/CB-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682462#comment-13682462 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3828) Add "API and Configuration Guide"
[ https://issues.apache.org/jira/browse/CB-3828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3828: Summary: Add "API and Configuration Guide" (was: Add "API and Configuration Guide" Guide) > Add "API and Configuration Guide" > - > > Key: CB-3828 > URL: https://issues.apache.org/jira/browse/CB-3828 > Project: Apache Cordova > Issue Type: Task > Components: Docs >Reporter: Mike Sierra >Assignee: Michael Brooks > > Reader needs short tutorials about how to use APIs in real-world contexts. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3797) [Blackberry10] HOME/.cordova/blackberry10.json master properties file
[ https://issues.apache.org/jira/browse/CB-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683784#comment-13683784 ] ASF subversion and git services commented on CB-3797: - Commit 28924ec2a5f1b850ce03a844f24209fc75939ffc in branch refs/heads/master from [~lorin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=28924ec ] [CB-3797] rename of targets.json to blackberry10.json [CB-3797] updated target script to use globally accessible blackberry10.json file, creates if not found. [CB-3797] removed targets.json copy in create script, bug fix in target.js > [Blackberry10] HOME/.cordova/blackberry10.json master properties file > - > > Key: CB-3797 > URL: https://issues.apache.org/jira/browse/CB-3797 > Project: Apache Cordova > Issue Type: Improvement > Components: BlackBerry >Affects Versions: 2.8.0 >Reporter: Lorin Beer >Assignee: Lorin Beer > Fix For: 2.9.0 > > > on Jeffrey Heifetz's suggestion, remove multiple targets.json files and > create a system master file which both project/repo scripts writes/reads to > > discussion here: > https://issues.apache.org/jira/browse/CB-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682462#comment-13682462 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3797) [Blackberry10] HOME/.cordova/blackberry10.json master properties file
[ https://issues.apache.org/jira/browse/CB-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683786#comment-13683786 ] ASF subversion and git services commented on CB-3797: - Commit 28924ec2a5f1b850ce03a844f24209fc75939ffc in branch refs/heads/master from [~lorin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=28924ec ] [CB-3797] rename of targets.json to blackberry10.json [CB-3797] updated target script to use globally accessible blackberry10.json file, creates if not found. [CB-3797] removed targets.json copy in create script, bug fix in target.js > [Blackberry10] HOME/.cordova/blackberry10.json master properties file > - > > Key: CB-3797 > URL: https://issues.apache.org/jira/browse/CB-3797 > Project: Apache Cordova > Issue Type: Improvement > Components: BlackBerry >Affects Versions: 2.8.0 >Reporter: Lorin Beer >Assignee: Lorin Beer > Fix For: 2.9.0 > > > on Jeffrey Heifetz's suggestion, remove multiple targets.json files and > create a system master file which both project/repo scripts writes/reads to > > discussion here: > https://issues.apache.org/jira/browse/CB-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682462#comment-13682462 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3797) [Blackberry10] HOME/.cordova/blackberry10.json master properties file
[ https://issues.apache.org/jira/browse/CB-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683783#comment-13683783 ] ASF subversion and git services commented on CB-3797: - Commit 8e562c277c61e00a95ae96e106df001967ad7c06 in branch refs/heads/master from [~lorin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=8e562c2 ] removed run script dependency or project.json [CB-3797] moved blackberry json properties file initialization functions to utils [CB-3797] updated build and run scripts to use utils.js and use blackberry10.json > [Blackberry10] HOME/.cordova/blackberry10.json master properties file > - > > Key: CB-3797 > URL: https://issues.apache.org/jira/browse/CB-3797 > Project: Apache Cordova > Issue Type: Improvement > Components: BlackBerry >Affects Versions: 2.8.0 >Reporter: Lorin Beer >Assignee: Lorin Beer > Fix For: 2.9.0 > > > on Jeffrey Heifetz's suggestion, remove multiple targets.json files and > create a system master file which both project/repo scripts writes/reads to > > discussion here: > https://issues.apache.org/jira/browse/CB-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682462#comment-13682462 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3797) [Blackberry10] HOME/.cordova/blackberry10.json master properties file
[ https://issues.apache.org/jira/browse/CB-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683782#comment-13683782 ] ASF subversion and git services commented on CB-3797: - Commit 8e562c277c61e00a95ae96e106df001967ad7c06 in branch refs/heads/master from [~lorin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=8e562c2 ] removed run script dependency or project.json [CB-3797] moved blackberry json properties file initialization functions to utils [CB-3797] updated build and run scripts to use utils.js and use blackberry10.json > [Blackberry10] HOME/.cordova/blackberry10.json master properties file > - > > Key: CB-3797 > URL: https://issues.apache.org/jira/browse/CB-3797 > Project: Apache Cordova > Issue Type: Improvement > Components: BlackBerry >Affects Versions: 2.8.0 >Reporter: Lorin Beer >Assignee: Lorin Beer > Fix For: 2.9.0 > > > on Jeffrey Heifetz's suggestion, remove multiple targets.json files and > create a system master file which both project/repo scripts writes/reads to > > discussion here: > https://issues.apache.org/jira/browse/CB-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682462#comment-13682462 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3797) [Blackberry10] HOME/.cordova/blackberry10.json master properties file
[ https://issues.apache.org/jira/browse/CB-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683785#comment-13683785 ] ASF subversion and git services commented on CB-3797: - Commit 28924ec2a5f1b850ce03a844f24209fc75939ffc in branch refs/heads/master from [~lorin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=28924ec ] [CB-3797] rename of targets.json to blackberry10.json [CB-3797] updated target script to use globally accessible blackberry10.json file, creates if not found. [CB-3797] removed targets.json copy in create script, bug fix in target.js > [Blackberry10] HOME/.cordova/blackberry10.json master properties file > - > > Key: CB-3797 > URL: https://issues.apache.org/jira/browse/CB-3797 > Project: Apache Cordova > Issue Type: Improvement > Components: BlackBerry >Affects Versions: 2.8.0 >Reporter: Lorin Beer >Assignee: Lorin Beer > Fix For: 2.9.0 > > > on Jeffrey Heifetz's suggestion, remove multiple targets.json files and > create a system master file which both project/repo scripts writes/reads to > > discussion here: > https://issues.apache.org/jira/browse/CB-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682462#comment-13682462 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3814) Cordova CLI creates 2.8.0 project rather than 2.8.1
[ https://issues.apache.org/jira/browse/CB-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3814. --- Resolution: Fixed Fix Version/s: 2.9.0 Pushed a fix to npm as 2.8.19. Give it a shot! > Cordova CLI creates 2.8.0 project rather than 2.8.1 > --- > > Key: CB-3814 > URL: https://issues.apache.org/jira/browse/CB-3814 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 > Environment: npm 1.2.30 > cordova (cli) 2.8.17 > phonegap 2.8.0 > centos 6 > android sdk tools: 22.0.1 > android build tools: 17 > android platform tools: 17 > /usr/local all owned by me via chown >Reporter: Dan Moore >Assignee: Filip Maj > Fix For: 2.9.0 > > > The version of phonegap/cordova for a freshly created project is > 2.8.0-0-g6208c95. But phonegap 2.8.1 is released and available: > http://phonegap.com/download/ (and matters for anyone who uses a plugin). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3828) Add "API and Configuration Guide" Guide
Mike Sierra created CB-3828: --- Summary: Add "API and Configuration Guide" Guide Key: CB-3828 URL: https://issues.apache.org/jira/browse/CB-3828 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Reader needs short tutorials about how to use APIs in real-world contexts. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3814) Cordova CLI creates 2.8.0 project rather than 2.8.1
[ https://issues.apache.org/jira/browse/CB-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683774#comment-13683774 ] ASF subversion and git services commented on CB-3814: - Commit b09847a8bef5be07a5da22d112a97b7cb34ce088 in branch refs/heads/master2 from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=b09847a ] npm version 2.8.19. Fixes [CB-3814] use 2.8.1 for android. Refactored to allow per-platform-library versioning. > Cordova CLI creates 2.8.0 project rather than 2.8.1 > --- > > Key: CB-3814 > URL: https://issues.apache.org/jira/browse/CB-3814 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 > Environment: npm 1.2.30 > cordova (cli) 2.8.17 > phonegap 2.8.0 > centos 6 > android sdk tools: 22.0.1 > android build tools: 17 > android platform tools: 17 > /usr/local all owned by me via chown >Reporter: Dan Moore >Assignee: Filip Maj > > The version of phonegap/cordova for a freshly created project is > 2.8.0-0-g6208c95. But phonegap 2.8.1 is released and available: > http://phonegap.com/download/ (and matters for anyone who uses a plugin). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3686) Breakout Device Orientation Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683776#comment-13683776 ] ASF subversion and git services commented on CB-3686: - Commit 9a27a88ba3a4e514d48c00f127ceebb2d1d4773d in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device-orientation.git;h=9a27a88 ] [CB-3686] added sensor capability for wp7 > Breakout Device Orientation Plugin for WP7 > -- > > Key: CB-3686 > URL: https://issues.apache.org/jira/browse/CB-3686 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Device Orientation, WP7 >Reporter: Steve Gill >Assignee: Benn Mapes > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3713) Breakout Device Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benn Mapes resolved CB-3713. Resolution: Fixed Assignee: Benn Mapes (was: Steve Gill) > Breakout Device Plugin for WP7 > -- > > Key: CB-3713 > URL: https://issues.apache.org/jira/browse/CB-3713 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Device, WP7 >Reporter: Steve Gill >Assignee: Benn Mapes > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3658) Breakout Device Motion Plugin for wp7
[ https://issues.apache.org/jira/browse/CB-3658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683773#comment-13683773 ] ASF subversion and git services commented on CB-3658: - Commit 11a78ece5d5c954f2b520b25c023bcdd642291ab in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device-motion.git;h=11a78ec ] [CB-3658] added sensor capability for wp7 > Breakout Device Motion Plugin for wp7 > - > > Key: CB-3658 > URL: https://issues.apache.org/jira/browse/CB-3658 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Device Motion, WP7 >Reporter: Steve Gill >Assignee: Benn Mapes > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3713) Breakout Device Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683772#comment-13683772 ] ASF subversion and git services commented on CB-3713: - Commit 4b20b222ee3d279660980cea4f6900f2ffd4578a in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device.git;h=4b20b22 ] [CB-3713] added device capability for wp7 > Breakout Device Plugin for WP7 > -- > > Key: CB-3713 > URL: https://issues.apache.org/jira/browse/CB-3713 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Device, WP7 >Reporter: Steve Gill >Assignee: Steve Gill > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3683) Breakout Contacts Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683769#comment-13683769 ] ASF subversion and git services commented on CB-3683: - Commit 9477b856ccabebdfd63cd1c9479951e0d540f2e8 in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=9477b85 ] [CB-3683] added contacts capability to wp7 > Breakout Contacts Plugin for WP7 > > > Key: CB-3683 > URL: https://issues.apache.org/jira/browse/CB-3683 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Contacts, WP7 >Reporter: Steve Gill >Assignee: Benn Mapes > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3827) Modify content structure
[ https://issues.apache.org/jira/browse/CB-3827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3827: Description: Restructure as follows: 1 Guides 1.1 Overview 1.2 The Cordova Command-line Interface 1.3 SDK Guide 1.3.1 [each platform...] 1.4 Upgrading SDKs 1.4.1 [each platform...] 1.5 API and Configuration Guide 1.5.1 Modifying Preferences 1.5.2 Basic Interaction 1.5.3 Device Sensors 1.5.4 Data Access 1.5.5 Network and Storage 1.5.6 Globalization 1.5.7 Domain Whitelisting 1.6 Extended Hybrid Applications 1.6.1 Opening a Browser Window 1.6.2 Embedding a WebView 1.6.3 Adding a Plug-in 1.7 Distributing Applications 2 Reference 2.1 API Reference 2.1.1 [each API...] 2.2 Configuration Reference 2.2.1 Shared Configuration Settings 2.2.2 iOS Configuration 2.2.3 Android Configuration 2.2.4 Blackberry Configuration was: Restructure as follows: - Guides - Overview - The Cordova Command-line Interface - SDK Guide - [each platform...] - Upgrading SDKs - [each platform...] - API and Configuration Guide - Modifying Preferences - Basic Interaction - Device Sensors - Data Access - Network and Storage - Globalization - Domain Whitelisting - Extended Hybrid Applications - Opening a Browser Window - Embedding a WebView - Adding a Plug-in - Distributing Applications - Reference - API Reference - [each API...] - Configuration Reference - Shared Configuration Settings - iOS Configuration - Android Configuration - Blackberry Configuration > Modify content structure > > > Key: CB-3827 > URL: https://issues.apache.org/jira/browse/CB-3827 > Project: Apache Cordova > Issue Type: Task > Components: Docs >Reporter: Mike Sierra >Assignee: Michael Brooks > > Restructure as follows: > 1 Guides > 1.1 Overview > 1.2 The Cordova Command-line Interface > 1.3 SDK Guide > 1.3.1 [each platform...] > 1.4 Upgrading SDKs > 1.4.1 [each platform...] > 1.5 API and Configuration Guide > 1.5.1 Modifying Preferences > 1.5.2 Basic Interaction > 1.5.3 Device Sensors > 1.5.4 Data Access > 1.5.5 Network and Storage > 1.5.6 Globalization > 1.5.7 Domain Whitelisting > 1.6 Extended Hybrid Applications > 1.6.1 Opening a Browser Window > 1.6.2 Embedding a WebView > 1.6.3 Adding a Plug-in > 1.7 Distributing Applications > 2 Reference > 2.1 API Reference > 2.1.1 [each API...] > 2.2 Configuration Reference > 2.2.1 Shared Configuration Settings > 2.2.2 iOS Configuration > 2.2.3 Android Configuration > 2.2.4 Blackberry Configuration -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3820) Adapt Configuration Reference
[ https://issues.apache.org/jira/browse/CB-3820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3820: Description: adapt existing "Project Settings". In addition to platform-specific settings, include Shared Settings e.g. for orientation (was: adapt existing "Project Settings") > Adapt Configuration Reference > - > > Key: CB-3820 > URL: https://issues.apache.org/jira/browse/CB-3820 > Project: Apache Cordova > Issue Type: Task > Components: Docs >Reporter: Mike Sierra >Assignee: Michael Brooks > > adapt existing "Project Settings". In addition to platform-specific settings, > include Shared Settings e.g. for orientation -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3827) Modify content structure
Mike Sierra created CB-3827: --- Summary: Modify content structure Key: CB-3827 URL: https://issues.apache.org/jira/browse/CB-3827 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Restructure as follows: - Guides - Overview - The Cordova Command-line Interface - SDK Guide - [each platform...] - Upgrading SDKs - [each platform...] - API and Configuration Guide - Modifying Preferences - Basic Interaction - Device Sensors - Data Access - Network and Storage - Globalization - Domain Whitelisting - Extended Hybrid Applications - Opening a Browser Window - Embedding a WebView - Adding a Plug-in - Distributing Applications - Reference - API Reference - [each API...] - Configuration Reference - Shared Configuration Settings - iOS Configuration - Android Configuration - Blackberry Configuration -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3824) Adapt "Embedding a WebView" section
[ https://issues.apache.org/jira/browse/CB-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3824: Summary: Adapt "Embedding a WebView" section (was: Rework "Embedding a WebView" section) > Adapt "Embedding a WebView" section > --- > > Key: CB-3824 > URL: https://issues.apache.org/jira/browse/CB-3824 > Project: Apache Cordova > Issue Type: Task > Components: Docs >Reporter: Mike Sierra >Assignee: Michael Brooks > > Adapt existing "Embedding WebView" sections -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3826) add "Opening a Browser Window" Section
Mike Sierra created CB-3826: --- Summary: add "Opening a Browser Window" Section Key: CB-3826 URL: https://issues.apache.org/jira/browse/CB-3826 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Detail behavior of inAppBrowser API: Does it open a browser instance? Does the view have a location bar? Does it work with browser history? Etc -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3824) Rework "Embedding a WebView" section
Mike Sierra created CB-3824: --- Summary: Rework "Embedding a WebView" section Key: CB-3824 URL: https://issues.apache.org/jira/browse/CB-3824 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Adapt existing "Embedding WebView" sections -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3825) Adapt "Adding a Plug-in" section
Mike Sierra created CB-3825: --- Summary: Adapt "Adding a Plug-in" section Key: CB-3825 URL: https://issues.apache.org/jira/browse/CB-3825 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks adapt existing "Plugin Development Guide" -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3813) Can't add android without using sudo
[ https://issues.apache.org/jira/browse/CB-3813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3813. --- Resolution: Unresolved Not sure how we're going to handle the upgrade paths from older version of the tools.. sorry. I think your best bet is to delete your old install of cordova-cli and install the newer tools. The new CLI doesn't try to install anything into sudo-owner directories (unlike the older CLI) so it may get a little confused there. > Can't add android without using sudo > > > Key: CB-3813 > URL: https://issues.apache.org/jira/browse/CB-3813 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 > Environment: npm 1.2.30 > cordova (cli) 2.8.17 > phonegap 2.8.0 > centos 6 > android sdk tools: 22.0.1 > android build tools: 17 > android platform tools: 17 > /usr/local all owned by me via chown >Reporter: Dan Moore >Assignee: Filip Maj > > I am unable to create an android project using cordova-cli without using sudo. > Replication steps: > 1. cordova create foo > 2. cd foo > 3. cordova platform add android > Expected outcome: see android added to the platforms directory > Actual outcome: you see an error message and no android directory added > Error message: > [Error: An error occured during creation of android sub-project. /bin/sh: > /home/username/.cordova/lib/android/cordova/2.8.0/bin/create: No such file or > directory > ] > Strangely, running this with sudo works: > sudo env PATH=$PATH cordova platform add android > I saw this bug: CB-3614 but the error message is different. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3784) PluginManager missing configuration file error is out-of-date
[ https://issues.apache.org/jira/browse/CB-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683745#comment-13683745 ] Joe Bowser commented on CB-3784: Patches are welcome! > PluginManager missing configuration file error is out-of-date > - > > Key: CB-3784 > URL: https://issues.apache.org/jira/browse/CB-3784 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Affects Versions: 2.7.0 >Reporter: Peter >Assignee: Joe Bowser >Priority: Minor > > The PluginManager loadPlugins() method logic prefers to load from > *config.xml*, and says the *plugins.xml* will be deprecated. > This is not consistent with the error message in > pluginConfigurationMissing(). > {code} > private void pluginConfigurationMissing() { > LOG.e(TAG, > "="); > LOG.e(TAG, "ERROR: plugin.xml is missing. Add res/xml/plugins.xml to > your project."); > LOG.e(TAG, > "https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.git;a=blob;f=framework/res/xml/plugins.xml";); > LOG.e(TAG, > "="); > } > {code} > > The error message should say the config.xml file is missing; not the > plugins.xml file. The referenced link is also out-of-date. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3809) Online/offline/deviceready events trigger too quickly with jQuery Mobile
[ https://issues.apache.org/jira/browse/CB-3809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683743#comment-13683743 ] Joe Bowser commented on CB-3809: I can't reproduce this on my Nexus 10 running 4.2.2. Can you specify which device you are testing on so that we can try and test it on that device if we have it, otherwise I'm going to have to mark this as "Cannot Reproduce" > Online/offline/deviceready events trigger too quickly with jQuery Mobile > > > Key: CB-3809 > URL: https://issues.apache.org/jira/browse/CB-3809 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Affects Versions: 2.7.0, 2.8.0 >Reporter: Kuan Yi Ming >Assignee: Joe Bowser > > If jQuery Mobile is in use in a PG app, the body onload function triggers > after the initial deviceready + initial online/offline event in version > 2.7.0. > Thus, the Javascript code samples at > http://docs.phonegap.com/en/2.7.0/cordova_events_events.md.html#Events simply > won't run the deviceready event, as well as the initial online or offline > event when the app is launched if jQM is used. > The code works in 2.6.0 and earlier versions, and on iOS. Android on 2.8.1 > however still has the same issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3823) Add "Extended Hybrid Applications" section
Mike Sierra created CB-3823: --- Summary: Add "Extended Hybrid Applications" section Key: CB-3823 URL: https://issues.apache.org/jira/browse/CB-3823 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Metabug to clarify various "out-of-app" options in doc -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3822) Rework SDK-specific content
Mike Sierra created CB-3822: --- Summary: Rework SDK-specific content Key: CB-3822 URL: https://issues.apache.org/jira/browse/CB-3822 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Organize platform-specific content as fixed set of unnumbered subheads: "Prerequisites"; "Install the SDK"; "Add a Project"; "Build the Project"; "Deploy to Emulator", "Deploy to Device". Remove or move information extraneous to that core set of content. Remove out-of-scope & redundant references to installing cordova; link externally. For platforms not covered by the CLI, remove any unnecessary references to non-CLI command-line tools. Same for "Add Project", which is appropriate to bootstrap with CLI even if there's no further coverage for a given platform. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3812. --- Resolution: Fixed Fix Version/s: 2.9.0 Pushed up to master2 and deployed to npm as 2.8.18. Give 'er a go! > Lazy Loading platforms from relative path URL does not work. > > > Key: CB-3812 > URL: https://issues.apache.org/jira/browse/CB-3812 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 >Reporter: Michal Mocny >Assignee: Filip Maj > Fix For: 2.9.0 > > > This is a bit of a catch-all bug to describe the hiccups I've faced (so far) > trying to get this to work. > (1) require-ing cordova (from a relative path, not sure if thats part of the > problem) leads to errors when calling .config(). > shell> cd MyCordovaCliApp > shell> node > node> var cordova = require('../cordova-cli/cordova'); > node> cordova.config({}) > TypeError: Arguments to path.join must be strings > at path.js:360:15 > at Array.filter (native) > at Object.exports.join (path.js:358:36) > at Function.get_config [as read] > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) > at Object.config > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) > at repl:1:10 > at REPLServer.self.eval (repl.js:110:21) > at Interface. (repl.js:239:12) > at Interface.EventEmitter.emit (events.js:95:17) > at Interface._onLine (readline.js:202:10) > (I worked around this locally by just modifying that config.json manually.) > (2) lazy loaded platforms copy with wrong permissions, which means the bin > scripts to not be executable. > shell> path/to/cordova platform add android > [Error: An error occured during creation of android sub-project. /bin/sh: > /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: > Permission denied > ] > (I worked around this by manually chmod +x those files) > (3) cordova.js file is always expected to be found according to the latest > tagged version, and not in your locally installed relative uri specified > platform > shell> cordova platform add android > [Error: ENOENT, no such file or directory > '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] > (The actual version is found in > /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) > (Seems the cause has to do with cordova_util.cordovaTag being hard coded to > 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to > platform lib is still incorrectly hard coded throughout the platform > parsers..) > The following are more usability concerns: > (4) When I make changes to my local platform, I seem to need to delete > .cordova/libs in order for new changes to be copied over. Could we just > link? Would solve the permissions errors.. > (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both > needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683738#comment-13683738 ] ASF subversion and git services commented on CB-3812: - Commit d2392da27aeae5bead4c1d089d9f16d541f73026 in branch refs/heads/master2 from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=d2392da ] use symlink instead of copying. Partial fix for [CB-3812] > Lazy Loading platforms from relative path URL does not work. > > > Key: CB-3812 > URL: https://issues.apache.org/jira/browse/CB-3812 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 >Reporter: Michal Mocny >Assignee: Filip Maj > > This is a bit of a catch-all bug to describe the hiccups I've faced (so far) > trying to get this to work. > (1) require-ing cordova (from a relative path, not sure if thats part of the > problem) leads to errors when calling .config(). > shell> cd MyCordovaCliApp > shell> node > node> var cordova = require('../cordova-cli/cordova'); > node> cordova.config({}) > TypeError: Arguments to path.join must be strings > at path.js:360:15 > at Array.filter (native) > at Object.exports.join (path.js:358:36) > at Function.get_config [as read] > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) > at Object.config > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) > at repl:1:10 > at REPLServer.self.eval (repl.js:110:21) > at Interface. (repl.js:239:12) > at Interface.EventEmitter.emit (events.js:95:17) > at Interface._onLine (readline.js:202:10) > (I worked around this locally by just modifying that config.json manually.) > (2) lazy loaded platforms copy with wrong permissions, which means the bin > scripts to not be executable. > shell> path/to/cordova platform add android > [Error: An error occured during creation of android sub-project. /bin/sh: > /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: > Permission denied > ] > (I worked around this by manually chmod +x those files) > (3) cordova.js file is always expected to be found according to the latest > tagged version, and not in your locally installed relative uri specified > platform > shell> cordova platform add android > [Error: ENOENT, no such file or directory > '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] > (The actual version is found in > /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) > (Seems the cause has to do with cordova_util.cordovaTag being hard coded to > 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to > platform lib is still incorrectly hard coded throughout the platform > parsers..) > The following are more usability concerns: > (4) When I make changes to my local platform, I seem to need to delete > .cordova/libs in order for new changes to be copied over. Could we just > link? Would solve the permissions errors.. > (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both > needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683736#comment-13683736 ] ASF subversion and git services commented on CB-3812: - Commit 9d28a67d68d2cba3a8ce3b803e3db38f6f86 in branch refs/heads/master2 from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=9d28a67 ] npm version 2.8.18. Fixes [CB-3812]. > Lazy Loading platforms from relative path URL does not work. > > > Key: CB-3812 > URL: https://issues.apache.org/jira/browse/CB-3812 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 >Reporter: Michal Mocny >Assignee: Filip Maj > > This is a bit of a catch-all bug to describe the hiccups I've faced (so far) > trying to get this to work. > (1) require-ing cordova (from a relative path, not sure if thats part of the > problem) leads to errors when calling .config(). > shell> cd MyCordovaCliApp > shell> node > node> var cordova = require('../cordova-cli/cordova'); > node> cordova.config({}) > TypeError: Arguments to path.join must be strings > at path.js:360:15 > at Array.filter (native) > at Object.exports.join (path.js:358:36) > at Function.get_config [as read] > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) > at Object.config > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) > at repl:1:10 > at REPLServer.self.eval (repl.js:110:21) > at Interface. (repl.js:239:12) > at Interface.EventEmitter.emit (events.js:95:17) > at Interface._onLine (readline.js:202:10) > (I worked around this locally by just modifying that config.json manually.) > (2) lazy loaded platforms copy with wrong permissions, which means the bin > scripts to not be executable. > shell> path/to/cordova platform add android > [Error: An error occured during creation of android sub-project. /bin/sh: > /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: > Permission denied > ] > (I worked around this by manually chmod +x those files) > (3) cordova.js file is always expected to be found according to the latest > tagged version, and not in your locally installed relative uri specified > platform > shell> cordova platform add android > [Error: ENOENT, no such file or directory > '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] > (The actual version is found in > /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) > (Seems the cause has to do with cordova_util.cordovaTag being hard coded to > 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to > platform lib is still incorrectly hard coded throughout the platform > parsers..) > The following are more usability concerns: > (4) When I make changes to my local platform, I seem to need to delete > .cordova/libs in order for new changes to be copied over. Could we just > link? Would solve the permissions errors.. > (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both > needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683737#comment-13683737 ] ASF subversion and git services commented on CB-3812: - Commit 9758d9fe1c3630c345f5aac6385501b26c3ee034 in branch refs/heads/master2 from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=9758d9f ] [CB-3812] Platform parsers nwo support custom directory locations. Added helper "has_custom_path" to config module. > Lazy Loading platforms from relative path URL does not work. > > > Key: CB-3812 > URL: https://issues.apache.org/jira/browse/CB-3812 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 >Reporter: Michal Mocny >Assignee: Filip Maj > > This is a bit of a catch-all bug to describe the hiccups I've faced (so far) > trying to get this to work. > (1) require-ing cordova (from a relative path, not sure if thats part of the > problem) leads to errors when calling .config(). > shell> cd MyCordovaCliApp > shell> node > node> var cordova = require('../cordova-cli/cordova'); > node> cordova.config({}) > TypeError: Arguments to path.join must be strings > at path.js:360:15 > at Array.filter (native) > at Object.exports.join (path.js:358:36) > at Function.get_config [as read] > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) > at Object.config > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) > at repl:1:10 > at REPLServer.self.eval (repl.js:110:21) > at Interface. (repl.js:239:12) > at Interface.EventEmitter.emit (events.js:95:17) > at Interface._onLine (readline.js:202:10) > (I worked around this locally by just modifying that config.json manually.) > (2) lazy loaded platforms copy with wrong permissions, which means the bin > scripts to not be executable. > shell> path/to/cordova platform add android > [Error: An error occured during creation of android sub-project. /bin/sh: > /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: > Permission denied > ] > (I worked around this by manually chmod +x those files) > (3) cordova.js file is always expected to be found according to the latest > tagged version, and not in your locally installed relative uri specified > platform > shell> cordova platform add android > [Error: ENOENT, no such file or directory > '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] > (The actual version is found in > /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) > (Seems the cause has to do with cordova_util.cordovaTag being hard coded to > 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to > platform lib is still incorrectly hard coded throughout the platform > parsers..) > The following are more usability concerns: > (4) When I make changes to my local platform, I seem to need to delete > .cordova/libs in order for new changes to be copied over. Could we just > link? Would solve the permissions errors.. > (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both > needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3821) Rework SDK Section
Mike Sierra created CB-3821: --- Summary: Rework SDK Section Key: CB-3821 URL: https://issues.apache.org/jira/browse/CB-3821 Project: Apache Cordova Issue Type: Task Reporter: Mike Sierra Retitle "Getting Started" as "SDK Guide" to accomodate larger context. Add top-level splash-screen content discussing need to install SDKs for target platforms, even for development in CLI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3820) Adapt Configuration Reference
[ https://issues.apache.org/jira/browse/CB-3820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3820: Summary: Adapt Configuration Reference (was: Add Configuration Reference) > Adapt Configuration Reference > - > > Key: CB-3820 > URL: https://issues.apache.org/jira/browse/CB-3820 > Project: Apache Cordova > Issue Type: Task > Components: Docs >Reporter: Mike Sierra >Assignee: Michael Brooks > > adapt existing "Project Settings" -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3281) Deprecate Froyo
[ https://issues.apache.org/jira/browse/CB-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-3281: --- Fix Version/s: 3.0.0 > Deprecate Froyo > --- > > Key: CB-3281 > URL: https://issues.apache.org/jira/browse/CB-3281 > Project: Apache Cordova > Issue Type: Task > Components: Android >Affects Versions: 3.0.0 >Reporter: Joe Bowser >Assignee: Joe Bowser > Fix For: 3.0.0 > > > We get to deprecate Froyo: > * Remove Commons-Codec dependency > * Use Android API base64 encoding -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3820) Add Configuration Reference
Mike Sierra created CB-3820: --- Summary: Add Configuration Reference Key: CB-3820 URL: https://issues.apache.org/jira/browse/CB-3820 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks adapt existing "Project Settings" -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3819) Abstract out the splashscreen delay
Joe Bowser created CB-3819: -- Summary: Abstract out the splashscreen delay Key: CB-3819 URL: https://issues.apache.org/jira/browse/CB-3819 Project: Apache Cordova Issue Type: New Feature Components: Android Affects Versions: 3.0.0 Reporter: Joe Bowser Assignee: Joe Bowser Fix For: 3.1.0 Currently to use the splashscreen, you have to add a delay. {code} appView.loadUrl('foo.bar', 3000); {code} It would be good to specify initialDelay as a property in config.xml and to have it run the first time loadUrl was added. This is a new feature, so it won't land until after 3.1.0, but it did come up during the 3.0 plugin breakout. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3818) Organize API Reference
Mike Sierra created CB-3818: --- Summary: Organize API Reference Key: CB-3818 URL: https://issues.apache.org/jira/browse/CB-3818 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks metabug for all API ref doc -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3817) Organize Reference content
Mike Sierra created CB-3817: --- Summary: Organize Reference content Key: CB-3817 URL: https://issues.apache.org/jira/browse/CB-3817 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks metabug for all tasks relating to reference content -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3816) Add CLI Guide
Mike Sierra created CB-3816: --- Summary: Add CLI Guide Key: CB-3816 URL: https://issues.apache.org/jira/browse/CB-3816 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Reader wants to be able to use CLI for as much of the development cycle as possible, or bootstrap a project to hand off to SDK(s), or some combo. Clarify: which platforms are supported & under which OS you can run each. Tutorial should generate default HelloCordova app, adds platforms, view in emulator(s), then view on device(s). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3815) Add Compatability Table to Overview
Mike Sierra created CB-3815: --- Summary: Add Compatability Table to Overview Key: CB-3815 URL: https://issues.apache.org/jira/browse/CB-3815 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks For at-a-glance overview, readers need a single-page table, where X = each platform; Y = each feature or development option. In addition to APIs, include support for CLI, WebView, plug-ins, or any other option a developer might value. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3579) http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8
[ https://issues.apache.org/jira/browse/CB-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683680#comment-13683680 ] Carlos Santana commented on CB-3579: awesome [~mwbrooks] now is working (y) > http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8 > > > Key: CB-3579 > URL: https://issues.apache.org/jira/browse/CB-3579 > Project: Apache Cordova > Issue Type: Bug > Components: Website >Affects Versions: 2.8.0 >Reporter: Carlos Santana >Assignee: Michael Brooks >Priority: Minor > Labels: documentation > > Visit http://cordova.apache.org/ > Go to "Quick Links" section > Documentation Link points to http://cordova.apache.org/docs/en/2.6.0/ > It should point to 2.8.0 > Maybe it should point to something that is more fixed and easy to find > http://cordova.apache.org/docs/en/lastest > As part of the cutting a release and additional "latest" directory can be > refreshed with latest version of docs when a new version is released. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3726) Breakout File Transfer Plugin for iOS
[ https://issues.apache.org/jira/browse/CB-3726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683674#comment-13683674 ] Herm Wong commented on CB-3726: --- iOS code broken out: https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;a=commit;h=81cf31677f544332d3409b9c37624bc927ae2537 plugin.xml updated with iOS references: https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;a=commit;h=bfb7af458429f68876485df307ab2d29c2a28c6d ready for testing on device. > Breakout File Transfer Plugin for iOS > - > > Key: CB-3726 > URL: https://issues.apache.org/jira/browse/CB-3726 > Project: Apache Cordova > Issue Type: Improvement > Components: iOS, Plugin File Transfer >Reporter: Steve Gill >Assignee: Herm Wong > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3725) Breakout File Transfer Plugin for Android
[ https://issues.apache.org/jira/browse/CB-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683672#comment-13683672 ] Herm Wong commented on CB-3725: --- Android Java classes broken out: https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;a=commit;h=feb16bf34111b3dcb0ebc26991640414688af54d Cordova-JS code: https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;a=commit;h=571d316e7ad3cf6df75f5485c72f38607a71cfcc Android permissions: https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;a=commit;h=187a12725b5b37179f90b5903fcc82b7e5490c10 ready for testing on device. > Breakout File Transfer Plugin for Android > - > > Key: CB-3725 > URL: https://issues.apache.org/jira/browse/CB-3725 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, Plugin File Transfer >Reporter: Steve Gill >Assignee: Herm Wong > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3579) http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8
[ https://issues.apache.org/jira/browse/CB-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683669#comment-13683669 ] Michael Brooks commented on CB-3579: It looks like [~stevegill] is heads down with the plugin breakout tasks. I've went ahead and updated the site to point to the {{2.8.0}} documentation. Thanks for catching and reporting the error [~csantana]! > http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8 > > > Key: CB-3579 > URL: https://issues.apache.org/jira/browse/CB-3579 > Project: Apache Cordova > Issue Type: Bug > Components: Website >Affects Versions: 2.8.0 >Reporter: Carlos Santana >Assignee: Michael Brooks >Priority: Minor > Labels: documentation > > Visit http://cordova.apache.org/ > Go to "Quick Links" section > Documentation Link points to http://cordova.apache.org/docs/en/2.6.0/ > It should point to 2.8.0 > Maybe it should point to something that is more fixed and easy to find > http://cordova.apache.org/docs/en/lastest > As part of the cutting a release and additional "latest" directory can be > refreshed with latest version of docs when a new version is released. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3579) http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8
[ https://issues.apache.org/jira/browse/CB-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Brooks resolved CB-3579. Resolution: Fixed > http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8 > > > Key: CB-3579 > URL: https://issues.apache.org/jira/browse/CB-3579 > Project: Apache Cordova > Issue Type: Bug > Components: Website >Affects Versions: 2.8.0 >Reporter: Carlos Santana >Assignee: Michael Brooks >Priority: Minor > Labels: documentation > > Visit http://cordova.apache.org/ > Go to "Quick Links" section > Documentation Link points to http://cordova.apache.org/docs/en/2.6.0/ > It should point to 2.8.0 > Maybe it should point to something that is more fixed and easy to find > http://cordova.apache.org/docs/en/lastest > As part of the cutting a release and additional "latest" directory can be > refreshed with latest version of docs when a new version is released. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-3579) http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8
[ https://issues.apache.org/jira/browse/CB-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Brooks reassigned CB-3579: -- Assignee: Michael Brooks (was: Steve Gill) > http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8 > > > Key: CB-3579 > URL: https://issues.apache.org/jira/browse/CB-3579 > Project: Apache Cordova > Issue Type: Bug > Components: Website >Affects Versions: 2.8.0 >Reporter: Carlos Santana >Assignee: Michael Brooks >Priority: Minor > Labels: documentation > > Visit http://cordova.apache.org/ > Go to "Quick Links" section > Documentation Link points to http://cordova.apache.org/docs/en/2.6.0/ > It should point to 2.8.0 > Maybe it should point to something that is more fixed and easy to find > http://cordova.apache.org/docs/en/lastest > As part of the cutting a release and additional "latest" directory can be > refreshed with latest version of docs when a new version is released. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3351) Support for mutual SSL (on Ajax calls)
[ https://issues.apache.org/jira/browse/CB-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-3351: --- Component/s: (was: Android) > Support for mutual SSL (on Ajax calls) > --- > > Key: CB-3351 > URL: https://issues.apache.org/jira/browse/CB-3351 > Project: Apache Cordova > Issue Type: New Feature > Components: BlackBerry, WP8 >Affects Versions: 2.6.0 >Reporter: Eloy Gonzalez > Labels: clientcertificate, mutualSSL, ssl > > In some situations, two-factor authentication is required, and client > certificates (a X.509 certificate with a 1.3.6.1.5.5.7.3.2 enhanced key > usage) are a popular choice as a first factor. With mutual SSL, the client > verifies the server's identity (server authentication) and the server > verifies the client's identity (client authentication). Unfortunately, > Cordova does not support mutual SSL. > This issue is relate to CB-2669, but not only for iOS -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3351) Support for mutual SSL (on Ajax calls)
[ https://issues.apache.org/jira/browse/CB-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683667#comment-13683667 ] Joe Bowser commented on CB-3351: Removing Android from the ticket, please star this bug: https://code.google.com/p/android/issues/detail?id=8196 > Support for mutual SSL (on Ajax calls) > --- > > Key: CB-3351 > URL: https://issues.apache.org/jira/browse/CB-3351 > Project: Apache Cordova > Issue Type: New Feature > Components: BlackBerry, WP8 >Affects Versions: 2.6.0 >Reporter: Eloy Gonzalez > Labels: clientcertificate, mutualSSL, ssl > > In some situations, two-factor authentication is required, and client > certificates (a X.509 certificate with a 1.3.6.1.5.5.7.3.2 enhanced key > usage) are a popular choice as a first factor. With mutual SSL, the client > verifies the server's identity (server authentication) and the server > verifies the client's identity (client authentication). Unfortunately, > Cordova does not support mutual SSL. > This issue is relate to CB-2669, but not only for iOS -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3523) Possible NPE on app restart
[ https://issues.apache.org/jira/browse/CB-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683666#comment-13683666 ] Joe Bowser commented on CB-3523: So, can we test this? > Possible NPE on app restart > --- > > Key: CB-3523 > URL: https://issues.apache.org/jira/browse/CB-3523 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Reporter: Ian Clelland >Assignee: Ian Clelland > > If the cordova activity is suspended while waiting for a callback, it can be > woken up in a state where the plugin which should be responsible for that > callback is not present, and the app will throw a NullPointerException. > There may be something deeper going on here, but we should probably not throw > in any case -- at least we can restart in a stable state. > From the original pull request > (https://github.com/apache/cordova-android/pull/58): > bq.I had a situation where the camera application would actually fail and it > seems that the onActivityResult method would fall into an unusual state and > throw an exception. > bq.The simple fix was to ensure that if the plugin manager returned null for > a callback, we didn't then attempt to use the callback. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683636#comment-13683636 ] ASF subversion and git services commented on CB-3812: - Commit 9758d9fe1c3630c345f5aac6385501b26c3ee034 in branch refs/heads/lazy from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=9758d9f ] [CB-3812] Platform parsers nwo support custom directory locations. Added helper "has_custom_path" to config module. > Lazy Loading platforms from relative path URL does not work. > > > Key: CB-3812 > URL: https://issues.apache.org/jira/browse/CB-3812 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 >Reporter: Michal Mocny >Assignee: Filip Maj > > This is a bit of a catch-all bug to describe the hiccups I've faced (so far) > trying to get this to work. > (1) require-ing cordova (from a relative path, not sure if thats part of the > problem) leads to errors when calling .config(). > shell> cd MyCordovaCliApp > shell> node > node> var cordova = require('../cordova-cli/cordova'); > node> cordova.config({}) > TypeError: Arguments to path.join must be strings > at path.js:360:15 > at Array.filter (native) > at Object.exports.join (path.js:358:36) > at Function.get_config [as read] > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) > at Object.config > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) > at repl:1:10 > at REPLServer.self.eval (repl.js:110:21) > at Interface. (repl.js:239:12) > at Interface.EventEmitter.emit (events.js:95:17) > at Interface._onLine (readline.js:202:10) > (I worked around this locally by just modifying that config.json manually.) > (2) lazy loaded platforms copy with wrong permissions, which means the bin > scripts to not be executable. > shell> path/to/cordova platform add android > [Error: An error occured during creation of android sub-project. /bin/sh: > /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: > Permission denied > ] > (I worked around this by manually chmod +x those files) > (3) cordova.js file is always expected to be found according to the latest > tagged version, and not in your locally installed relative uri specified > platform > shell> cordova platform add android > [Error: ENOENT, no such file or directory > '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] > (The actual version is found in > /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) > (Seems the cause has to do with cordova_util.cordovaTag being hard coded to > 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to > platform lib is still incorrectly hard coded throughout the platform > parsers..) > The following are more usability concerns: > (4) When I make changes to my local platform, I seem to need to delete > .cordova/libs in order for new changes to be copied over. Could we just > link? Would solve the permissions errors.. > (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both > needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-2432) Camera doesn't pick Picasa photos properly
[ https://issues.apache.org/jira/browse/CB-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-2432: --- Fix Version/s: (was: 2.9.0) 3.1.0 > Camera doesn't pick Picasa photos properly > -- > > Key: CB-2432 > URL: https://issues.apache.org/jira/browse/CB-2432 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Reporter: Max Woghiren >Assignee: Andrew Grieve >Priority: Minor > Fix For: 3.1.0 > > > Picking a Picasa photo results in an error on some devices. From CB-2213: > Picking a file from Picasa works on my Galaxy S2 running Android 4.0.3. Doing > so copies the image locally and works with that. > Picking a file from Picasa does not work on Andrew's Nexus 4 running Android > 4.2.2. The Intent passed to CameraLauncher.onActivityResult contains a "NOT > CACHED" URI and appears to be unusable. > However, when the Intent is being created in CameraLauncher.getImage, it is > given an "image/\*" type. Changing this to "\*/\*" provides a content URI, > which is nice, but it's of the form > "content://com.google.android.gallery3d.provider/picasa/item/...", which > isn't usable in the usual way; FileUtils.getRealPathFromURI returns null. > This case probably just needs to be handled using > ContentResolver.openInputStream, which would require some FileUtils > refactoring. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3413) Inconsistency in GetFileEntry - uri's vs paths
[ https://issues.apache.org/jira/browse/CB-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-3413: --- Fix Version/s: (was: 2.9.0) 3.1.0 > Inconsistency in GetFileEntry - uri's vs paths > -- > > Key: CB-3413 > URL: https://issues.apache.org/jira/browse/CB-3413 > Project: Apache Cordova > Issue Type: Bug > Components: Android, iOS >Affects Versions: 2.7.0 >Reporter: Shravan Narayan >Assignee: Andrew Grieve > Fix For: 3.1.0 > > > The getFileEntry in android returs a file: uri "file:///storage/something" > while the getFileEntry on ios returns a file path "/var/something"... > It is unclear whether we need to return a file: uri here or a path, but at > the very least it should be consistent. > Other platforms will have to be tested to ensure they are consistent with the > chosen solution as well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-3725) Breakout File Transfer Plugin for Android
[ https://issues.apache.org/jira/browse/CB-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Herm Wong reassigned CB-3725: - Assignee: Herm Wong (was: Steve Gill) > Breakout File Transfer Plugin for Android > - > > Key: CB-3725 > URL: https://issues.apache.org/jira/browse/CB-3725 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, Plugin File Transfer >Reporter: Steve Gill >Assignee: Herm Wong > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-3726) Breakout File Transfer Plugin for iOS
[ https://issues.apache.org/jira/browse/CB-3726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Herm Wong reassigned CB-3726: - Assignee: Herm Wong (was: Steve Gill) > Breakout File Transfer Plugin for iOS > - > > Key: CB-3726 > URL: https://issues.apache.org/jira/browse/CB-3726 > Project: Apache Cordova > Issue Type: Improvement > Components: iOS, Plugin File Transfer >Reporter: Steve Gill >Assignee: Herm Wong > Fix For: 3.0.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3814) Cordova CLI creates 2.8.0 project rather than 2.8.1
[ https://issues.apache.org/jira/browse/CB-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683595#comment-13683595 ] Dan Moore commented on CB-3814: --- Oh, I found the PG version in this file: platforms/android/assets/www/cordova.js > Cordova CLI creates 2.8.0 project rather than 2.8.1 > --- > > Key: CB-3814 > URL: https://issues.apache.org/jira/browse/CB-3814 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 > Environment: npm 1.2.30 > cordova (cli) 2.8.17 > phonegap 2.8.0 > centos 6 > android sdk tools: 22.0.1 > android build tools: 17 > android platform tools: 17 > /usr/local all owned by me via chown >Reporter: Dan Moore >Assignee: Filip Maj > > The version of phonegap/cordova for a freshly created project is > 2.8.0-0-g6208c95. But phonegap 2.8.1 is released and available: > http://phonegap.com/download/ (and matters for anyone who uses a plugin). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3814) Cordova CLI creates 2.8.0 project rather than 2.8.1
Dan Moore created CB-3814: - Summary: Cordova CLI creates 2.8.0 project rather than 2.8.1 Key: CB-3814 URL: https://issues.apache.org/jira/browse/CB-3814 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Environment: npm 1.2.30 cordova (cli) 2.8.17 phonegap 2.8.0 centos 6 android sdk tools: 22.0.1 android build tools: 17 android platform tools: 17 /usr/local all owned by me via chown Reporter: Dan Moore Assignee: Filip Maj The version of phonegap/cordova for a freshly created project is 2.8.0-0-g6208c95. But phonegap 2.8.1 is released and available: http://phonegap.com/download/ (and matters for anyone who uses a plugin). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3813) Can't add android without using sudo
[ https://issues.apache.org/jira/browse/CB-3813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dan Moore updated CB-3813: -- Summary: Can't add android without using sudo (was: Can't create new android project without using sudo) > Can't add android without using sudo > > > Key: CB-3813 > URL: https://issues.apache.org/jira/browse/CB-3813 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 > Environment: npm 1.2.30 > cordova (cli) 2.8.17 > phonegap 2.8.0 > centos 6 > android sdk tools: 22.0.1 > android build tools: 17 > android platform tools: 17 > /usr/local all owned by me via chown >Reporter: Dan Moore >Assignee: Filip Maj > > I am unable to create an android project using cordova-cli without using sudo. > Replication steps: > 1. cordova create foo > 2. cd foo > 3. cordova platform add android > Expected outcome: see android added to the platforms directory > Actual outcome: you see an error message and no android directory added > Error message: > [Error: An error occured during creation of android sub-project. /bin/sh: > /home/username/.cordova/lib/android/cordova/2.8.0/bin/create: No such file or > directory > ] > Strangely, running this with sudo works: > sudo env PATH=$PATH cordova platform add android > I saw this bug: CB-3614 but the error message is different. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3813) Can't add android without using sudo
[ https://issues.apache.org/jira/browse/CB-3813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683585#comment-13683585 ] Dan Moore commented on CB-3813: --- This doesn't appear to be an issue if you move the ~/.cordova directory away, and let the new cordova command create it (I had recently upgraded from cordova-cli 2.8.14). > Can't add android without using sudo > > > Key: CB-3813 > URL: https://issues.apache.org/jira/browse/CB-3813 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 > Environment: npm 1.2.30 > cordova (cli) 2.8.17 > phonegap 2.8.0 > centos 6 > android sdk tools: 22.0.1 > android build tools: 17 > android platform tools: 17 > /usr/local all owned by me via chown >Reporter: Dan Moore >Assignee: Filip Maj > > I am unable to create an android project using cordova-cli without using sudo. > Replication steps: > 1. cordova create foo > 2. cd foo > 3. cordova platform add android > Expected outcome: see android added to the platforms directory > Actual outcome: you see an error message and no android directory added > Error message: > [Error: An error occured during creation of android sub-project. /bin/sh: > /home/username/.cordova/lib/android/cordova/2.8.0/bin/create: No such file or > directory > ] > Strangely, running this with sudo works: > sudo env PATH=$PATH cordova platform add android > I saw this bug: CB-3614 but the error message is different. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3813) Can't create new android project without using sudo
Dan Moore created CB-3813: - Summary: Can't create new android project without using sudo Key: CB-3813 URL: https://issues.apache.org/jira/browse/CB-3813 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Environment: npm 1.2.30 cordova (cli) 2.8.17 phonegap 2.8.0 centos 6 android sdk tools: 22.0.1 android build tools: 17 android platform tools: 17 /usr/local all owned by me via chown Reporter: Dan Moore Assignee: Filip Maj I am unable to create an android project using cordova-cli without using sudo. Replication steps: 1. cordova create foo 2. cd foo 3. cordova platform add android Expected outcome: see android added to the platforms directory Actual outcome: you see an error message and no android directory added Error message: [Error: An error occured during creation of android sub-project. /bin/sh: /home/username/.cordova/lib/android/cordova/2.8.0/bin/create: No such file or directory ] Strangely, running this with sudo works: sudo env PATH=$PATH cordova platform add android I saw this bug: CB-3614 but the error message is different. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683573#comment-13683573 ] Michal Mocny commented on CB-3812: -- Sounds great, will do. > Lazy Loading platforms from relative path URL does not work. > > > Key: CB-3812 > URL: https://issues.apache.org/jira/browse/CB-3812 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 >Reporter: Michal Mocny >Assignee: Filip Maj > > This is a bit of a catch-all bug to describe the hiccups I've faced (so far) > trying to get this to work. > (1) require-ing cordova (from a relative path, not sure if thats part of the > problem) leads to errors when calling .config(). > shell> cd MyCordovaCliApp > shell> node > node> var cordova = require('../cordova-cli/cordova'); > node> cordova.config({}) > TypeError: Arguments to path.join must be strings > at path.js:360:15 > at Array.filter (native) > at Object.exports.join (path.js:358:36) > at Function.get_config [as read] > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) > at Object.config > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) > at repl:1:10 > at REPLServer.self.eval (repl.js:110:21) > at Interface. (repl.js:239:12) > at Interface.EventEmitter.emit (events.js:95:17) > at Interface._onLine (readline.js:202:10) > (I worked around this locally by just modifying that config.json manually.) > (2) lazy loaded platforms copy with wrong permissions, which means the bin > scripts to not be executable. > shell> path/to/cordova platform add android > [Error: An error occured during creation of android sub-project. /bin/sh: > /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: > Permission denied > ] > (I worked around this by manually chmod +x those files) > (3) cordova.js file is always expected to be found according to the latest > tagged version, and not in your locally installed relative uri specified > platform > shell> cordova platform add android > [Error: ENOENT, no such file or directory > '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] > (The actual version is found in > /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) > (Seems the cause has to do with cordova_util.cordovaTag being hard coded to > 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to > platform lib is still incorrectly hard coded throughout the platform > parsers..) > The following are more usability concerns: > (4) When I make changes to my local platform, I seem to need to delete > .cordova/libs in order for new changes to be copied over. Could we just > link? Would solve the permissions errors.. > (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both > needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683559#comment-13683559 ] ASF subversion and git services commented on CB-3812: - Commit d2392da27aeae5bead4c1d089d9f16d541f73026 in branch refs/heads/lazy from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=d2392da ] use symlink instead of copying. Partial fix for [CB-3812] > Lazy Loading platforms from relative path URL does not work. > > > Key: CB-3812 > URL: https://issues.apache.org/jira/browse/CB-3812 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 >Reporter: Michal Mocny >Assignee: Filip Maj > > This is a bit of a catch-all bug to describe the hiccups I've faced (so far) > trying to get this to work. > (1) require-ing cordova (from a relative path, not sure if thats part of the > problem) leads to errors when calling .config(). > shell> cd MyCordovaCliApp > shell> node > node> var cordova = require('../cordova-cli/cordova'); > node> cordova.config({}) > TypeError: Arguments to path.join must be strings > at path.js:360:15 > at Array.filter (native) > at Object.exports.join (path.js:358:36) > at Function.get_config [as read] > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) > at Object.config > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) > at repl:1:10 > at REPLServer.self.eval (repl.js:110:21) > at Interface. (repl.js:239:12) > at Interface.EventEmitter.emit (events.js:95:17) > at Interface._onLine (readline.js:202:10) > (I worked around this locally by just modifying that config.json manually.) > (2) lazy loaded platforms copy with wrong permissions, which means the bin > scripts to not be executable. > shell> path/to/cordova platform add android > [Error: An error occured during creation of android sub-project. /bin/sh: > /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: > Permission denied > ] > (I worked around this by manually chmod +x those files) > (3) cordova.js file is always expected to be found according to the latest > tagged version, and not in your locally installed relative uri specified > platform > shell> cordova platform add android > [Error: ENOENT, no such file or directory > '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] > (The actual version is found in > /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) > (Seems the cause has to do with cordova_util.cordovaTag being hard coded to > 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to > platform lib is still incorrectly hard coded throughout the platform > parsers..) > The following are more usability concerns: > (4) When I make changes to my local platform, I seem to need to delete > .cordova/libs in order for new changes to be copied over. Could we just > link? Would solve the permissions errors.. > (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both > needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3763) CLI not updating platform config files with app version from config.xml on Blackberry
[ https://issues.apache.org/jira/browse/CB-3763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683560#comment-13683560 ] ASF subversion and git services commented on CB-3763: - Commit f829e63208ecab7e7af8ecc109a3015cbb7dff2a in branch refs/heads/lazy from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=f829e63 ] [CB-3763] config.xml version attrib now interpolated into blackberry projects. > CLI not updating platform config files with app version from config.xml on > Blackberry > - > > Key: CB-3763 > URL: https://issues.apache.org/jira/browse/CB-3763 > Project: Apache Cordova > Issue Type: Sub-task > Components: BlackBerry, CLI >Affects Versions: 2.8.0 >Reporter: Tommy-Carlos Williams >Assignee: Filip Maj > Fix For: 2.9.0 > > > During the {{prepare}} stage, the CLI should be updating the version > information in the platform config file(s). > This has been done for Android and iOS but it would be good if someone could > do it for Blackberry. > See: https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=04648ad -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3791) "cordova plugin add" produces uninformative error
[ https://issues.apache.org/jira/browse/CB-3791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683561#comment-13683561 ] ASF subversion and git services commented on CB-3791: - Commit cda104f6d65cb236fae84a1fc07158010295a531 in branch refs/heads/lazy from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=cda104f ] [CB-3791] Provide correct error message is plugin/platform add/rm is called with no targets > "cordova plugin add" produces uninformative error > - > > Key: CB-3791 > URL: https://issues.apache.org/jira/browse/CB-3791 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Reporter: Mike Sierra >Assignee: Filip Maj >Priority: Minor > Fix For: 2.9.0 > > > Running "cordova plugin add" with no path argument produces... > [TypeError: Cannot read property 'length' of undefined] > ...which doesn't tell users what they're doing wrong. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3793) "cordova help" produces no output
[ https://issues.apache.org/jira/browse/CB-3793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683562#comment-13683562 ] ASF subversion and git services commented on CB-3793: - Commit c56c0b90b32e1a1f83433efb54b4bd21fbffdfd9 in branch refs/heads/lazy from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=c56c0b9 ] [CB-3793] `cordova help` produced no output. also disabled wp7 parser specs atm > "cordova help" produces no output > - > > Key: CB-3793 > URL: https://issues.apache.org/jira/browse/CB-3793 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Reporter: Mike Sierra >Assignee: Filip Maj >Priority: Minor > Fix For: 2.9.0 > > > In 2.8.15, "cordova" command produces help output, but "cordova help" > produces nothing. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683565#comment-13683565 ] Filip Maj commented on CB-3812: --- Hey Michal, I'm pushing updates up to the lazy branch of cordova-cli while I work through this. Includes the symlink change. Seems to fix #2. That said, you are correct that all the parsers need to check the config.json and adjust local paths accordingly. I'll be working on that this morning + updating tests as I fix stuff. You can keep tabs on the lazy branch if you want to be up-to-date on these changes/patches as I go. > Lazy Loading platforms from relative path URL does not work. > > > Key: CB-3812 > URL: https://issues.apache.org/jira/browse/CB-3812 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 >Reporter: Michal Mocny >Assignee: Filip Maj > > This is a bit of a catch-all bug to describe the hiccups I've faced (so far) > trying to get this to work. > (1) require-ing cordova (from a relative path, not sure if thats part of the > problem) leads to errors when calling .config(). > shell> cd MyCordovaCliApp > shell> node > node> var cordova = require('../cordova-cli/cordova'); > node> cordova.config({}) > TypeError: Arguments to path.join must be strings > at path.js:360:15 > at Array.filter (native) > at Object.exports.join (path.js:358:36) > at Function.get_config [as read] > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) > at Object.config > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) > at repl:1:10 > at REPLServer.self.eval (repl.js:110:21) > at Interface. (repl.js:239:12) > at Interface.EventEmitter.emit (events.js:95:17) > at Interface._onLine (readline.js:202:10) > (I worked around this locally by just modifying that config.json manually.) > (2) lazy loaded platforms copy with wrong permissions, which means the bin > scripts to not be executable. > shell> path/to/cordova platform add android > [Error: An error occured during creation of android sub-project. /bin/sh: > /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: > Permission denied > ] > (I worked around this by manually chmod +x those files) > (3) cordova.js file is always expected to be found according to the latest > tagged version, and not in your locally installed relative uri specified > platform > shell> cordova platform add android > [Error: ENOENT, no such file or directory > '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] > (The actual version is found in > /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) > (Seems the cause has to do with cordova_util.cordovaTag being hard coded to > 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to > platform lib is still incorrectly hard coded throughout the platform > parsers..) > The following are more usability concerns: > (4) When I make changes to my local platform, I seem to need to delete > .cordova/libs in order for new changes to be copied over. Could we just > link? Would solve the permissions errors.. > (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both > needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683554#comment-13683554 ] Michal Mocny commented on CB-3812: -- Confirmed #1 works with a dirname, thanks! > Lazy Loading platforms from relative path URL does not work. > > > Key: CB-3812 > URL: https://issues.apache.org/jira/browse/CB-3812 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 >Reporter: Michal Mocny >Assignee: Filip Maj > > This is a bit of a catch-all bug to describe the hiccups I've faced (so far) > trying to get this to work. > (1) require-ing cordova (from a relative path, not sure if thats part of the > problem) leads to errors when calling .config(). > shell> cd MyCordovaCliApp > shell> node > node> var cordova = require('../cordova-cli/cordova'); > node> cordova.config({}) > TypeError: Arguments to path.join must be strings > at path.js:360:15 > at Array.filter (native) > at Object.exports.join (path.js:358:36) > at Function.get_config [as read] > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) > at Object.config > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) > at repl:1:10 > at REPLServer.self.eval (repl.js:110:21) > at Interface. (repl.js:239:12) > at Interface.EventEmitter.emit (events.js:95:17) > at Interface._onLine (readline.js:202:10) > (I worked around this locally by just modifying that config.json manually.) > (2) lazy loaded platforms copy with wrong permissions, which means the bin > scripts to not be executable. > shell> path/to/cordova platform add android > [Error: An error occured during creation of android sub-project. /bin/sh: > /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: > Permission denied > ] > (I worked around this by manually chmod +x those files) > (3) cordova.js file is always expected to be found according to the latest > tagged version, and not in your locally installed relative uri specified > platform > shell> cordova platform add android > [Error: ENOENT, no such file or directory > '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] > (The actual version is found in > /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) > (Seems the cause has to do with cordova_util.cordovaTag being hard coded to > 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to > platform lib is still incorrectly hard coded throughout the platform > parsers..) > The following are more usability concerns: > (4) When I make changes to my local platform, I seem to need to delete > .cordova/libs in order for new changes to be copied over. Could we just > link? Would solve the permissions errors.. > (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both > needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683539#comment-13683539 ] Filip Maj commented on CB-3812: --- Re: (1) you need to specify a project_root as the first param, i.e.: {{cordova.config(__dirname, {})}} Good catch re #3, will have to rethink that. As for 2/4/5, you're right, symlink seems way better. Will try that out. > Lazy Loading platforms from relative path URL does not work. > > > Key: CB-3812 > URL: https://issues.apache.org/jira/browse/CB-3812 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 2.8.0 >Reporter: Michal Mocny >Assignee: Filip Maj > > This is a bit of a catch-all bug to describe the hiccups I've faced (so far) > trying to get this to work. > (1) require-ing cordova (from a relative path, not sure if thats part of the > problem) leads to errors when calling .config(). > shell> cd MyCordovaCliApp > shell> node > node> var cordova = require('../cordova-cli/cordova'); > node> cordova.config({}) > TypeError: Arguments to path.join must be strings > at path.js:360:15 > at Array.filter (native) > at Object.exports.join (path.js:358:36) > at Function.get_config [as read] > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) > at Object.config > (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) > at repl:1:10 > at REPLServer.self.eval (repl.js:110:21) > at Interface. (repl.js:239:12) > at Interface.EventEmitter.emit (events.js:95:17) > at Interface._onLine (readline.js:202:10) > (I worked around this locally by just modifying that config.json manually.) > (2) lazy loaded platforms copy with wrong permissions, which means the bin > scripts to not be executable. > shell> path/to/cordova platform add android > [Error: An error occured during creation of android sub-project. /bin/sh: > /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: > Permission denied > ] > (I worked around this by manually chmod +x those files) > (3) cordova.js file is always expected to be found according to the latest > tagged version, and not in your locally installed relative uri specified > platform > shell> cordova platform add android > [Error: ENOENT, no such file or directory > '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] > (The actual version is found in > /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) > (Seems the cause has to do with cordova_util.cordovaTag being hard coded to > 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to > platform lib is still incorrectly hard coded throughout the platform > parsers..) > The following are more usability concerns: > (4) When I make changes to my local platform, I seem to need to delete > .cordova/libs in order for new changes to be copied over. Could we just > link? Would solve the permissions errors.. > (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both > needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3812) Lazy Loading platforms from relative path URL does not work.
Michal Mocny created CB-3812: Summary: Lazy Loading platforms from relative path URL does not work. Key: CB-3812 URL: https://issues.apache.org/jira/browse/CB-3812 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Reporter: Michal Mocny Assignee: Filip Maj This is a bit of a catch-all bug to describe the hiccups I've faced (so far) trying to get this to work. (1) require-ing cordova (from a relative path, not sure if thats part of the problem) leads to errors when calling .config(). shell> cd MyCordovaCliApp shell> node node> var cordova = require('../cordova-cli/cordova'); node> cordova.config({}) TypeError: Arguments to path.join must be strings at path.js:360:15 at Array.filter (native) at Object.exports.join (path.js:358:36) at Function.get_config [as read] (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) at Object.config (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) at repl:1:10 at REPLServer.self.eval (repl.js:110:21) at Interface. (repl.js:239:12) at Interface.EventEmitter.emit (events.js:95:17) at Interface._onLine (readline.js:202:10) (I worked around this locally by just modifying that config.json manually.) (2) lazy loaded platforms copy with wrong permissions, which means the bin scripts to not be executable. shell> path/to/cordova platform add android [Error: An error occured during creation of android sub-project. /bin/sh: /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: Permission denied ] (I worked around this by manually chmod +x those files) (3) cordova.js file is always expected to be found according to the latest tagged version, and not in your locally installed relative uri specified platform shell> cordova platform add android [Error: ENOENT, no such file or directory '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] (The actual version is found in /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) (Seems the cause has to do with cordova_util.cordovaTag being hard coded to 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to platform lib is still incorrectly hard coded throughout the platform parsers..) The following are more usability concerns: (4) When I make changes to my local platform, I seem to need to delete .cordova/libs in order for new changes to be copied over. Could we just link? Would solve the permissions errors.. (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3811) Add "Overview" Page to Guides area
[ https://issues.apache.org/jira/browse/CB-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3811: Issue Type: Task (was: Sub-task) Parent: (was: CB-3808) > Add "Overview" Page to Guides area > -- > > Key: CB-3811 > URL: https://issues.apache.org/jira/browse/CB-3811 > Project: Apache Cordova > Issue Type: Task > Components: Docs >Reporter: Mike Sierra >Assignee: Michael Brooks > > Reader needs high-level messaging: Why cordova? What problem does it solve? > What does an app look like, and how does it execute? What are the different > development paths? Overview clarifies basic terminology such as CLI, SDK, > plug-in, what does "hybrid" mean, etc. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3810) Rework Guide content
[ https://issues.apache.org/jira/browse/CB-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3810: Issue Type: Task (was: Sub-task) Parent: (was: CB-3808) > Rework Guide content > - > > Key: CB-3810 > URL: https://issues.apache.org/jira/browse/CB-3810 > Project: Apache Cordova > Issue Type: Task > Components: Docs >Reporter: Mike Sierra >Assignee: Michael Brooks >Priority: Critical > > Current guide content assumes an SDK-centered workflow, which needs to be > modified to address CLI audience. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3811) Add "Overview" Page to Guides area
[ https://issues.apache.org/jira/browse/CB-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3811: Summary: Add "Overview" Page to Guides area (was: Add "Overview" Page) > Add "Overview" Page to Guides area > -- > > Key: CB-3811 > URL: https://issues.apache.org/jira/browse/CB-3811 > Project: Apache Cordova > Issue Type: Sub-task > Components: Docs >Reporter: Mike Sierra >Assignee: Michael Brooks > > Reader needs high-level messaging: Why cordova? What problem does it solve? > What does an app look like, and how does it execute? What are the different > development paths? Overview clarifies basic terminology such as CLI, SDK, > plug-in, what does "hybrid" mean, etc. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3811) Add "Overview" Page
[ https://issues.apache.org/jira/browse/CB-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3811: Issue Type: Sub-task (was: Task) Parent: CB-3808 > Add "Overview" Page > --- > > Key: CB-3811 > URL: https://issues.apache.org/jira/browse/CB-3811 > Project: Apache Cordova > Issue Type: Sub-task > Components: Docs >Reporter: Mike Sierra >Assignee: Michael Brooks > > Reader needs high-level messaging: Why cordova? What problem does it solve? > What does an app look like, and how does it execute? What are the different > development paths? Overview clarifies basic terminology such as CLI, SDK, > plug-in, what does "hybrid" mean, etc. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira