[jira] [Updated] (CB-12161) lockOrientation undefined on IOS
[ https://issues.apache.org/jira/browse/CB-12161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12161: -- Environment: iOS Component/s: (was: iOS) Plugin Screen Orientation > lockOrientation undefined on IOS > > > Key: CB-12161 > URL: https://issues.apache.org/jira/browse/CB-12161 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Screen Orientation > Environment: iOS >Reporter: Jonathan Graci > > good morning, > I have a problem with the plugin "Screen orientation". > I want to dynamically set the orientation of my app. So use this plugin and > in particular the methods so "lockOrientation" and "unlockOrientation". > On android works all right. > On ios I have problems. When calling methods is returned to me > "lockorientation is not function." Beyond that is returned to me "undefined" > if I do "alert (screen.orientation)". > You can help me? > Thank you -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12499) UWP : Dependent external libraries specified as resource-file not being referenced in Release mode.
[ https://issues.apache.org/jira/browse/CB-12499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886569#comment-15886569 ] ASF GitHub Bot commented on CB-12499: - Github user codecov-io commented on the issue: https://github.com/apache/cordova-windows/pull/228 # [Codecov](https://codecov.io/gh/apache/cordova-windows/pull/228?src=pr=h1) Report > Merging [#228](https://codecov.io/gh/apache/cordova-windows/pull/228?src=pr=desc) into [master](https://codecov.io/gh/apache/cordova-windows/commit/a4ab7ccb59516a3d3d937b7b708d9bd4cac80159?src=pr=desc) will **not change** coverage. > The diff coverage is `n/a`. ```diff @@ Coverage Diff @@ ## master #228 +/- ## === Coverage 76.91% 76.91% === Files 16 16 Lines Branches 439 439 === Hits 1709 1709 Misses513 513 ``` -- [Continue to review full report at Codecov](https://codecov.io/gh/apache/cordova-windows/pull/228?src=pr=continue). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/apache/cordova-windows/pull/228?src=pr=footer). Last update [a4ab7cc...d5ddcb4](https://codecov.io/gh/apache/cordova-windows/compare/a4ab7ccb59516a3d3d937b7b708d9bd4cac80159...d5ddcb4c4f546d2aa7707b57b26c5143ff42c91f?el=footer=pr=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments). > UWP : Dependent external libraries specified as resource-file not being > referenced in Release mode. > > > Key: CB-12499 > URL: https://issues.apache.org/jira/browse/CB-12499 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Affects Versions: 5.0.0, 4.4.2, 4.4.3 > Environment: Cordova Windows >Reporter: Srutha Keerthi > Fix For: 5.0.0, 4.4.2, 4.4.3 > > -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-11949) target="_blank" for links within whitelist doesn't open
[ https://issues.apache.org/jira/browse/CB-11949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-11949. --- Resolution: Cannot Reproduce > target="_blank" for links within whitelist doesn't open > --- > > Key: CB-11949 > URL: https://issues.apache.org/jira/browse/CB-11949 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 4.2.0 >Reporter: Håkon Nilsen >Assignee: Shazron Abdullah > > Links with target="_blank" will not open for URL's that are in whitelist. > I.e. with these settings in config.xml: > https://*.apache.org; /> > https://*; /> > And HTML: > https://www.apache.org; target="_blank">Test link > Will not open. This ends up in CDVIntentAndNavigationFilter.m in > shouldOverrideLoadWithRequest which simply returns YES. It should, however, > open these cases as the case for > "CDVIntentAndNavigationFilterValueIntentAllowed". -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-11236) Unit test warnings on ios
[ https://issues.apache.org/jira/browse/CB-11236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-11236: -- Priority: Minor (was: Major) > Unit test warnings on ios > - > > Key: CB-11236 > URL: https://issues.apache.org/jira/browse/CB-11236 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Shazron Abdullah >Priority: Minor > Labels: triaged > > {code} > Unknown target-device preference value: "default". > Unknown target-device preference value: "default". > Unknown target-device preference value: "default". > .Unknown target-device preference value: "portrait". > Unknown target-device preference value: "portrait". > Unknown target-device preference value: "portrait". > .Unknown target-device preference value: "landscape". > Unknown target-device preference value: "landscape". > Unknown target-device preference value: "landscape". > .Unknown target-device preference value: "all". > Unknown target-device preference value: "all". > Unknown target-device preference value: "all". > .Unsupported orientation: some-custom-orientation. Defaulting to value: > default > Unsupported orientation: some-custom-orientation. Defaulting to value: default > Unsupported orientation: some-custom-orientation. Defaulting to value: default > Unknown target-device preference value: "some-custom-orientation". > Unknown target-device preference value: "some-custom-orientation". > Unknown target-device preference value: "some-custom-orientation". > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-11114) iOS Control center
[ https://issues.apache.org/jira/browse/CB-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-4. --- Resolution: Cannot Reproduce Thanks for the screenshots. I tried this with a new blank project that Cordova creates and I couldn't reproduce the error. Please re-open if you have a sample project that illustrates the error, thanks. > iOS Control center > --- > > Key: CB-4 > URL: https://issues.apache.org/jira/browse/CB-4 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Felipe > Labels: cordova-6.0.0, ionic, ios > Attachments: Simulator Screen Shot Apr 19, 2016, 14.14.27.png, > Simulator Screen Shot Apr 19, 2016, 14.14.46.png > > > Developing an iOS app I found that when the control center is displayed, my > application views turned to white. > Maybe it's not a big issue, but i couldn't find any help about this specific > situation. > Any ideas how can i solve this? > Attachments: > - 14.14.27 screen shot of the error > - 14.14.46 screen shot of the application -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-11451) localStorage seems to get empty when the app is opened from the suspended state
[ https://issues.apache.org/jira/browse/CB-11451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-11451. --- Resolution: Incomplete > localStorage seems to get empty when the app is opened from the suspended > state > --- > > Key: CB-11451 > URL: https://issues.apache.org/jira/browse/CB-11451 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 5.4.1 > Environment: iPhone 5s or greater, not sure about the older versions >Reporter: Muhammad Mehdi Raza >Assignee: Shazron Abdullah > Labels: IOS, IOS-Suspended-State, localstorage > > I'm using a plugin that gets location updates in the background mode. On > Android and IOS Simulator, everything works fine. But in iPhone 5s and newer > versions, when the app is in background state, I can get updates of location, > but after the app is moved from background to suspended state, and when the > OS sends location update after crossing particular coordinates and tries to > execute callback in which localStorage is used, my app's localStorage gets > empty. And as it do not gets api-token from the localStorage, so my app logs > out. > NOTE: The localStorage does not get empty permanently, because when I force > quit the app and reopen it, the localStorage data is restored and the app > works fine again. > I've been facing this issue for last 6 months and tried each and every thing > to fix, but no fix worked. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-11210) StatusBar Plugin 2.1.0 ignoring container size
[ https://issues.apache.org/jira/browse/CB-11210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-11210: -- Environment: iOS Component/s: (was: iOS) Plugin Statusbar > StatusBar Plugin 2.1.0 ignoring container size > -- > > Key: CB-11210 > URL: https://issues.apache.org/jira/browse/CB-11210 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Statusbar > Environment: iOS >Reporter: Sergey Shnip > > The problem appears when cordova view placed into UIView. The problem is that > cordova view size changed to app window bounds but not to its superview. > This may happen in hybrid applications where cordova view is not a single > full screen view. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-2669) Support for mutual SSL (on Ajax calls)
[ https://issues.apache.org/jira/browse/CB-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886563#comment-15886563 ] Shazron Abdullah commented on CB-2669: -- ping [~tibx17] > Support for mutual SSL (on Ajax calls) > -- > > Key: CB-2669 > URL: https://issues.apache.org/jira/browse/CB-2669 > Project: Apache Cordova > Issue Type: New Feature > Components: iOS >Affects Versions: 2.5.0 > Environment: In many situations, two-factor authentication is > mandatory. >Reporter: Jamie Brooks > Labels: SSL, clientcertificate, core, mutualSSL, two-factor > Original Estimate: 48h > Remaining Estimate: 48h > > 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 message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-11476) iOS app audio keeps playing in background while paused
[ https://issues.apache.org/jira/browse/CB-11476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-11476. --- Resolution: Incomplete > iOS app audio keeps playing in background while paused > -- > > Key: CB-11476 > URL: https://issues.apache.org/jira/browse/CB-11476 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 3.5.0 > Environment: Intel XDK, Cordova, iOS >Reporter: Jonathan Bencomo >Assignee: Shazron Abdullah > Labels: documentation > Original Estimate: 168h > Remaining Estimate: 168h > > Hello, > I got the following line of code from an older issue: > (code used in the html index file) > {code} > "// register these after deviceready event fires > document.addEventListener("resign", onResign, false); > document.addEventListener("active", onActive, false); > function onResign() { > console.log("on resign"); > } > function onActive() { > console.log("on active"); > }" > {code} > From this issue’s link: > https://issues.apache.org/jira/browse/CB-115?jql=project%20%3D%20CB%20AND%20text%20~%20pause > That code is being used to pause the app while the notification centre, or > control centre are displayed – it is also used anytime there is a > notification received on the screen (like a low battery indication or a phone > call). The code works perfectly, except that it does not stop the audio while > pausing the game. The audio keeps playing in background, while the game is > paused. > Also, now that I have introduced this code - my game behaves differently when > I resume it after a while / before using the mentioned code I could leave the > game in the background for hours and then return to it and the game was going > to be exactly where I left it. Now with the new code, when I return to the > game after minutes of being idle I see the game where I left it but for like > 3 seconds only and then the game restarts. Is there a relation between the > code used and this bug? I believe there is because that was not happening > before using it, > Many thanks in advance for your help, > I am using an iPhone 6S as a test device and Intel XDK 3400 to build the game, > Also: I have raised this issue to the INTEL team with no reply so far, > https://software.intel.com/en-us/forums/intel-xdk/topic/643682 > BR -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-9978) Error accessing UIWindow when debugging on device
[ https://issues.apache.org/jira/browse/CB-9978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-9978. -- Resolution: Won't Fix > Error accessing UIWindow when debugging on device > - > > Key: CB-9978 > URL: https://issues.apache.org/jira/browse/CB-9978 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 5.1.1 > Environment: OS X 10.10.5, Xcode 7.1 & Xcode 6.4, iOS 8+, iPod Touch > 6th Gen >Reporter: Dylan Bettermann > Labels: ios, uiwindow > Attachments: WindowTest.zip > > > I added iOS code that takes a screenshot of everything in the UIWindow. This > functionality works fine when running in the simulator, but when I run the > functionality on the device I get some odd behavior. > When I run on the simulator I am able to convert the UIWindow to a UIImage. I > am also able to preview the UIWindow in the Xcode debugger. When running on a > device the creation of the UIImage fails. I'm unable to see a preview of the > UIWindow in the Xcode debugger. > Sorry if my description of the error was not clear. Let me know if I can > provide more detail. > Thanks! -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-9974) openDatabaseSync() not working in web worker Cordova iOS 9
[ https://issues.apache.org/jira/browse/CB-9974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-9974. -- Resolution: Won't Fix WebSQL implementation, and its bugs, are the domain of Apple. File an issue at https://bugs.webkit.org/ > openDatabaseSync() not working in web worker Cordova iOS 9 > -- > > Key: CB-9974 > URL: https://issues.apache.org/jira/browse/CB-9974 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 3.9.0 >Reporter: Zam Abdul Vahid > Labels: easyfix > > Cordova cli version: 5.3.3 > Cordova iOS platform version: 3.9.1 > Xcode version: 7 - iOS 9 > ~ worker.js > var db = openDatabaseSync("MyDb", "1.0", "My Description", 50*1024*1024); > When i try to create a database from within a web worker its throwing a js > error as below. > ~output > [Error] ReferenceError: Can't find variable: openDatabaseSync (worker.js, > line 7) > But the same code working in iOS 8. Any help would be much appreciated. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-8970) For app launch, remove usage of global js function handleOpenURL, and send an event instead
[ https://issues.apache.org/jira/browse/CB-8970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-8970: - Priority: Minor (was: Major) > For app launch, remove usage of global js function handleOpenURL, and send an > event instead > --- > > Key: CB-8970 > URL: https://issues.apache.org/jira/browse/CB-8970 > Project: Apache Cordova > Issue Type: Sub-task > Components: iOS >Reporter: Shazron Abdullah >Assignee: Jesse MacFadyen >Priority: Minor > Labels: cordova-ios-5.0.x > > Change it here: > https://github.com/apache/cordova-ios/blob/4.0.x/CordovaLib/Classes/Private/Plugins/CDVHandleOpenURL/CDVHandleOpenURL.m#L62 > Event name to be determined. > Update the upgrade guide in /guides. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-12121) Adding ios 4.3.0 by path or by version number fails
[ https://issues.apache.org/jira/browse/CB-12121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-12121. --- Resolution: Duplicate Duping to CB-11803 > Adding ios 4.3.0 by path or by version number fails > --- > > Key: CB-12121 > URL: https://issues.apache.org/jira/browse/CB-12121 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 4.3.0 > Environment: Cordova 6.4.0 > Mac OS X 10.11.6 >Reporter: Dennis Torres >Priority: Critical > > The following cli command succeeds: > *cordova platforms add ios* > The following cli commands fail: > *cordova platforms add ios@4.3.0* > *cordova platforms add node_modules/cordova-ios* > and with the following error: > *Error during processing of action! Attempting to revert...* > *Error: Uh oh!* > *Cannot find module '/Users/psirenny/Dropbox/Private/dev/blrrt-web- > app/build/cordova/platforms/ios/pods.json'* > It seems like the error occurs within the preparePlatforms function. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-12290) Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode
[ https://issues.apache.org/jira/browse/CB-12290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12290: -- Fix Version/s: cordova-ios@4.4.0 > Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode > -- > > Key: CB-12290 > URL: https://issues.apache.org/jira/browse/CB-12290 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 4.3.0 >Reporter: Bharath Hariharan >Assignee: Shazron Abdullah >Priority: Critical > Fix For: cordova-ios@4.4.0 > > > My Cordova plugin includes a few custom framework binaries. I am trying to > add them to the plugin as described here - > https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#framework. > For example: > {code} > /> > {code} > I then use the Cordova CLI (6.4.0) to generate a Cordova app and add my > plugin. The framework is added correctly to the dependencies in the project > and is linked correctly as well. As a result, compilation works fine. > However, when I run the app, it complains with the following error message: > {code} > dyld: Library not loaded: > @rpath/SalesforceAnalytics.framework/SalesforceAnalytics > Referenced from: > /Users/bhariharan/Library/Developer/CoreSimulator/Devices/7FE0CFC8-CFFD-432B-A4BF-66E552B7D1A8/data/Containers/Bundle/Application/E2D414CF-541B-4440-9FD1-EA65414DAAA8/Test8.app/Test8 > Reason: image not found > {code} > Basically, the issue is that the custom frameworks I added in plugin.xml are > not added to the 'Embedded Binaries' section, and I can't seem to find a way > to do that via plugin.xml. > A custom framework inclusion should automatically be added to the 'Embedded > Binaries' section of the generated app in Xcode. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-12290) Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode
[ https://issues.apache.org/jira/browse/CB-12290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12290: -- Priority: Major (was: Critical) > Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode > -- > > Key: CB-12290 > URL: https://issues.apache.org/jira/browse/CB-12290 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 4.3.0 >Reporter: Bharath Hariharan >Assignee: Shazron Abdullah > Fix For: cordova-ios@4.4.0 > > > My Cordova plugin includes a few custom framework binaries. I am trying to > add them to the plugin as described here - > https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#framework. > For example: > {code} > /> > {code} > I then use the Cordova CLI (6.4.0) to generate a Cordova app and add my > plugin. The framework is added correctly to the dependencies in the project > and is linked correctly as well. As a result, compilation works fine. > However, when I run the app, it complains with the following error message: > {code} > dyld: Library not loaded: > @rpath/SalesforceAnalytics.framework/SalesforceAnalytics > Referenced from: > /Users/bhariharan/Library/Developer/CoreSimulator/Devices/7FE0CFC8-CFFD-432B-A4BF-66E552B7D1A8/data/Containers/Bundle/Application/E2D414CF-541B-4440-9FD1-EA65414DAAA8/Test8.app/Test8 > Reason: image not found > {code} > Basically, the issue is that the custom frameworks I added in plugin.xml are > not added to the 'Embedded Binaries' section, and I can't seem to find a way > to do that via plugin.xml. > A custom framework inclusion should automatically be added to the 'Embedded > Binaries' section of the generated app in Xcode. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-12290) Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode
[ https://issues.apache.org/jira/browse/CB-12290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12290: -- Component/s: (was: Plugins) (was: CLI) > Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode > -- > > Key: CB-12290 > URL: https://issues.apache.org/jira/browse/CB-12290 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 4.3.0 >Reporter: Bharath Hariharan >Assignee: Shazron Abdullah >Priority: Critical > Fix For: cordova-ios@4.4.0 > > > My Cordova plugin includes a few custom framework binaries. I am trying to > add them to the plugin as described here - > https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#framework. > For example: > {code} > /> > {code} > I then use the Cordova CLI (6.4.0) to generate a Cordova app and add my > plugin. The framework is added correctly to the dependencies in the project > and is linked correctly as well. As a result, compilation works fine. > However, when I run the app, it complains with the following error message: > {code} > dyld: Library not loaded: > @rpath/SalesforceAnalytics.framework/SalesforceAnalytics > Referenced from: > /Users/bhariharan/Library/Developer/CoreSimulator/Devices/7FE0CFC8-CFFD-432B-A4BF-66E552B7D1A8/data/Containers/Bundle/Application/E2D414CF-541B-4440-9FD1-EA65414DAAA8/Test8.app/Test8 > Reason: image not found > {code} > Basically, the issue is that the custom frameworks I added in plugin.xml are > not added to the 'Embedded Binaries' section, and I can't seem to find a way > to do that via plugin.xml. > A custom framework inclusion should automatically be added to the 'Embedded > Binaries' section of the generated app in Xcode. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-12290) Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode
[ https://issues.apache.org/jira/browse/CB-12290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12290: -- Description: My Cordova plugin includes a few custom framework binaries. I am trying to add them to the plugin as described here - https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#framework. For example: {code} {code} I then use the Cordova CLI (6.4.0) to generate a Cordova app and add my plugin. The framework is added correctly to the dependencies in the project and is linked correctly as well. As a result, compilation works fine. However, when I run the app, it complains with the following error message: {code} dyld: Library not loaded: @rpath/SalesforceAnalytics.framework/SalesforceAnalytics Referenced from: /Users/bhariharan/Library/Developer/CoreSimulator/Devices/7FE0CFC8-CFFD-432B-A4BF-66E552B7D1A8/data/Containers/Bundle/Application/E2D414CF-541B-4440-9FD1-EA65414DAAA8/Test8.app/Test8 Reason: image not found {code} Basically, the issue is that the custom frameworks I added in plugin.xml are not added to the 'Embedded Binaries' section, and I can't seem to find a way to do that via plugin.xml. A custom framework inclusion should automatically be added to the 'Embedded Binaries' section of the generated app in Xcode. was: My Cordova plugin includes a few custom framework binaries. I am trying to add them to the plugin as described here - https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#framework. For example: I then use the Cordova CLI (6.4.0) to generate a Cordova app and add my plugin. The framework is added correctly to the dependencies in the project and is linked correctly as well. As a result, compilation works fine. However, when I run the app, it complains with the following error message: dyld: Library not loaded: @rpath/SalesforceAnalytics.framework/SalesforceAnalytics Referenced from: /Users/bhariharan/Library/Developer/CoreSimulator/Devices/7FE0CFC8-CFFD-432B-A4BF-66E552B7D1A8/data/Containers/Bundle/Application/E2D414CF-541B-4440-9FD1-EA65414DAAA8/Test8.app/Test8 Reason: image not found Basically, the issue is that the custom frameworks I added in plugin.xml are not added to the 'Embedded Binaries' section, and I can't seem to find a way to do that via plugin.xml. A custom framework inclusion should automatically be added to the 'Embedded Binaries' section of the generated app in Xcode. > Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode > -- > > Key: CB-12290 > URL: https://issues.apache.org/jira/browse/CB-12290 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS, Plugins >Affects Versions: 4.3.0 >Reporter: Bharath Hariharan >Priority: Critical > > My Cordova plugin includes a few custom framework binaries. I am trying to > add them to the plugin as described here - > https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#framework. > For example: > {code} > /> > {code} > I then use the Cordova CLI (6.4.0) to generate a Cordova app and add my > plugin. The framework is added correctly to the dependencies in the project > and is linked correctly as well. As a result, compilation works fine. > However, when I run the app, it complains with the following error message: > {code} > dyld: Library not loaded: > @rpath/SalesforceAnalytics.framework/SalesforceAnalytics > Referenced from: > /Users/bhariharan/Library/Developer/CoreSimulator/Devices/7FE0CFC8-CFFD-432B-A4BF-66E552B7D1A8/data/Containers/Bundle/Application/E2D414CF-541B-4440-9FD1-EA65414DAAA8/Test8.app/Test8 > Reason: image not found > {code} > Basically, the issue is that the custom frameworks I added in plugin.xml are > not added to the 'Embedded Binaries' section, and I can't seem to find a way > to do that via plugin.xml. > A custom framework inclusion should automatically be added to the 'Embedded > Binaries' section of the generated app in Xcode. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-12268) Cordova build Error Code 70
[ https://issues.apache.org/jira/browse/CB-12268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-12268. --- Resolution: Incomplete Please provide the information asked. Re-open when you have provided the info. > Cordova build Error Code 70 > --- > > Key: CB-12268 > URL: https://issues.apache.org/jira/browse/CB-12268 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS >Affects Versions: 6.3.2 > Environment: Mac OS X ElCapitan > Xcode 8.1 >Reporter: Rahul Pandey >Priority: Critical > Original Estimate: 24h > Remaining Estimate: 24h > > Unable to build the Xcode Project using command line. CLI is not able to find > the simulator - > {code} > xcodebuild: error: Unable to find a destination matching the provided > destination specifier: > { platform:iOS Simulator, OS:latest, name:iPhone 5s } > The requested device could not be found because no available devices matched > the request. > Available destinations for the "Test" scheme: > { platform:iOS Simulator, id:181675C1-B5A0-4728-A0B0-055D02C04A74, OS:9.2, > name:iPad 2 } > { platform:iOS Simulator, id:35F6D0AC-60F0-4E31-8BEF-8675F8569983, OS:9.2, > name:iPad Air } > { platform:iOS Simulator, id:FBF2E6EC-FA90-476A-9F64-E72DB7F61F78, OS:10.0, > name:iPad Air } > { platform:iOS Simulator, id:934F42E1-2CE3-4B94-9C39-57167507EA24, OS:9.2, > name:iPad Air 2 } > { platform:iOS Simulator, id:C48991BC-02B7-49D3-8E67-474A3AB0F08B, OS:10.0, > name:iPad Air 2 } > { platform:iOS Simulator, id:2C76CA4C-D520-4D43-838E-AB1CCB1646F6, OS:9.2, > name:iPad Pro } > { platform:iOS Simulator, id:F3BA6133-F186-4B9E-83C6-FCFA09DB425E, OS:10.0, > name:iPad Pro (9.7 inch) } > { platform:iOS Simulator, id:6E7E6C2A-6EA0-40D5-B271-9C467B141795, OS:10.0, > name:iPad Pro (12.9 inch) } > { platform:iOS Simulator, id:12E301B6-ED92-4980-B4FE-12EC36C9D20F, OS:9.2, > name:iPad Retina } > { platform:iOS Simulator, id:0439C538-5BE1-4977-9A4F-F1CC6BD2AFD9, OS:10.0, > name:iPad Retina } > { platform:iOS Simulator, id:7690E1D7-531B-44E5-9BF3-D3964BF778E8, OS:9.2, > name:iPhone 4s } > { platform:iOS Simulator, id:74973E4E-FA23-4E67-AAA7-C3BC7C0C3051, OS:9.2, > name:iPhone 5 } > { platform:iOS Simulator, id:ACF52894-3BEC-48F7-867E-2280292D3D95, OS:10.0, > name:iPhone 5 } > { platform:iOS Simulator, id:61ABFF48-8C23-4860-98F1-2D1CA73E4838, OS:9.2, > name:iPhone 5s } > { platform:iOS Simulator, id:FB8E4A4D-84BC-48B1-B36D-709A9B0A9C2D, OS:10.0, > name:iPhone 5s } > { platform:iOS Simulator, id:7450DA0B-A46B-4BA1-87F6-94AA9B60DE91, OS:9.2, > name:iPhone 6 } > { platform:iOS Simulator, id:8D403246-1557-482E-B033-C9F777A4C7CB, OS:10.0, > name:iPhone 6 } > { platform:iOS Simulator, id:7DBEC86F-8700-4812-8883-A80AD16C6BD7, OS:9.2, > name:iPhone 6 Plus } > Error: Error code 70 for command: xcodebuild with args: > -xcconfig,/Users/rahul/Desktop/demo/test/platforms/ios/cordova/build-debug.xcconfig,-workspace,test.xcworkspace,-scheme,test,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS > Simulator,name=iPhone > 5s,build,CONFIGURATION_BUILD_DIR=/Users/rahul/Desktop/demo/test/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/rahul/Desktop/demo/test/platforms/ios/build/sharedpch > {code} > Cordova cli version > {code} > elcapitan07:test rahul$ cordova -v > 6.4.0 > elcapitan07:test rahul$ > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-12290) Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode
[ https://issues.apache.org/jira/browse/CB-12290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-12290: - Assignee: Shazron Abdullah > Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode > -- > > Key: CB-12290 > URL: https://issues.apache.org/jira/browse/CB-12290 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS, Plugins >Affects Versions: 4.3.0 >Reporter: Bharath Hariharan >Assignee: Shazron Abdullah >Priority: Critical > > My Cordova plugin includes a few custom framework binaries. I am trying to > add them to the plugin as described here - > https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#framework. > For example: > {code} > /> > {code} > I then use the Cordova CLI (6.4.0) to generate a Cordova app and add my > plugin. The framework is added correctly to the dependencies in the project > and is linked correctly as well. As a result, compilation works fine. > However, when I run the app, it complains with the following error message: > {code} > dyld: Library not loaded: > @rpath/SalesforceAnalytics.framework/SalesforceAnalytics > Referenced from: > /Users/bhariharan/Library/Developer/CoreSimulator/Devices/7FE0CFC8-CFFD-432B-A4BF-66E552B7D1A8/data/Containers/Bundle/Application/E2D414CF-541B-4440-9FD1-EA65414DAAA8/Test8.app/Test8 > Reason: image not found > {code} > Basically, the issue is that the custom frameworks I added in plugin.xml are > not added to the 'Embedded Binaries' section, and I can't seem to find a way > to do that via plugin.xml. > A custom framework inclusion should automatically be added to the 'Embedded > Binaries' section of the generated app in Xcode. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-12253) Cordova app crashes in ios after a few minutes of starting app without any errors
[ https://issues.apache.org/jira/browse/CB-12253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-12253. --- Resolution: Incomplete Please provide a crash log when it happens again, and re-open the issue. Crash issues are impossible to pinpoint without the log giving a clue. > Cordova app crashes in ios after a few minutes of starting app without any > errors > - > > Key: CB-12253 > URL: https://issues.apache.org/jira/browse/CB-12253 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Vahid Najafi >Priority: Critical > Labels: crash, ios, patch, performance > Original Estimate: 168h > Remaining Estimate: 168h > > Hi. I developed an app with cordova and ionic. Everything work fine in > android and browser. But in *ios* , there is a problem. When I lunch the app > (in ios 9.3 and ios 10) , after using about a few minutes, *the app crashes > and closes itself*. > I use gapDebug for errors, but there is no errors. > Ionic info: > {quote} > Cordova CLI: 6.4.0 > Gulp version: CLI version 3.9.1 > Gulp local: > Ionic Framework Version: 1.3.1 > Ionic CLI Version: 2.0.0 > Ionic App Lib Version: 2.0.0-beta.20 > OS: Windows 7 SP1 > Node Version: v4.5.0 > {quote} > cordova platform ls: > {quote} > Installed platforms: > android 4.1.1 > ios 4.3.1 > Available platforms: > amazon-fireos ~3.6.3 (deprecated) > blackberry10 ~3.8.0 > browser ~4.1.0 > firefoxos ~3.6.3 > webos ~3.7.0 > windows ~4.4.0 > wp8 ~3.8.2 (deprecated) > {quote} > cordova plugin ls: > {quote} > com.lampa.startapp 0.1.4 "startApp" > cordova-plugin-camera 2.2.0 "Camera" > cordova-plugin-compat 1.0.0 "Compat" > cordova-plugin-console 1.0.3 "Console" > cordova-plugin-device 1.1.2 "Device" > cordova-plugin-file 4.3.0 "File" > cordova-plugin-file-transfer 1.6.0 "File Transfer" > cordova-plugin-flashlight 3.0.0 "Flashlight" > cordova-plugin-image-picker 1.1.1 "ImagePicker" > cordova-plugin-inappbrowser 1.5.0 "InAppBrowser" > cordova-plugin-network-information 1.3.0 "Network Information" > cordova-plugin-splashscreen 3.1.0 "Splashscreen" > cordova-plugin-statusbar 2.1.3 "StatusBar" > cordova-plugin-whitelist 1.2.2 "Whitelist" > cordova-plugin-x-socialsharing 5.1.3 "SocialSharing" > cordova-plugin-x-toast 2.5.2 "Toast" > ionic-plugin-keyboard 2.2.1 "Keyboard" > {quote} > Any idea? -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12009) target attribute ignored on iOS when installing a Cordova plugin
[ https://issues.apache.org/jira/browse/CB-12009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886547#comment-15886547 ] Shazron Abdullah commented on CB-12009: --- We should take into account the Resources folder for backwards compat. > target attribute ignored on iOS when installing a Cordova > plugin > > > Key: CB-12009 > URL: https://issues.apache.org/jira/browse/CB-12009 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 6.3.0, 6.3.1 >Reporter: Mark Veenstra >Priority: Critical > Fix For: cordova-ios@4.4.1 > > > In the Cordova plugin.xml documentation it is stated that the > {{}} tag can have an attribute {{target}}. See next link: > https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#resource-file > But when I try to use this target attribute it is just ignored and all > {{}} configurations are added to the {{Resources}} directory > on iOS. > It seems to me that the {{cordova-lib}} code just ignores this {{target}} > attribute, see next link: > https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman/platforms/ios.js#L165 > The code grabbed from that link: > {{destFile = path.resolve(project.resources_dir, path.basename(src));}} > Here you can see the destFile is hardcoded for the resources_dir. > We are trying to add push notification sounds to the iOS {{Resources}} > directory as well as adding it to either the bundle root or > {{Library/Sounds}}. Because we have seen that since iOS 10 we need to put the > sounds files elsewhere then the {{Resources}} directory to get it work. See: > https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/TheNotificationPayload.html#//apple_ref/doc/uid/TP40008194-CH107-SW1 -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-12009) target attribute ignored on iOS when installing a Cordova plugin
[ https://issues.apache.org/jira/browse/CB-12009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12009: -- Fix Version/s: cordova-ios@4.4.1 > target attribute ignored on iOS when installing a Cordova > plugin > > > Key: CB-12009 > URL: https://issues.apache.org/jira/browse/CB-12009 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 6.3.0, 6.3.1 >Reporter: Mark Veenstra >Priority: Critical > Fix For: cordova-ios@4.4.1 > > > In the Cordova plugin.xml documentation it is stated that the > {{}} tag can have an attribute {{target}}. See next link: > https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#resource-file > But when I try to use this target attribute it is just ignored and all > {{}} configurations are added to the {{Resources}} directory > on iOS. > It seems to me that the {{cordova-lib}} code just ignores this {{target}} > attribute, see next link: > https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman/platforms/ios.js#L165 > The code grabbed from that link: > {{destFile = path.resolve(project.resources_dir, path.basename(src));}} > Here you can see the destFile is hardcoded for the resources_dir. > We are trying to add push notification sounds to the iOS {{Resources}} > directory as well as adding it to either the bundle root or > {{Library/Sounds}}. Because we have seen that since iOS 10 we need to put the > sounds files elsewhere then the {{Resources}} directory to get it work. See: > https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/TheNotificationPayload.html#//apple_ref/doc/uid/TP40008194-CH107-SW1 -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-12023) ERROR: Plugins not found on iOS9 and not loaded on iOS10
[ https://issues.apache.org/jira/browse/CB-12023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-12023. --- Resolution: Incomplete Requested information not provided. Re-open when the info requested is provided. > ERROR: Plugins not found on iOS9 and not loaded on iOS10 > > > Key: CB-12023 > URL: https://issues.apache.org/jira/browse/CB-12023 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 6.3.1 > Environment: xcode Version 8.0 (8A218a) with iOS SDK 10 > Cordova-iOS 4.2.1 >Reporter: Will Wang > > build app with Xcode and run. then the following message is shown on iOS 9: > 2016-10-15 23:32:56.975 MEGASTAR[567:285393] Apache Cordova native platform > version 4.2.1 is starting. > 2016-10-15 23:32:56.977 MEGASTAR[567:285393] Multi-tasking -> Device: YES, > App: YES > 2016-10-15 23:32:57.029 MEGASTAR[567:285393] Using UIWebView > 2016-10-15 23:32:57.033 MEGASTAR[567:285393] [CDVTimer][handleopenurl] > 0.133991ms > 2016-10-15 23:32:57.036 MEGASTAR[567:285393] > [CDVTimer][intentandnavigationfilter] 2.914965ms > 2016-10-15 23:32:57.036 MEGASTAR[567:285393] [CDVTimer][gesturehandler] > 0.102997ms > 2016-10-15 23:32:57.051 MEGASTAR[567:285393] [CDVTimer][localstorage] > 14.648020ms > 2016-10-15 23:32:57.051 MEGASTAR[567:285393] [CDVTimer][TotalPluginStartup] > 19.125998ms > 2016-10-15 23:32:57.278 MEGASTAR[567:285393] Resetting plugins due to page > load. > 2016-10-15 23:32:57.570 MEGASTAR[567:285393] Finished load of: > file:///var/containers/Bundle/Application/72B88263-6AE4-4BC0-A075-91A4249CA0DE/MEGASTAR.app/www/frame.html > 2016-10-15 23:32:57.664 MEGASTAR[567:285393] ERROR: Plugin 'File' not found, > or is not a CDVPlugin. Check your plugin mapping in config.xml. > 2016-10-15 23:32:57.664 MEGASTAR[567:285393] -[CDVCommandQueue > executePending] [Line 142] FAILED pluginJSON = > ["File1449337512","File","requestAllPaths",[]] > 2016-10-15 23:32:57.668 MEGASTAR[567:285393] ERROR: Plugin 'NetworkStatus' > not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. > 2016-10-15 23:32:57.668 MEGASTAR[567:285393] -[CDVCommandQueue > executePending] [Line 142] FAILED pluginJSON = > ["NetworkStatus1449337513","NetworkStatus","getConnectionInfo",[]] > 2016-10-15 23:32:57.668 MEGASTAR[567:285393] ERROR: Plugin 'StatusBar' not > found, or is not a CDVPlugin. Check your plugin mapping in config.xml. > 2016-10-15 23:32:57.668 MEGASTAR[567:285393] -[CDVCommandQueue > executePending] [Line 142] FAILED pluginJSON = > ["StatusBar1449337514","StatusBar","_ready",[]] > same project build and run on iOS 10 the following message is shown (Plugins > seem not loaded!) > 2016-10-15 23:41:52.762388 MEGASTAR[490:111329] Apache Cordova native > platform version 4.2.1 is starting. > 2016-10-15 23:41:52.763060 MEGASTAR[490:111329] Multi-tasking -> Device: YES, > App: YES > 2016-10-15 23:41:52.800311 MEGASTAR[490:111329] Using UIWebView > 2016-10-15 23:41:52.801432 MEGASTAR[490:111329] [CDVTimer][handleopenurl] > 0.054955ms > 2016-10-15 23:41:52.802806 MEGASTAR[490:111329] > [CDVTimer][intentandnavigationfilter] 1.329005ms > 2016-10-15 23:41:52.802926 MEGASTAR[490:111329] [CDVTimer][gesturehandler] > 0.051022ms > 2016-10-15 23:41:52.812646 MEGASTAR[490:111329] [CDVTimer][localstorage] > 9.667993ms > 2016-10-15 23:41:52.812681 MEGASTAR[490:111329] > [CDVTimer][TotalPluginStartup] 11.344969ms > 2016-10-15 23:41:53.019430 MEGASTAR[490:111329] Resetting plugins due to page > load. > 2016-10-15 23:41:53.184173 MEGASTAR[490:111329] Finished load of: > file:///var/containers/Bundle/Application/FDAA2F56-1D4A-4074-A9F7-F02304C352A3/MEGASTAR.app/www/frame.html > Plugins Version: > cordoba-plugin-file 4.3.0 > cordoba-plugin-network-information 1.3.0 > cordoba-plugin-statusbar 2.2.0 -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-12013) input caret position wrong when scaling iframe
[ https://issues.apache.org/jira/browse/CB-12013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12013: -- Priority: Major (was: Critical) > input caret position wrong when scaling iframe > -- > > Key: CB-12013 > URL: https://issues.apache.org/jira/browse/CB-12013 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 3.5.0 > Environment: iOS 10 on iPad 3 >Reporter: Pieter Biesemans > > When loading content through an iframe that is scaled or embedded in a scaled > page (through css transfrom:scale()) the caret position of the input is wrong. > We loaded a simple form through an iframe. This form is part of a > presentation, which is scaled down or up to fit the screen. When selecting an > input to input some data (be it a text input, number input, contenteditable > div, ...) the OS treats the input as if it is in the location it was before > the scaling was applied. > The issue is only present when running in Cordova. We cannot replicate it > running the same code in Safari or Chrome on the same device. > Screenshot (when selecting the textarea): http://imgur.com/JllMQmg -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-12023) ERROR: Plugins not found on iOS9 and not loaded on iOS10
[ https://issues.apache.org/jira/browse/CB-12023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12023: -- Priority: Major (was: Critical) > ERROR: Plugins not found on iOS9 and not loaded on iOS10 > > > Key: CB-12023 > URL: https://issues.apache.org/jira/browse/CB-12023 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 6.3.1 > Environment: xcode Version 8.0 (8A218a) with iOS SDK 10 > Cordova-iOS 4.2.1 >Reporter: Will Wang > > build app with Xcode and run. then the following message is shown on iOS 9: > 2016-10-15 23:32:56.975 MEGASTAR[567:285393] Apache Cordova native platform > version 4.2.1 is starting. > 2016-10-15 23:32:56.977 MEGASTAR[567:285393] Multi-tasking -> Device: YES, > App: YES > 2016-10-15 23:32:57.029 MEGASTAR[567:285393] Using UIWebView > 2016-10-15 23:32:57.033 MEGASTAR[567:285393] [CDVTimer][handleopenurl] > 0.133991ms > 2016-10-15 23:32:57.036 MEGASTAR[567:285393] > [CDVTimer][intentandnavigationfilter] 2.914965ms > 2016-10-15 23:32:57.036 MEGASTAR[567:285393] [CDVTimer][gesturehandler] > 0.102997ms > 2016-10-15 23:32:57.051 MEGASTAR[567:285393] [CDVTimer][localstorage] > 14.648020ms > 2016-10-15 23:32:57.051 MEGASTAR[567:285393] [CDVTimer][TotalPluginStartup] > 19.125998ms > 2016-10-15 23:32:57.278 MEGASTAR[567:285393] Resetting plugins due to page > load. > 2016-10-15 23:32:57.570 MEGASTAR[567:285393] Finished load of: > file:///var/containers/Bundle/Application/72B88263-6AE4-4BC0-A075-91A4249CA0DE/MEGASTAR.app/www/frame.html > 2016-10-15 23:32:57.664 MEGASTAR[567:285393] ERROR: Plugin 'File' not found, > or is not a CDVPlugin. Check your plugin mapping in config.xml. > 2016-10-15 23:32:57.664 MEGASTAR[567:285393] -[CDVCommandQueue > executePending] [Line 142] FAILED pluginJSON = > ["File1449337512","File","requestAllPaths",[]] > 2016-10-15 23:32:57.668 MEGASTAR[567:285393] ERROR: Plugin 'NetworkStatus' > not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. > 2016-10-15 23:32:57.668 MEGASTAR[567:285393] -[CDVCommandQueue > executePending] [Line 142] FAILED pluginJSON = > ["NetworkStatus1449337513","NetworkStatus","getConnectionInfo",[]] > 2016-10-15 23:32:57.668 MEGASTAR[567:285393] ERROR: Plugin 'StatusBar' not > found, or is not a CDVPlugin. Check your plugin mapping in config.xml. > 2016-10-15 23:32:57.668 MEGASTAR[567:285393] -[CDVCommandQueue > executePending] [Line 142] FAILED pluginJSON = > ["StatusBar1449337514","StatusBar","_ready",[]] > same project build and run on iOS 10 the following message is shown (Plugins > seem not loaded!) > 2016-10-15 23:41:52.762388 MEGASTAR[490:111329] Apache Cordova native > platform version 4.2.1 is starting. > 2016-10-15 23:41:52.763060 MEGASTAR[490:111329] Multi-tasking -> Device: YES, > App: YES > 2016-10-15 23:41:52.800311 MEGASTAR[490:111329] Using UIWebView > 2016-10-15 23:41:52.801432 MEGASTAR[490:111329] [CDVTimer][handleopenurl] > 0.054955ms > 2016-10-15 23:41:52.802806 MEGASTAR[490:111329] > [CDVTimer][intentandnavigationfilter] 1.329005ms > 2016-10-15 23:41:52.802926 MEGASTAR[490:111329] [CDVTimer][gesturehandler] > 0.051022ms > 2016-10-15 23:41:52.812646 MEGASTAR[490:111329] [CDVTimer][localstorage] > 9.667993ms > 2016-10-15 23:41:52.812681 MEGASTAR[490:111329] > [CDVTimer][TotalPluginStartup] 11.344969ms > 2016-10-15 23:41:53.019430 MEGASTAR[490:111329] Resetting plugins due to page > load. > 2016-10-15 23:41:53.184173 MEGASTAR[490:111329] Finished load of: > file:///var/containers/Bundle/Application/FDAA2F56-1D4A-4074-A9F7-F02304C352A3/MEGASTAR.app/www/frame.html > Plugins Version: > cordoba-plugin-file 4.3.0 > cordoba-plugin-network-information 1.3.0 > cordoba-plugin-statusbar 2.2.0 -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-10784) Unable to use Cordova Plugins that use a native view directly on pickContacts callback.
[ https://issues.apache.org/jira/browse/CB-10784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886377#comment-15886377 ] ASF GitHub Bot commented on CB-10784: - Github user jcesarmobile commented on the issue: https://github.com/apache/cordova-plugin-contacts/pull/107 can you rebase and squash the commits into one? > Unable to use Cordova Plugins that use a native view directly on pickContacts > callback. > --- > > Key: CB-10784 > URL: https://issues.apache.org/jira/browse/CB-10784 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Contacts >Affects Versions: Master > Environment: iOS >Reporter: Cory Thompson >Priority: Minor > Labels: ios, pendingPR, triaged > > I attempted to open a native dialog directly after a using pickContacts and > receive the following error on iOS. > navigator.contacts.pickContact(onContactItemPickedSuccess, > onContactItemPickedError); > function onContactItemPickedSuccess(contact) { > navigator.notification.confirm(…); > } > Warning: Attempt to present on > whose view is not in the window hierarchy! > A workaround is wrap the confirmation code using a JavaScript setTimeout for > 1000ms. > I’ve dug into the Objective C code and what I suspect is happening is that > the successCallback is called before the animation for closing the > CDVContactsPicker has finished. > I’ve tested moving the callback after the close animation and my issue is > resolved. I will include a pull request in the comments. > The only potential problem I see with this is the original author may have > decided to return before animation close so that a user could update the HTML > behind the contactPicker therefore appearing to load much faster. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12499) UWP : Dependent external libraries specified as resource-file not being referenced in Release mode.
[ https://issues.apache.org/jira/browse/CB-12499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886251#comment-15886251 ] ASF GitHub Bot commented on CB-12499: - GitHub user daserge opened a pull request: https://github.com/apache/cordova-windows/pull/228 CB-12499 UWP: Dependent external libraries specified as resource-file… … not being referenced in Release mode ### Platforms affected Windows ### What does this PR do? Adds Default.rd.xml to Windows 10 project template making an app (and plugins) metadata to be available for reflection at runtime ### What testing has been done on this change? npm tests, WACK tests ### Checklist - [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. You can merge this pull request into a Git repository by running: $ git pull https://github.com/daserge/cordova-windows CB-12499 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-windows/pull/228.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #228 > UWP : Dependent external libraries specified as resource-file not being > referenced in Release mode. > > > Key: CB-12499 > URL: https://issues.apache.org/jira/browse/CB-12499 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Affects Versions: 5.0.0, 4.4.2, 4.4.3 > Environment: Cordova Windows >Reporter: Srutha Keerthi > Fix For: 5.0.0, 4.4.2, 4.4.3 > > -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12510) cannot rename windows cordova project
[ https://issues.apache.org/jira/browse/CB-12510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886199#comment-15886199 ] Ali Mustafa commented on CB-12510: -- For iOS I get .ipa renamed file with a custom name that I specify as above. so shouldn't it be the same for windows also ? > cannot rename windows cordova project > - > > Key: CB-12510 > URL: https://issues.apache.org/jira/browse/CB-12510 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Reporter: Ali Mustafa >Priority: Minor > Labels: windows > > building Cordova app for windows generates CordovaApp.sln even though I > specified another name under widget tag in config.xml. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12512) No way to get from a FILE_URL to a DATA_URL onsuccess
[ https://issues.apache.org/jira/browse/CB-12512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886191#comment-15886191 ] Kyle Slack commented on CB-12512: - This is in fact the goal, to store the DATA_URL for later viewing outside of the mobile application. We have, as a workaround, switched back to the DATA_URL as the problem seems to be specifically related to the quality value being passed in the camera options. We have set this to 30 and can successfully use the DATA_URL method on Android. However, on iOS, this method is proving to not be successful. Where Android is working pretty smoothly now with the DATA_URL option, iOS is now taking around 6 seconds or more delayed between views in our application following capturing a photo. It seems to take the photo and displays in our element just fine. I noticed while debugging that on iOS when the camera is fired, the following error is logged immediately: Failed to load resource: The requested URL was not found on this server. file:///var/containers/Bundle/Application/(UUID)/(application name.app)/www/null Updated Code: viewModel.getPicture = function () { navigator.camera.getPicture(function (data) { //use setTimeout especially w/ iOS to allow time for the UI to replace/resize the controls and statusbar setTimeout(function () { StatusBar.overlaysWebView(true); setTimeout(function () { StatusBar.overlaysWebView(false); }, 250); }, 250); viewModel.txtImageStatus("Loading..."); document.getElementById("image").src = "data:image/png;base64," + data; viewModel.showNoImage(false); document.getElementById("image").style.display = "block"; viewModel.shipment.CustomerPhotoInfo = data; }, function (msg) { if (!msg == "Camera cancelled.") { viewModel.popVisible(true); viewModel.popMessage("Failed: " + msg); }; setTimeout(function () { StatusBar.overlaysWebView(true); setTimeout(function () { StatusBar.overlaysWebView(false); }, 250); }, 250); }, { quality: 30, destinationType: Camera.DestinationType.DATA_URL, saveToPhotoAlbum: false, correctOrientation: true, encodingType: DevExpress.devices.real().platform == "ios" ? Camera.EncodingType.PNG : Camera.EncodingType.JPEG }); } > No way to get from a FILE_URL to a DATA_URL onsuccess > - > > Key: CB-12512 > URL: https://issues.apache.org/jira/browse/CB-12512 > Project: Apache Cordova > Issue Type: Bug > Components: Android, iOS > Environment: Android 4.0+ / iOS 9.0+ >Reporter: Kyle Slack > > The onsuccess function of the getPicture method uses the FILE_URI to set an > source perfectly fine, however, the conversion of this FILE_URI to get > the image data or DATA_URL is never successful no matter the means attempted. > Even utilizing your posted methods to get the actual file have failed: > window.resolveLocalFileSystemURL(imgUri, function success(fileEntry) - is not > getting to the image, always results in null DATA_URL in the end. > Our method using FILE_URI: > {code} > navigator.camera.getPicture(function (data) { > setTimeout(function () { > StatusBar.overlaysWebView(true); > setTimeout(function () { > StatusBar.overlaysWebView(false); > }, 250); > }, 250); > viewModel.txtImageStatus("Loading..."); > document.getElementById("image").src = data; > viewModel.showNoImage(false); > document.getElementById("image").style.display = "block"; > SavetoShipment(data); > }, function (msg) { > if (!msg == "Camera cancelled.") { > viewModel.popVisible(true); > viewModel.popMessage("Failed: " + msg); > }; > setTimeout(function () { > StatusBar.overlaysWebView(true); > setTimeout(function () { > StatusBar.overlaysWebView(false); > }, 250); > }, 250); > }, { > quality: DevExpress.devices.real().platform == "ios" ? 50 : 100, > destinationType: Camera.DestinationType.FILE_URI, > saveToPhotoAlbum: false, > correctOrientation: true, > encodingType: DevExpress.devices.real().platform == "ios" ? > Camera.EncodingType.PNG : Camera.EncodingType.JPEG > }); > function SavetoShipment(fileURI) { > var fileReader = new
[jira] [Commented] (CB-12424) Multipart messages are broken
[ https://issues.apache.org/jira/browse/CB-12424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886175#comment-15886175 ] ASF GitHub Bot commented on CB-12424: - Github user infil00p commented on the issue: https://github.com/apache/cordova-android/pull/358 @kalliste Thanks for submitting the ICLA. Is it possible for you to add a Unit Test to the new Unit Testing framework for this patch? People have been complaining about this being a regression despite the fact that we have zero documentation and zero tests. (In fact the refactored bridge had absolutely no unit tests until now, which is why I haven't pulled this in yet and have been working on getting some tests up.) The test project is in tests, and it's a standard Android project using JUnit and Espresso. > Multipart messages are broken > - > > Key: CB-12424 > URL: https://issues.apache.org/jira/browse/CB-12424 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Affects Versions: 6.0.0, 6.2.0 > Environment: cordova 6.4.0 > android 6.0.0 / git master > Mac El Capitan >Reporter: Joshua Jackson >Priority: Minor > Fix For: 6.2.0 > > > Currently when I try to assemble a multipart message cordova-android > assembles the data in NativeToJsMessageQueue.java as [""] but if I call > pMessageLoopResponse(callbackContext, 3, 5) it should generate [3, 5] > private void pMessageLoopResponse(final CallbackContext ctx, int iMsg, > int iTag) { > List results = new ArrayList(); > results.add(0, new PluginResult(PluginResult.Status.OK, iMsg)); > results.add(1, new PluginResult(PluginResult.Status.OK, iTag)); > PluginResult result = new PluginResult(PluginResult.Status.OK, > results); > result.setKeepCallback(true); > ctx.sendPluginResult(result); > } -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12425) Auto-create a package.json if it doesn't exist yet
[ https://issues.apache.org/jira/browse/CB-12425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886160#comment-15886160 ] ASF GitHub Bot commented on CB-12425: - GitHub user audreyso opened a pull request: https://github.com/apache/cordova-lib/pull/521 CB-12425 : Auto-create package.json if it doesn't exist yet (during prepare) ### Platforms affected ### What does this PR do? Auto-creates package.json if it doesn't exist yet (during prepare) ### What testing has been done on this change? ### Checklist - [X] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [X] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [X] Added automated test coverage as appropriate for this change. You can merge this pull request into a Git repository by running: $ git pull https://github.com/audreyso/cordova-lib CB-12425 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-lib/pull/521.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #521 commit 12fea8d3cb40efe567aeca19108f4536942ca801 Author: Audrey SoDate: 2017-02-23T00:24:48Z CB-12425 : autocreate a package.json if it doesn't exist during restore commit 6818e91739ab963e1cd12c9115c9dd943c57b466 Author: Audrey So Date: 2017-02-23T21:25:58Z CB-12425 : moved auto-create pkg.json code from restore-util to platform.js and plugin.js commit f29236ba7b528fe60bf86b1424ee8e9650621647 Author: Audrey So Date: 2017-02-24T00:36:05Z CB-12425 : added testing for pkgJson being auto-created > Auto-create a package.json if it doesn't exist yet > -- > > Key: CB-12425 > URL: https://issues.apache.org/jira/browse/CB-12425 > Project: Apache Cordova > Issue Type: Improvement > Components: CordovaLib >Affects Versions: cordova-7 >Reporter: Audrey So >Assignee: Audrey So > Labels: cordova-7.0.0 > > When restoring during cordova prepare, auto-create a package.json if it > doesn't exist yet. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12465) Rewrite JUnit Tests
[ https://issues.apache.org/jira/browse/CB-12465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886155#comment-15886155 ] ASF subversion and git services commented on CB-12465: -- Commit 3bbc7fb3284687fa5f3572499d56d49eba78fd92 in cordova-android's branch refs/heads/master from [~bowserj] [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=3bbc7fb ] CB-12465: Writing new JUnit Test Instrumentation to replace tests and retire problmatic tests This closes #363 > Rewrite JUnit Tests > --- > > Key: CB-12465 > URL: https://issues.apache.org/jira/browse/CB-12465 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Reporter: Joe Bowser >Assignee: Joe Bowser >Priority: Blocker > -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12465) Rewrite JUnit Tests
[ https://issues.apache.org/jira/browse/CB-12465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886156#comment-15886156 ] ASF GitHub Bot commented on CB-12465: - Github user asfgit closed the pull request at: https://github.com/apache/cordova-android/pull/363 > Rewrite JUnit Tests > --- > > Key: CB-12465 > URL: https://issues.apache.org/jira/browse/CB-12465 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Reporter: Joe Bowser >Assignee: Joe Bowser >Priority: Blocker > -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12510) cannot rename windows cordova project
[ https://issues.apache.org/jira/browse/CB-12510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886148#comment-15886148 ] Sergey Shakhnazarov commented on CB-12510: -- Looking through the platform code it does not seem it will work this way - {{CordovaApp}} is hardcoded in several places. Widget attributes goes into application manifest - see https://cordova.apache.org/docs/en/dev/guide/platforms/win8/index.html#signing-an-app for the details. > cannot rename windows cordova project > - > > Key: CB-12510 > URL: https://issues.apache.org/jira/browse/CB-12510 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Reporter: Ali Mustafa >Priority: Minor > Labels: windows > > building Cordova app for windows generates CordovaApp.sln even though I > specified another name under widget tag in config.xml. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-12016) remove plugin ID mapping
[ https://issues.apache.org/jira/browse/CB-12016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Audrey So reassigned CB-12016: -- Assignee: Audrey So > remove plugin ID mapping > > > Key: CB-12016 > URL: https://issues.apache.org/jira/browse/CB-12016 > Project: Apache Cordova > Issue Type: Improvement > Components: CLI, CordovaLib >Reporter: Steve Gill >Assignee: Audrey So > Labels: cordova-7.0.0 > Fix For: 7.0.0 > > > For cordova@7, we can remove the cordova-registry-mapper module and remove > the automatic plugin mapping we do -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12510) cannot rename windows cordova project
[ https://issues.apache.org/jira/browse/CB-12510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886127#comment-15886127 ] Ali Mustafa commented on CB-12510: -- I tried, it's still happening > cannot rename windows cordova project > - > > Key: CB-12510 > URL: https://issues.apache.org/jira/browse/CB-12510 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Reporter: Ali Mustafa >Priority: Minor > Labels: windows > > building Cordova app for windows generates CordovaApp.sln even though I > specified another name under widget tag in config.xml. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12510) cannot rename windows cordova project
[ https://issues.apache.org/jira/browse/CB-12510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886082#comment-15886082 ] Kerri Shotts commented on CB-12510: --- Please try to {{rm}} the platform and {{add}} it back. > cannot rename windows cordova project > - > > Key: CB-12510 > URL: https://issues.apache.org/jira/browse/CB-12510 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Reporter: Ali Mustafa >Priority: Minor > Labels: windows > > building Cordova app for windows generates CordovaApp.sln even though I > specified another name under widget tag in config.xml. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12509) LocalStorage not persistent when app is updated (cordova ios 3.8.0 -> 4.1.1) in iOS 10.2
[ https://issues.apache.org/jira/browse/CB-12509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886081#comment-15886081 ] Kerri Shotts commented on CB-12509: --- 1. When you install the new version on your iOS < 10.2 devices, do the paths change, or are you only getting changed paths on iOS 10.2? 2. Are the file paths you listed from the sim or from a real device? The two don't always act identically. If from a sim, please try on a real device. 3. When you copied the files, please specify the order of the operations. I assume you copied to a temp location, then installed, then copied back, but that assumption may be incorrect. 4. Please post a gist of your config.xml files for your prior version and the current version (be sure to remove private / secret information!) Regardless of whether or not you can salvage the data, you should make plans to move away from localStorage as soon as possible. It is not a safe storage location, and can disappear at any time. There is code that tries to mitigate this to some degree in CDVLocalStorage, but there are enough reported cases where it falls down that I wouldn't trust it (and by the time we hear about them, there's not a lot we can do: the issue was invariably on an end-user's device with no logs available for us to work with). Apple has made it clear that localStorage is not persistent long-term, and so you will need to find an alternative for guaranteed persistence. This probably isn't something you'll be able to do overnight, so I would start working on that for your next release. > LocalStorage not persistent when app is updated (cordova ios 3.8.0 -> 4.1.1) > in iOS 10.2 > > > Key: CB-12509 > URL: https://issues.apache.org/jira/browse/CB-12509 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 4.1.1 >Reporter: Sachitra Malwatte > Labels: iOS, iOS10.2 > > I have a app built with cordova ios 3.8.0. > When I updated the app to new version which is built with 4.1.1 LocalStorage > returns empty. I cannot retrieve the data saved by previous version. > Works in iOS 8 and 9 > Does not work in iOS 10.2 > Please help. > Cordova-ios: current 4.1.1, previous 3.8.0 > Cordova CLI: current 6.1.1 > xcode: current 7.2.1 -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12510) cannot rename windows cordova project
[ https://issues.apache.org/jira/browse/CB-12510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886053#comment-15886053 ] Ali Mustafa commented on CB-12510: -- config.xml: NewAppName cordova build windows generated CordovaApp.sln , expected: NewAppName.sln > cannot rename windows cordova project > - > > Key: CB-12510 > URL: https://issues.apache.org/jira/browse/CB-12510 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Reporter: Ali Mustafa >Priority: Minor > Labels: windows > > building Cordova app for windows generates CordovaApp.sln even though I > specified another name under widget tag in config.xml. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-12511) make iOS rotate as needed when screen.orientation.lock('landscape'); is called
[ https://issues.apache.org/jira/browse/CB-12511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kerri Shotts updated CB-12511: -- Labels: iOS iOS10 (was: ) > make iOS rotate as needed when screen.orientation.lock('landscape'); is called > -- > > Key: CB-12511 > URL: https://issues.apache.org/jira/browse/CB-12511 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Screen Orientation >Reporter: Vetrivel >Assignee: Kerri Shotts > Labels: iOS, iOS10 > > In my App, I have installed the "apache/cordova-plugin-screen-orientation" > and I have set screen.orientation.lock('landscape'); to Lock Landscape view. > But at first time in IPad (ios@10), If the user view in portrait view once > "screen.orientation.lock('landscape');" is called it is not rotate to > landscape view instead of that it stay in portrait view. But in other device > it is working as excepted. How to get rid of this issue.When i can expect the > updated release. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-12509) LocalStorage not persistent when app is updated (cordova ios 3.8.0 -> 4.1.1) in iOS 10.2
[ https://issues.apache.org/jira/browse/CB-12509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kerri Shotts updated CB-12509: -- Labels: iOS iOS10.2 (was: ) > LocalStorage not persistent when app is updated (cordova ios 3.8.0 -> 4.1.1) > in iOS 10.2 > > > Key: CB-12509 > URL: https://issues.apache.org/jira/browse/CB-12509 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 4.1.1 >Reporter: Sachitra Malwatte > Labels: iOS, iOS10.2 > > I have a app built with cordova ios 3.8.0. > When I updated the app to new version which is built with 4.1.1 LocalStorage > returns empty. I cannot retrieve the data saved by previous version. > Works in iOS 8 and 9 > Does not work in iOS 10.2 > Please help. > Cordova-ios: current 4.1.1, previous 3.8.0 > Cordova CLI: current 6.1.1 > xcode: current 7.2.1 -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12510) cannot rename windows cordova project
[ https://issues.apache.org/jira/browse/CB-12510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886048#comment-15886048 ] Kerri Shotts commented on CB-12510: --- Please provide steps to reproduce. > cannot rename windows cordova project > - > > Key: CB-12510 > URL: https://issues.apache.org/jira/browse/CB-12510 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Reporter: Ali Mustafa >Priority: Minor > Labels: windows > > building Cordova app for windows generates CordovaApp.sln even though I > specified another name under widget tag in config.xml. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-12511) make iOS rotate as needed when screen.orientation.lock('landscape'); is called
[ https://issues.apache.org/jira/browse/CB-12511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kerri Shotts reassigned CB-12511: - Assignee: Kerri Shotts > make iOS rotate as needed when screen.orientation.lock('landscape'); is called > -- > > Key: CB-12511 > URL: https://issues.apache.org/jira/browse/CB-12511 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Screen Orientation >Reporter: Vetrivel >Assignee: Kerri Shotts > > In my App, I have installed the "apache/cordova-plugin-screen-orientation" > and I have set screen.orientation.lock('landscape'); to Lock Landscape view. > But at first time in IPad (ios@10), If the user view in portrait view once > "screen.orientation.lock('landscape');" is called it is not rotate to > landscape view instead of that it stay in portrait view. But in other device > it is working as excepted. How to get rid of this issue.When i can expect the > updated release. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12511) make iOS rotate as needed when screen.orientation.lock('landscape'); is called
[ https://issues.apache.org/jira/browse/CB-12511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886047#comment-15886047 ] Kerri Shotts commented on CB-12511: --- What version of the plugin are you using? > make iOS rotate as needed when screen.orientation.lock('landscape'); is called > -- > > Key: CB-12511 > URL: https://issues.apache.org/jira/browse/CB-12511 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Screen Orientation >Reporter: Vetrivel > > In my App, I have installed the "apache/cordova-plugin-screen-orientation" > and I have set screen.orientation.lock('landscape'); to Lock Landscape view. > But at first time in IPad (ios@10), If the user view in portrait view once > "screen.orientation.lock('landscape');" is called it is not rotate to > landscape view instead of that it stay in portrait view. But in other device > it is working as excepted. How to get rid of this issue.When i can expect the > updated release. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12512) No way to get from a FILE_URL to a DATA_URL onsuccess
[ https://issues.apache.org/jira/browse/CB-12512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15886044#comment-15886044 ] Kerri Shotts commented on CB-12512: --- To your particular issue (see https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/index.html#read-a-file for an example using the first two): 1. Try using {{onloadend}} instead; this occurs when the operation is complete. 2. {{onload}} / {{onloadend}} don't receive any data directly. Use {{this.result}} instead. 3. If you must have a DATA_URL, why not just get it straight from the camera plugin? The caveats with base64 apply equally regardless of where you're getting it from. > No way to get from a FILE_URL to a DATA_URL onsuccess > - > > Key: CB-12512 > URL: https://issues.apache.org/jira/browse/CB-12512 > Project: Apache Cordova > Issue Type: Bug > Components: Android, iOS > Environment: Android 4.0+ / iOS 9.0+ >Reporter: Kyle Slack > > The onsuccess function of the getPicture method uses the FILE_URI to set an > source perfectly fine, however, the conversion of this FILE_URI to get > the image data or DATA_URL is never successful no matter the means attempted. > Even utilizing your posted methods to get the actual file have failed: > window.resolveLocalFileSystemURL(imgUri, function success(fileEntry) - is not > getting to the image, always results in null DATA_URL in the end. > Our method using FILE_URI: > {code} > navigator.camera.getPicture(function (data) { > setTimeout(function () { > StatusBar.overlaysWebView(true); > setTimeout(function () { > StatusBar.overlaysWebView(false); > }, 250); > }, 250); > viewModel.txtImageStatus("Loading..."); > document.getElementById("image").src = data; > viewModel.showNoImage(false); > document.getElementById("image").style.display = "block"; > SavetoShipment(data); > }, function (msg) { > if (!msg == "Camera cancelled.") { > viewModel.popVisible(true); > viewModel.popMessage("Failed: " + msg); > }; > setTimeout(function () { > StatusBar.overlaysWebView(true); > setTimeout(function () { > StatusBar.overlaysWebView(false); > }, 250); > }, 250); > }, { > quality: DevExpress.devices.real().platform == "ios" ? 50 : 100, > destinationType: Camera.DestinationType.FILE_URI, > saveToPhotoAlbum: false, > correctOrientation: true, > encodingType: DevExpress.devices.real().platform == "ios" ? > Camera.EncodingType.PNG : Camera.EncodingType.JPEG > }); > function SavetoShipment(fileURI) { > var fileReader = new FileReader(); > fileReader.onload = function (fileLoad) { > viewModel.shipment.CustomerPhotoInfo = fileLoad.target.result; > }; > fileReader.readAsDataURL(fileURI); > } > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-12512) No way to get from a FILE_URL to a DATA_URL onsuccess
[ https://issues.apache.org/jira/browse/CB-12512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kerri Shotts updated CB-12512: -- Description: The onsuccess function of the getPicture method uses the FILE_URI to set an source perfectly fine, however, the conversion of this FILE_URI to get the image data or DATA_URL is never successful no matter the means attempted. Even utilizing your posted methods to get the actual file have failed: window.resolveLocalFileSystemURL(imgUri, function success(fileEntry) - is not getting to the image, always results in null DATA_URL in the end. Our method using FILE_URI: {code} navigator.camera.getPicture(function (data) { setTimeout(function () { StatusBar.overlaysWebView(true); setTimeout(function () { StatusBar.overlaysWebView(false); }, 250); }, 250); viewModel.txtImageStatus("Loading..."); document.getElementById("image").src = data; viewModel.showNoImage(false); document.getElementById("image").style.display = "block"; SavetoShipment(data); }, function (msg) { if (!msg == "Camera cancelled.") { viewModel.popVisible(true); viewModel.popMessage("Failed: " + msg); }; setTimeout(function () { StatusBar.overlaysWebView(true); setTimeout(function () { StatusBar.overlaysWebView(false); }, 250); }, 250); }, { quality: DevExpress.devices.real().platform == "ios" ? 50 : 100, destinationType: Camera.DestinationType.FILE_URI, saveToPhotoAlbum: false, correctOrientation: true, encodingType: DevExpress.devices.real().platform == "ios" ? Camera.EncodingType.PNG : Camera.EncodingType.JPEG }); function SavetoShipment(fileURI) { var fileReader = new FileReader(); fileReader.onload = function (fileLoad) { viewModel.shipment.CustomerPhotoInfo = fileLoad.target.result; }; fileReader.readAsDataURL(fileURI); } {code} was: The onsuccess function of the getPicture method uses the FILE_URI to set an source perfectly fine, however, the conversion of this FILE_URI to get the image data or DATA_URL is never successful no matter the means attempted. Even utilizing your posted methods to get the actual file have failed: window.resolveLocalFileSystemURL(imgUri, function success(fileEntry) - is not getting to the image, always results in null DATA_URL in the end. Our method using FILE_URI: navigator.camera.getPicture(function (data) { setTimeout(function () { StatusBar.overlaysWebView(true); setTimeout(function () { StatusBar.overlaysWebView(false); }, 250); }, 250); viewModel.txtImageStatus("Loading..."); document.getElementById("image").src = data; viewModel.showNoImage(false); document.getElementById("image").style.display = "block"; SavetoShipment(data); }, function (msg) { if (!msg == "Camera cancelled.") { viewModel.popVisible(true); viewModel.popMessage("Failed: " + msg); }; setTimeout(function () { StatusBar.overlaysWebView(true); setTimeout(function () { StatusBar.overlaysWebView(false); }, 250); }, 250); }, { quality: DevExpress.devices.real().platform == "ios" ? 50 : 100, destinationType: Camera.DestinationType.FILE_URI, saveToPhotoAlbum: false, correctOrientation: true, encodingType: DevExpress.devices.real().platform == "ios" ? Camera.EncodingType.PNG : Camera.EncodingType.JPEG }); function SavetoShipment(fileURI) { var fileReader = new FileReader(); fileReader.onload = function (fileLoad) { viewModel.shipment.CustomerPhotoInfo = fileLoad.target.result; }; fileReader.readAsDataURL(fileURI); } > No way to get from a FILE_URL to a DATA_URL onsuccess > - > > Key: CB-12512 > URL: https://issues.apache.org/jira/browse/CB-12512 > Project: Apache Cordova > Issue Type: Bug > Components: Android, iOS > Environment: Android 4.0+ / iOS 9.0+ >Reporter: Kyle Slack > > The onsuccess function of the getPicture method uses the FILE_URI to set an > source perfectly fine, however, the conversion of this FILE_URI to get > the image data or DATA_URL is never successful no matter the means attempted. > Even utilizing your posted methods
[jira] [Commented] (CB-12453) "cordova run --list" throws error when there's a space in user name
[ https://issues.apache.org/jira/browse/CB-12453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15885991#comment-15885991 ] ASF GitHub Bot commented on CB-12453: - Github user codecov-io commented on the issue: https://github.com/apache/cordova-android/pull/362 # [Codecov](https://codecov.io/gh/apache/cordova-android/pull/362?src=pr=h1) Report > Merging [#362](https://codecov.io/gh/apache/cordova-android/pull/362?src=pr=desc) into [master](https://codecov.io/gh/apache/cordova-android/commit/ac6ad2dea1ca66afe6dde4bcf22ff774a0b05ddc?src=pr=desc) will **not change** coverage. > The diff coverage is `n/a`. ```diff @@ Coverage Diff @@ ## master #362 +/- ## === Coverage 35.58% 35.58% === Files 12 12 Lines1037 1037 Branches 173 173 === Hits 369 369 Misses668 668 ``` -- [Continue to review full report at Codecov](https://codecov.io/gh/apache/cordova-android/pull/362?src=pr=continue). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/apache/cordova-android/pull/362?src=pr=footer). Last update [ac6ad2d...48ab7c7](https://codecov.io/gh/apache/cordova-android/compare/ac6ad2dea1ca66afe6dde4bcf22ff774a0b05ddc...48ab7c7e8b7bdb5a6a137a3b5d8793474e9dbf6e?el=footer=pr=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments). > "cordova run --list" throws error when there's a space in user name > --- > > Key: CB-12453 > URL: https://issues.apache.org/jira/browse/CB-12453 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, Windows >Affects Versions: 6.4.0, 6.5.0 > Environment: Windows 10 64 bit, cordova version 6.5 (not in list?) CLI >Reporter: Yousif Touma > Labels: cli, list-devices, windows10 > > When trying to list available devices to run on, cordova throws an error if > the user has a space in user name -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-12512) No way to get from a FILE_URL to a DATA_URL onsuccess
Kyle Slack created CB-12512: --- Summary: No way to get from a FILE_URL to a DATA_URL onsuccess Key: CB-12512 URL: https://issues.apache.org/jira/browse/CB-12512 Project: Apache Cordova Issue Type: Bug Components: Android, iOS Environment: Android 4.0+ / iOS 9.0+ Reporter: Kyle Slack The onsuccess function of the getPicture method uses the FILE_URI to set an source perfectly fine, however, the conversion of this FILE_URI to get the image data or DATA_URL is never successful no matter the means attempted. Even utilizing your posted methods to get the actual file have failed: window.resolveLocalFileSystemURL(imgUri, function success(fileEntry) - is not getting to the image, always results in null DATA_URL in the end. Our method using FILE_URI: navigator.camera.getPicture(function (data) { setTimeout(function () { StatusBar.overlaysWebView(true); setTimeout(function () { StatusBar.overlaysWebView(false); }, 250); }, 250); viewModel.txtImageStatus("Loading..."); document.getElementById("image").src = data; viewModel.showNoImage(false); document.getElementById("image").style.display = "block"; SavetoShipment(data); }, function (msg) { if (!msg == "Camera cancelled.") { viewModel.popVisible(true); viewModel.popMessage("Failed: " + msg); }; setTimeout(function () { StatusBar.overlaysWebView(true); setTimeout(function () { StatusBar.overlaysWebView(false); }, 250); }, 250); }, { quality: DevExpress.devices.real().platform == "ios" ? 50 : 100, destinationType: Camera.DestinationType.FILE_URI, saveToPhotoAlbum: false, correctOrientation: true, encodingType: DevExpress.devices.real().platform == "ios" ? Camera.EncodingType.PNG : Camera.EncodingType.JPEG }); function SavetoShipment(fileURI) { var fileReader = new FileReader(); fileReader.onload = function (fileLoad) { viewModel.shipment.CustomerPhotoInfo = fileLoad.target.result; }; fileReader.readAsDataURL(fileURI); } -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-10442) Update file plugin tests to use toURL
[ https://issues.apache.org/jira/browse/CB-10442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Sorokin closed CB-10442. -- Resolution: Won't Fix These tests do test `toNativeURL` method > Update file plugin tests to use toURL > - > > Key: CB-10442 > URL: https://issues.apache.org/jira/browse/CB-10442 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin File >Reporter: Sergey Grebnov >Assignee: Alexander Sorokin >Priority: Trivial > > When I run unit tests I see the following trace items. Is this because we use > old file api (must be updated) or because we still test deprecated api > (fine)? > {code} > DEPRECATED: Update your code to use `toURL` > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-12509) LocalStorage not persistent when app is updated (cordova ios 3.8.0 -> 4.1.1) in iOS 10.2
[ https://issues.apache.org/jira/browse/CB-12509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15885573#comment-15885573 ] Sachitra Malwatte edited comment on CB-12509 at 2/27/17 11:00 AM: -- Tested with latest cordova version but issue exists cordova cli: 6.5.0 cordova-ios: 4.3.1 This issue is reproducible in simulator as well. I manually copied localstorage files from old location to new location and I was able get old local storage data Old files Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/63263C1A-4093-47EB-8F02-9ECB2E6E379A/Library/WebKit/LocalStorage/file__0.localstorage Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/63263C1A-4093-47EB-8F02-9ECB2E6E379A/Library/WebKit/LocalStorage/file__0.localstorage-wal Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/63263C1A-4093-47EB-8F02-9ECB2E6E379A/Library/WebKit/LocalStorage/file__0.localstorage-shm Copied to this location Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/A5499C1C-FB6D-4B28-9927-E7A13FFE9913/Library/Caches/file__0.localstorage\ Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/A5499C1C-FB6D-4B28-9927-E7A13FFE9913/Library/Caches/file__0.localstorage-wal\ Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/A5499C1C-FB6D-4B28-9927-E7A13FFE9913/Library/Caches/file__0.localstorage-shm I think Cordova does not copy old localstorage to new location after app is updated. No idea why it behaves differently in iOS 10.2 only. Can anyone please point me to the code where old local storage files are copied (in CDVLocalStorage)? I really need to get this fixed. was (Author: sachitra): ested with latest cordova version but issue exists cordova cli: 6.5.0 cordova-ios: 4.3.1 This issue is reproducible in simulator as well. I manually copied localstorage files from old location to new location and I was able get old local storage data Old files Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/63263C1A-4093-47EB-8F02-9ECB2E6E379A/Library/WebKit/LocalStorage/file__0.localstorage Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/63263C1A-4093-47EB-8F02-9ECB2E6E379A/Library/WebKit/LocalStorage/file__0.localstorage-wal Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/63263C1A-4093-47EB-8F02-9ECB2E6E379A/Library/WebKit/LocalStorage/file__0.localstorage-shm Copied to this location Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/A5499C1C-FB6D-4B28-9927-E7A13FFE9913/Library/Caches/file__0.localstorage\ Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/A5499C1C-FB6D-4B28-9927-E7A13FFE9913/Library/Caches/file__0.localstorage-wal\ Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/A5499C1C-FB6D-4B28-9927-E7A13FFE9913/Library/Caches/file__0.localstorage-shm I think Cordova does not copy old localstorage to new location after app is updated. No idea why it behaves differently in iOS 10.2 only. Can anyone please point me to the code where old local storage files are copied (in CDVLocalStorage)? I really need to get this fixed. > LocalStorage not persistent when app is updated (cordova ios 3.8.0 -> 4.1.1) > in iOS 10.2 > > > Key: CB-12509 > URL: https://issues.apache.org/jira/browse/CB-12509 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 4.1.1 >Reporter: Sachitra Malwatte > > I have a app built with cordova ios 3.8.0. > When I updated the app to new version which is built with 4.1.1 LocalStorage > returns empty. I cannot retrieve the data saved by previous version. > Works in iOS 8 and 9 > Does not work in iOS 10.2 > Please help. > Cordova-ios: current 4.1.1, previous 3.8.0 > Cordova CLI: current 6.1.1 > xcode: current 7.2.1 -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12509) LocalStorage not persistent when app is updated (cordova ios 3.8.0 -> 4.1.1) in iOS 10.2
[ https://issues.apache.org/jira/browse/CB-12509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15885573#comment-15885573 ] Sachitra Malwatte commented on CB-12509: ested with latest cordova version but issue exists cordova cli: 6.5.0 cordova-ios: 4.3.1 This issue is reproducible in simulator as well. I manually copied localstorage files from old location to new location and I was able get old local storage data Old files Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/63263C1A-4093-47EB-8F02-9ECB2E6E379A/Library/WebKit/LocalStorage/file__0.localstorage Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/63263C1A-4093-47EB-8F02-9ECB2E6E379A/Library/WebKit/LocalStorage/file__0.localstorage-wal Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/63263C1A-4093-47EB-8F02-9ECB2E6E379A/Library/WebKit/LocalStorage/file__0.localstorage-shm Copied to this location Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/A5499C1C-FB6D-4B28-9927-E7A13FFE9913/Library/Caches/file__0.localstorage\ Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/A5499C1C-FB6D-4B28-9927-E7A13FFE9913/Library/Caches/file__0.localstorage-wal\ Devices/9D3BC7A7-A6AD-4765-9324-A0A72C600CA5/data/Containers/Data/Application/A5499C1C-FB6D-4B28-9927-E7A13FFE9913/Library/Caches/file__0.localstorage-shm I think Cordova does not copy old localstorage to new location after app is updated. No idea why it behaves differently in iOS 10.2 only. Can anyone please point me to the code where old local storage files are copied (in CDVLocalStorage)? I really need to get this fixed. > LocalStorage not persistent when app is updated (cordova ios 3.8.0 -> 4.1.1) > in iOS 10.2 > > > Key: CB-12509 > URL: https://issues.apache.org/jira/browse/CB-12509 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 4.1.1 >Reporter: Sachitra Malwatte > > I have a app built with cordova ios 3.8.0. > When I updated the app to new version which is built with 4.1.1 LocalStorage > returns empty. I cannot retrieve the data saved by previous version. > Works in iOS 8 and 9 > Does not work in iOS 10.2 > Please help. > Cordova-ios: current 4.1.1, previous 3.8.0 > Cordova CLI: current 6.1.1 > xcode: current 7.2.1 -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-12302) Windows platform support for Appium testing
[ https://issues.apache.org/jira/browse/CB-12302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Sorokin reassigned CB-12302: -- Assignee: (was: Alexander Sorokin) > Windows platform support for Appium testing > --- > > Key: CB-12302 > URL: https://issues.apache.org/jira/browse/CB-12302 > Project: Apache Cordova > Issue Type: Test > Components: Appium, Paramedic >Affects Versions: Master > Environment: Windows >Reporter: Alexander Sorokin > Labels: CI, test > > Since recent release, Appium supports testing of Windows Store apps. > We should make appropriate changes to paramedic and our existing Appium tests > to make use of this new feature. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-12336) filetransfer.spec.9 is flaky on Android
[ https://issues.apache.org/jira/browse/CB-12336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Sorokin closed CB-12336. -- Resolution: Fixed > filetransfer.spec.9 is flaky on Android > --- > > Key: CB-12336 > URL: https://issues.apache.org/jira/browse/CB-12336 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer >Affects Versions: Master >Reporter: Alexander Sorokin >Assignee: Alexander Sorokin > Labels: flaky, found-by-ci, triaged > > filetransfer.spec.9 sometimes fails on Android: > http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/269/PLATFORM=android-4.4,PLUGIN=cordova-plugin-file-transfer/console -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-11697) Appium tests for Camera fail to save a screenshot
[ https://issues.apache.org/jira/browse/CB-11697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Sorokin closed CB-11697. -- Resolution: Fixed > Appium tests for Camera fail to save a screenshot > -- > > Key: CB-11697 > URL: https://issues.apache.org/jira/browse/CB-11697 > Project: Apache Cordova > Issue Type: Test > Components: Appium, Plugin Camera >Reporter: Alexander Sorokin >Assignee: Alexander Sorokin > Labels: found-by-ci, triaged > > http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/105/PLATFORM=ios,PLUGIN=cordova-plugin-camera/console > {noformat} > ✓ camera.ui.spec.12.25 Combining options. sourceType: PHOTOLIBRARY, > destinationType: FILE_URI, encodingType: JPEG, allowEdit: true, > correctOrientation: true > ✓ camera.ui.spec.12.26 Combining options. sourceType: PHOTOLIBRARY, > destinationType: FILE_URI, encodingType: JPEG, allowEdit: true, > correctOrientation: false > ✓ camera.ui.spec.12.27 Combining options. sourceType: PHOTOLIBRARY, > destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, > correctOrientation: true > paramedic-appium: Error: > [saveScreenshot("/private/var/folders/nd/5vd2nqsn3tlc6kljds0c9520gp/T/tmp-13717ARAXYhLH1jeB/appium_screenshots/2016-08-10_06.19.01.png")] > Error response status: 13, , UnknownError - An unknown server-side error > occurred while processing the command. Selenium error: An unknown server-side > error occurred while processing the command. Original error: Timed out > waiting for screenshot file > paramedic-appium: Uncaught exception! Killing server and exiting in 2 > seconds... > Completed tests at 6:19:43 AM > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-12511) make iOS rotate as needed when screen.orientation.lock('landscape'); is called
Vetrivel created CB-12511: - Summary: make iOS rotate as needed when screen.orientation.lock('landscape'); is called Key: CB-12511 URL: https://issues.apache.org/jira/browse/CB-12511 Project: Apache Cordova Issue Type: Bug Components: Plugin Screen Orientation Reporter: Vetrivel In my App, I have installed the "apache/cordova-plugin-screen-orientation" and I have set screen.orientation.lock('landscape'); to Lock Landscape view. But at first time in IPad (ios@10), If the user view in portrait view once "screen.orientation.lock('landscape');" is called it is not rotate to landscape view instead of that it stay in portrait view. But in other device it is working as excepted. How to get rid of this issue.When i can expect the updated release. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-12501) Don't use XPath selectors in Camera Appium tests for Android
[ https://issues.apache.org/jira/browse/CB-12501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Sorokin closed CB-12501. -- Resolution: Fixed > Don't use XPath selectors in Camera Appium tests for Android > > > Key: CB-12501 > URL: https://issues.apache.org/jira/browse/CB-12501 > Project: Apache Cordova > Issue Type: Test > Components: Appium, Plugin Camera >Reporter: Alexander Sorokin >Assignee: Alexander Sorokin > Labels: triaged > > Currently Appium tests use XPath selectors, which are sloppy and buggy. For > example, we are forced to select certain elements quite a few times in a row > to get the one that we need: > {noformat} > return driver > .waitForElementByXPath('//android.widget.TextView[@text="Gallery"]', > 2) > .elementByXPath('//android.widget.TextView[@text="Gallery"]') // multiple > calls here for an Android bug: > .elementByXPath('//android.widget.TextView[@text="Gallery"]') // on > Windows + Android emulator, element selection > .elementByXPath('//android.widget.TextView[@text="Gallery"]') // is > completely wonky. Unfortunately duplicating element() > .elementByXPath('//android.widget.TextView[@text="Gallery"]') // calls is > the only workaround identified thus far. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12501) Don't use XPath selectors in Camera Appium tests for Android
[ https://issues.apache.org/jira/browse/CB-12501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15885437#comment-15885437 ] ASF subversion and git services commented on CB-12501: -- Commit 4fc25154f31204cb526dbd505c965fea1fd8b0b8 in cordova-plugin-camera's branch refs/heads/master from [~alsorokin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=4fc2515 ] CB-12501 (Android) Appium tests don't use XPath selectors anymore > Don't use XPath selectors in Camera Appium tests for Android > > > Key: CB-12501 > URL: https://issues.apache.org/jira/browse/CB-12501 > Project: Apache Cordova > Issue Type: Test > Components: Appium, Plugin Camera >Reporter: Alexander Sorokin >Assignee: Alexander Sorokin > Labels: triaged > > Currently Appium tests use XPath selectors, which are sloppy and buggy. For > example, we are forced to select certain elements quite a few times in a row > to get the one that we need: > {noformat} > return driver > .waitForElementByXPath('//android.widget.TextView[@text="Gallery"]', > 2) > .elementByXPath('//android.widget.TextView[@text="Gallery"]') // multiple > calls here for an Android bug: > .elementByXPath('//android.widget.TextView[@text="Gallery"]') // on > Windows + Android emulator, element selection > .elementByXPath('//android.widget.TextView[@text="Gallery"]') // is > completely wonky. Unfortunately duplicating element() > .elementByXPath('//android.widget.TextView[@text="Gallery"]') // calls is > the only workaround identified thus far. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12501) Don't use XPath selectors in Camera Appium tests for Android
[ https://issues.apache.org/jira/browse/CB-12501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15885438#comment-15885438 ] ASF GitHub Bot commented on CB-12501: - Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-camera/pull/255 > Don't use XPath selectors in Camera Appium tests for Android > > > Key: CB-12501 > URL: https://issues.apache.org/jira/browse/CB-12501 > Project: Apache Cordova > Issue Type: Test > Components: Appium, Plugin Camera >Reporter: Alexander Sorokin >Assignee: Alexander Sorokin > Labels: triaged > > Currently Appium tests use XPath selectors, which are sloppy and buggy. For > example, we are forced to select certain elements quite a few times in a row > to get the one that we need: > {noformat} > return driver > .waitForElementByXPath('//android.widget.TextView[@text="Gallery"]', > 2) > .elementByXPath('//android.widget.TextView[@text="Gallery"]') // multiple > calls here for an Android bug: > .elementByXPath('//android.widget.TextView[@text="Gallery"]') // on > Windows + Android emulator, element selection > .elementByXPath('//android.widget.TextView[@text="Gallery"]') // is > completely wonky. Unfortunately duplicating element() > .elementByXPath('//android.widget.TextView[@text="Gallery"]') // calls is > the only workaround identified thus far. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-10879) Support transparent status bar for Android
[ https://issues.apache.org/jira/browse/CB-10879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15885430#comment-15885430 ] ASF GitHub Bot commented on CB-10879: - Github user Lazza commented on a diff in the pull request: https://github.com/apache/cordova-plugin-statusbar/pull/77#discussion_r103163815 --- Diff: src/android/StatusBar.java --- @@ -164,4 +181,21 @@ private void setStatusBarBackgroundColor(final String colorPref) { } } } + +private void setStatusBarTransparent(final boolean transparent) { +if (Build.VERSION.SDK_INT >= 21) { +final Window window = cordova.getActivity().getWindow(); +if (transparent) { +window.getDecorView().setSystemUiVisibility( +View.SYSTEM_UI_FLAG_LAYOUT_STABLE +| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN); +window.setStatusBarColor(Color.TRANSPARENT); --- End diff -- Reflection is not the approach used by Android Studio in handling any of the platform specific code. In fact, reflection has other drawbacks such as being slow and making debugging harder. The code uses a version check which is recognized by the standard Android build process and it works fine also on e.g. Android API 19 and other versions. > Support transparent status bar for Android > -- > > Key: CB-10879 > URL: https://issues.apache.org/jira/browse/CB-10879 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Statusbar > Environment: Android >Reporter: Ray Shan >Priority: Minor > Labels: Android > > Continuation of discussion here: > https://github.com/apache/cordova-plugin-statusbar/pull/22#issuecomment-76480150 > Seems like Android officially endorses transparent status bar now: > http://android-developers.blogspot.com/2015/05/android-design-support-library.html > Example implementation: > https://github.com/ekuwang/cordova-plugin-statusbar > Would be nice to have this capability in the official plugin. Thanks! -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12505) plugin CAMERA--import to eclipse
[ https://issues.apache.org/jira/browse/CB-12505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15885426#comment-15885426 ] jcesarmobile commented on CB-12505: --- Yes, it should https://developer.android.com/studio/build/manifest-build-variables.html > plugin CAMERA--import to eclipse > - > > Key: CB-12505 > URL: https://issues.apache.org/jira/browse/CB-12505 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera >Affects Versions: 6.5.0 > Environment: Cordova6.5_Eclipse4.6.2NEON2_jdk1.7_androidSDK6.0 >Reporter: judice zhc >Assignee: jcesarmobile > Labels: cordova, plugin > > I ever imported other projects ,they worked well. > But after I successfully ( builded android ) and( run andoid )of a CAMERA > DEMO by cordova cli on true phone,when I imported project dir to > eclipse,errors happened. > 1ST , AndroidManifest.xml ( android:authorities="${applicationId}.provider" )Tag attribute > authorities has invalid character '$'. > 2nd , in PACKAGE CAMERA ( CameraLauncher.java and CordovaUri.java ) The > import android.support cannot be resolved > I try to add jar from android prj > DIR\build\intermediates\pre-dexed\debug\com.android.support-support-v4-24.1.1_37bc5c75534513e0eba84766e6857428d6bb873b.jar > , this doesn't help . > I wonder why cordova build a AndroidManifest.xml with some symbol like > ${applicationId} which eclipse doesnot understand ? -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-10879) Support transparent status bar for Android
[ https://issues.apache.org/jira/browse/CB-10879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15885425#comment-15885425 ] ASF GitHub Bot commented on CB-10879: - Github user Lazza commented on a diff in the pull request: https://github.com/apache/cordova-plugin-statusbar/pull/77#discussion_r103163253 --- Diff: src/android/StatusBar.java --- @@ -142,6 +142,23 @@ public void run() { return true; } +if ("overlaysWebView".equals(action)) { +if (Build.VERSION.SDK_INT >= 21) { --- End diff -- This one is used to check the return value of the method, the one on line 186 is used to isolate API 21+ code, so that the compiler handles it correctly and doesn't complain about it when building for older versions of Android. > Support transparent status bar for Android > -- > > Key: CB-10879 > URL: https://issues.apache.org/jira/browse/CB-10879 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Statusbar > Environment: Android >Reporter: Ray Shan >Priority: Minor > Labels: Android > > Continuation of discussion here: > https://github.com/apache/cordova-plugin-statusbar/pull/22#issuecomment-76480150 > Seems like Android officially endorses transparent status bar now: > http://android-developers.blogspot.com/2015/05/android-design-support-library.html > Example implementation: > https://github.com/ekuwang/cordova-plugin-statusbar > Would be nice to have this capability in the official plugin. Thanks! -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-10879) Support transparent status bar for Android
[ https://issues.apache.org/jira/browse/CB-10879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15885419#comment-15885419 ] ASF GitHub Bot commented on CB-10879: - Github user Lazza commented on a diff in the pull request: https://github.com/apache/cordova-plugin-statusbar/pull/77#discussion_r103162781 --- Diff: src/android/StatusBar.java --- @@ -142,6 +142,23 @@ public void run() { return true; } +if ("overlaysWebView".equals(action)) { --- End diff -- I am not sure what you mean here. The method has the same name of the equivalent one already existing for the iOS plug-in. Calling the method from JS works fine and has been tested on multiple Android versions. > Support transparent status bar for Android > -- > > Key: CB-10879 > URL: https://issues.apache.org/jira/browse/CB-10879 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Statusbar > Environment: Android >Reporter: Ray Shan >Priority: Minor > Labels: Android > > Continuation of discussion here: > https://github.com/apache/cordova-plugin-statusbar/pull/22#issuecomment-76480150 > Seems like Android officially endorses transparent status bar now: > http://android-developers.blogspot.com/2015/05/android-design-support-library.html > Example implementation: > https://github.com/ekuwang/cordova-plugin-statusbar > Would be nice to have this capability in the official plugin. Thanks! -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12505) plugin CAMERA--import to eclipse
[ https://issues.apache.org/jira/browse/CB-12505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15885414#comment-15885414 ] judice zhc commented on CB-12505: - Jesus ! Thanks very much ! Are u sure AS could recognize this kind of symbol " ${applicationId} " in a AndroidManifest.xml file ? > plugin CAMERA--import to eclipse > - > > Key: CB-12505 > URL: https://issues.apache.org/jira/browse/CB-12505 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera >Affects Versions: 6.5.0 > Environment: Cordova6.5_Eclipse4.6.2NEON2_jdk1.7_androidSDK6.0 >Reporter: judice zhc >Assignee: jcesarmobile > Labels: cordova, plugin > > I ever imported other projects ,they worked well. > But after I successfully ( builded android ) and( run andoid )of a CAMERA > DEMO by cordova cli on true phone,when I imported project dir to > eclipse,errors happened. > 1ST , AndroidManifest.xml ( android:authorities="${applicationId}.provider" )Tag attribute > authorities has invalid character '$'. > 2nd , in PACKAGE CAMERA ( CameraLauncher.java and CordovaUri.java ) The > import android.support cannot be resolved > I try to add jar from android prj > DIR\build\intermediates\pre-dexed\debug\com.android.support-support-v4-24.1.1_37bc5c75534513e0eba84766e6857428d6bb873b.jar > , this doesn't help . > I wonder why cordova build a AndroidManifest.xml with some symbol like > ${applicationId} which eclipse doesnot understand ? -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-10784) Unable to use Cordova Plugins that use a native view directly on pickContacts callback.
[ https://issues.apache.org/jira/browse/CB-10784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15885350#comment-15885350 ] ASF GitHub Bot commented on CB-10784: - Github user cordova-qa commented on the issue: https://github.com/apache/cordova-plugin-contacts/pull/107 Cordova CI Build has completed successfully. **Commit** - [Link](https://github.com/apache/cordova-plugin-contacts/pull/107/commits/adae9b0e0822e3907108afe18276dff843f770f3) **Dashboard** - [Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83/) | Builder Name | Console Output | Test Report | Device Logs | | :---: | :---: | :---: | :---:| | [Windows 10 Store]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=windows-10-store/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=windows-10-store/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=windows-10-store/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=windows-10-store/artifact/) | | [iOS 9.3]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=ios-9.3/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=ios-9.3/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=ios-9.3/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=ios-9.3/artifact/) | | [iOS 10.0]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=ios-10.0/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=ios-10.0/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=ios-10.0/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=ios-10.0/artifact/) | | [Android]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=android/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=android/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=android/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/83//PLATFORM=android/artifact/) | > Unable to use Cordova Plugins that use a native view directly on pickContacts > callback. > --- > > Key: CB-10784 > URL: https://issues.apache.org/jira/browse/CB-10784 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Contacts >Affects Versions: Master > Environment: iOS >Reporter: Cory Thompson >Priority: Minor > Labels: ios, pendingPR, triaged > > I attempted to open a native dialog directly after a using pickContacts and > receive the following error on iOS. > navigator.contacts.pickContact(onContactItemPickedSuccess, > onContactItemPickedError); > function onContactItemPickedSuccess(contact) { > navigator.notification.confirm(…); > } > Warning: Attempt to present on > whose view is not in the window hierarchy! > A workaround is wrap the confirmation code using a JavaScript setTimeout for > 1000ms. > I’ve dug into the Objective C code and what I suspect is happening is that > the successCallback is called before the animation for closing the > CDVContactsPicker has finished. > I’ve tested moving the callback after the close animation and my issue is > resolved. I will include a pull request in the comments. > The only potential problem I see with this is the original author may have > decided to return before animation close so that a user could update the HTML > behind the contactPicker therefore appearing to load much faster. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-10784) Unable to use Cordova Plugins that use a native view directly on pickContacts callback.
[ https://issues.apache.org/jira/browse/CB-10784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15885314#comment-15885314 ] ASF GitHub Bot commented on CB-10784: - Github user alsorokin commented on the issue: https://github.com/apache/cordova-plugin-contacts/pull/107 Rebasing on top of the master should resolve test failures. > Unable to use Cordova Plugins that use a native view directly on pickContacts > callback. > --- > > Key: CB-10784 > URL: https://issues.apache.org/jira/browse/CB-10784 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Contacts >Affects Versions: Master > Environment: iOS >Reporter: Cory Thompson >Priority: Minor > Labels: ios, pendingPR, triaged > > I attempted to open a native dialog directly after a using pickContacts and > receive the following error on iOS. > navigator.contacts.pickContact(onContactItemPickedSuccess, > onContactItemPickedError); > function onContactItemPickedSuccess(contact) { > navigator.notification.confirm(…); > } > Warning: Attempt to present on > whose view is not in the window hierarchy! > A workaround is wrap the confirmation code using a JavaScript setTimeout for > 1000ms. > I’ve dug into the Objective C code and what I suspect is happening is that > the successCallback is called before the animation for closing the > CDVContactsPicker has finished. > I’ve tested moving the callback after the close animation and my issue is > resolved. I will include a pull request in the comments. > The only potential problem I see with this is the original author may have > decided to return before animation close so that a user could update the HTML > behind the contactPicker therefore appearing to load much faster. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org