[jira] [Created] (CB-7083) Missing SDKReference support on Windows Phone
chris created CB-7083: - Summary: Missing SDKReference support on Windows Phone Key: CB-7083 URL: https://issues.apache.org/jira/browse/CB-7083 Project: Apache Cordova Issue Type: Bug Components: WP8 Affects Versions: 3.5.0 Environment: Windows 8.1 Reporter: chris Assignee: Jesse MacFadyen I'm reporting this as a bug because CB-6115/Tools Release Feb 26, 2014 mentions: plugman@0.20.0 Win8/WP: Added SDKReference support via 'lib-file' tags yet in cordova\node_modules\cordova-lib\src\plugman\platforms\wp8.js I see: "lib-file": { install:function(source_el, plugin_dir, project_dir, plugin_id) { events.emit('verbose', 'lib-file.install is not supported for wp8'); }, uninstall:function(source_el, project_dir, plugin_id) { events.emit('verbose', 'lib-file.uninstall is not supported for wp8'); } I need it to add a reference to the MS Advertising SDK which requires SDKReference. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CB-7082) Support JSON output from CLI calls
Raymond Camden created CB-7082: -- Summary: Support JSON output from CLI calls Key: CB-7082 URL: https://issues.apache.org/jira/browse/CB-7082 Project: Apache Cordova Issue Type: Improvement Components: CLI Reporter: Raymond Camden Priority: Minor Add a flag so commands can output JSON responses instead of plain text. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-7081) Issue when Cordova upgrade from 2.9 to 3.5
[ https://issues.apache.org/jira/browse/CB-7081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053133#comment-14053133 ] Rajesh Kumar commented on CB-7081: -- I downloaded cordova from https://www.apache.org/dist/cordova/platforms/ ( cordova-android-3.5.0.zip 2014-05-23 23:03 2.5M ) > Issue when Cordova upgrade from 2.9 to 3.5 > -- > > Key: CB-7081 > URL: https://issues.apache.org/jira/browse/CB-7081 > Project: Apache Cordova > Issue Type: Bug > Components: Android, CordovaJS >Affects Versions: 3.5.0 >Reporter: Rajesh Kumar > > I recently upgraded my cordova app from v2.9 to v3.5. When I start my app, I > see a JSONException in the logcat console as below: > 07-05 16:04:48.457: W/System.err(1917): org.json.JSONException: Value App > at 0 of type java.lang.String cannot be converted to int > 07-05 16:04:48.457: W/System.err(1917): at > org.json.JSON.typeMismatch(JSON.java:100) > 07-05 16:04:48.457: W/System.err(1917): at > org.json.JSONArray.getInt(JSONArray.java:357) > 07-05 16:04:48.457: W/System.err(1917): at > org.apache.cordova.CordovaChromeClient.onJsPrompt(CordovaChromeClient.java:214) > This exception occurs inside the `onJsPrompt()` method of > `CordovaChromeClient.java`, when the code tries to read the first element of > array. The json array comes from javascript and should be having 4 parameters > (bridge secret, service, action, callbackId), but it has only 3. The bridge > secret is not present. This call is made from the core plugin > `cordova/android/promptbasednativeapi` inside cordova.js. I guess the > cordova.js which comes with the cordova download from official cordova site > is not correct? I need to know how to pass the bridge secret from js to java. > Can someone help me? -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-7081) Issue when Cordova upgrade from 2.9 to 3.5
[ https://issues.apache.org/jira/browse/CB-7081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053130#comment-14053130 ] Rajesh Kumar commented on CB-7081: -- Yes i checked. The version of cordova.js is 3.5 as mentioned in line var CORDOVA_JS_BUILD_LABEL = '3.5.0'; > Issue when Cordova upgrade from 2.9 to 3.5 > -- > > Key: CB-7081 > URL: https://issues.apache.org/jira/browse/CB-7081 > Project: Apache Cordova > Issue Type: Bug > Components: Android, CordovaJS >Affects Versions: 3.5.0 >Reporter: Rajesh Kumar > > I recently upgraded my cordova app from v2.9 to v3.5. When I start my app, I > see a JSONException in the logcat console as below: > 07-05 16:04:48.457: W/System.err(1917): org.json.JSONException: Value App > at 0 of type java.lang.String cannot be converted to int > 07-05 16:04:48.457: W/System.err(1917): at > org.json.JSON.typeMismatch(JSON.java:100) > 07-05 16:04:48.457: W/System.err(1917): at > org.json.JSONArray.getInt(JSONArray.java:357) > 07-05 16:04:48.457: W/System.err(1917): at > org.apache.cordova.CordovaChromeClient.onJsPrompt(CordovaChromeClient.java:214) > This exception occurs inside the `onJsPrompt()` method of > `CordovaChromeClient.java`, when the code tries to read the first element of > array. The json array comes from javascript and should be having 4 parameters > (bridge secret, service, action, callbackId), but it has only 3. The bridge > secret is not present. This call is made from the core plugin > `cordova/android/promptbasednativeapi` inside cordova.js. I guess the > cordova.js which comes with the cordova download from official cordova site > is not correct? I need to know how to pass the bridge secret from js to java. > Can someone help me? -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-7081) Issue when Cordova upgrade from 2.9 to 3.5
[ https://issues.apache.org/jira/browse/CB-7081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053108#comment-14053108 ] Andrew Grieve commented on CB-7081: --- The bridge secret thing was only just added and is not present in 3.5.0. I'd double check that the version of cordova.js that you're using is marked as 3.5.0. The version should be present in the first few lines of the file. > Issue when Cordova upgrade from 2.9 to 3.5 > -- > > Key: CB-7081 > URL: https://issues.apache.org/jira/browse/CB-7081 > Project: Apache Cordova > Issue Type: Bug > Components: Android, CordovaJS >Affects Versions: 3.5.0 >Reporter: Rajesh Kumar > > I recently upgraded my cordova app from v2.9 to v3.5. When I start my app, I > see a JSONException in the logcat console as below: > 07-05 16:04:48.457: W/System.err(1917): org.json.JSONException: Value App > at 0 of type java.lang.String cannot be converted to int > 07-05 16:04:48.457: W/System.err(1917): at > org.json.JSON.typeMismatch(JSON.java:100) > 07-05 16:04:48.457: W/System.err(1917): at > org.json.JSONArray.getInt(JSONArray.java:357) > 07-05 16:04:48.457: W/System.err(1917): at > org.apache.cordova.CordovaChromeClient.onJsPrompt(CordovaChromeClient.java:214) > This exception occurs inside the `onJsPrompt()` method of > `CordovaChromeClient.java`, when the code tries to read the first element of > array. The json array comes from javascript and should be having 4 parameters > (bridge secret, service, action, callbackId), but it has only 3. The bridge > secret is not present. This call is made from the core plugin > `cordova/android/promptbasednativeapi` inside cordova.js. I guess the > cordova.js which comes with the cordova download from official cordova site > is not correct? I need to know how to pass the bridge secret from js to java. > Can someone help me? -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Resolved] (CB-7080) App resume broken when app is launched from Play Store or cordova CLI
[ https://issues.apache.org/jira/browse/CB-7080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-7080. --- Resolution: Duplicate This is definitely a confusing bug. I do believe it's now fixed though (but not fixed-by-default for upgraded projects) in 3.5.0. Refer to CB-6048. > App resume broken when app is launched from Play Store or cordova CLI > - > > Key: CB-7080 > URL: https://issues.apache.org/jira/browse/CB-7080 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Affects Versions: 3.5.0 > Environment: Android 4.4 >Reporter: Mike Hayes > > There is a long lasting issue related to Android activities being launched a > second time in certain scenarios, this causes issues in Cordova apps (Cordova > events do not get fired). > Bug is reported at Android here: > https://code.google.com/p/android/issues/detail?id=26658 > https://code.google.com/p/android/issues/detail?id=2373 > Some further discussion in the Phonegap boards here: > https://groups.google.com/forum/#!topic/phonegap/F06WJZl12NI > and a workaround here: > http://stackoverflow.com/questions/4341600/how-to-prevent-multiple-instances-of-an-activity-when-it-is-launched-with-differ/7748416#7748416 > Steps to reproduce: > 1) Install and launch app via "cordova run" or from the Play Store > 2) Tap home button > 3) Tap app icon to resume app > 4) Second activity is launched, no "resume" or "deviceready" events are > fired. As such the app cannot continue to run as we're waiting on these > events to fire first. > This is a long standing issue and whilst it looks like there will be no fix > in Android, it seems it can be fixed using the workaround from the Cordova > side of things. I'm quite astounded that this issue has not been reported > before. > There seems to be a loosely related issue here: > https://issues.apache.org/jira/browse/CB-3949 > As it stands, on first install from the Play Store, once the user has > finished using the app and decides to go back to it, the app will appear > frozen, since the deviceready event does not fire. The user must kill the app > and start it again but most would not consider doing this before uninstalling > the app and forgetting about it. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CB-7081) Issue when Cordova upgrade from 2.9 to 3.5
Rajesh Kumar created CB-7081: Summary: Issue when Cordova upgrade from 2.9 to 3.5 Key: CB-7081 URL: https://issues.apache.org/jira/browse/CB-7081 Project: Apache Cordova Issue Type: Bug Components: Android, CordovaJS Affects Versions: 3.5.0 Reporter: Rajesh Kumar I recently upgraded my cordova app from v2.9 to v3.5. When I start my app, I see a JSONException in the logcat console as below: 07-05 16:04:48.457: W/System.err(1917): org.json.JSONException: Value App at 0 of type java.lang.String cannot be converted to int 07-05 16:04:48.457: W/System.err(1917): at org.json.JSON.typeMismatch(JSON.java:100) 07-05 16:04:48.457: W/System.err(1917): at org.json.JSONArray.getInt(JSONArray.java:357) 07-05 16:04:48.457: W/System.err(1917): at org.apache.cordova.CordovaChromeClient.onJsPrompt(CordovaChromeClient.java:214) This exception occurs inside the `onJsPrompt()` method of `CordovaChromeClient.java`, when the code tries to read the first element of array. The json array comes from javascript and should be having 4 parameters (bridge secret, service, action, callbackId), but it has only 3. The bridge secret is not present. This call is made from the core plugin `cordova/android/promptbasednativeapi` inside cordova.js. I guess the cordova.js which comes with the cordova download from official cordova site is not correct? I need to know how to pass the bridge secret from js to java. Can someone help me? -- This message was sent by Atlassian JIRA (v6.2#6252)