[jira] [Commented] (CB-13787) Cordova plugin screen orientation iOS not locking view correctly
[ https://issues.apache.org/jira/browse/CB-13787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16357969#comment-16357969 ] Adrian Jarc commented on CB-13787: -- Ye I would try to fix it but I am too busy with the project I am working on in my firm. So I hope one of you guys is going to fix it. > Cordova plugin screen orientation iOS not locking view correctly > > > Key: CB-13787 > URL: https://issues.apache.org/jira/browse/CB-13787 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-screen-orientation > Environment: iPhone 6S iOS 11.2.1 > cordova-plugin-screen-orientation@3.0.1 and lower > Ionic v1.7.16 > Cordova v6.5.0 > > > >Reporter: Adrian Jarc >Priority: Blocker > Attachments: ScreenOrientation Bug.mp4 > > > Bug happens if you have an app that is locked to portrait mode and have a > component that temporarily turns the app into landscape. While iPhone is > turned to portrait mode it works normally but once you turn it to landscape > (from view that is locked to portrait) and fire the component that is > supposed to turn the app to landscape the app doesn't turn. Similar bug > happens when turning the app back to portrait. > See the video for full bug replication demonstration. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13856) cordova plugin list prints helper message to STDOUT instead of STDERR
Ryan Williams created CB-13856: -- Summary: cordova plugin list prints helper message to STDOUT instead of STDERR Key: CB-13856 URL: https://issues.apache.org/jira/browse/CB-13856 Project: Apache Cordova Issue Type: Bug Components: cordova-cli Affects Versions: Master Reporter: Ryan Williams The message "No plugins added. Use `cordova plugin add `." is printed to STDOUT when running the command "cordova plugin list" when there are no plugins installed. It should be printed to STDERR instead to be consistent with other linux programs. Ryans-Mac:MyApp ryan$ cordova plugin list 2>/dev/null No plugins added. Use `cordova plugin add `. Ryans-Mac:MyApp ryan$ cordova plugin list 2>/dev/null | wc -l 1 -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-11893) CocoaPods support: Provide a way to add use_frameworks! on the Podfile
[ https://issues.apache.org/jira/browse/CB-11893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16357835#comment-16357835 ] Shazron Abdullah edited comment on CB-11893 at 2/9/18 2:06 AM: --- [~swinx] MyPluginThatUsesADynamicFrameworkCocoaPod is just a name. This is how you specify a CocoaPod in a plugin's plugin.xml. If that plugin needs use_frameworks, we need to know about it, thus overloading the type. It's still a "podspec", it just has this extra annotation. If a plugin's cocoapod has this type and annotation, we flag it if other plugins install other cocoapods *without* it. We don't have resources to work on everything, especially this, so this is the easiest proposal considering long Apache release rules and testing, but if you want to submit a PR and do everything, and test it, that will be appreciated as well. No backports. was (Author: shazron): [~swinx] MyPluginThatUsesADynamicFrameworkCocoaPod is just a name. This is how you specify a CocoaPod in a plugin's plugin.xml. If that plugin needs use_frameworks, we need to know about it, thus overloading the type. It's still a "podspec", it just has this extra annotation. If a plugin's framework has this type and annotation, we flag it if other plugins install other cocoapods *without* it. We don't have resources to work on everything, especially this, so this is the easiest proposal considering long Apache release rules and testing, but if you want to submit a PR and do everything, and test it, that will be appreciated as well. No backports. > CocoaPods support: Provide a way to add use_frameworks! on the Podfile > -- > > Key: CB-11893 > URL: https://issues.apache.org/jira/browse/CB-11893 > Project: Apache Cordova > Issue Type: New Feature > Components: cordova-ios >Reporter: jcesarmobile >Priority: Major > Labels: backlog > Fix For: cordova-ios@5.0.0 > > Attachments: Integrating Static Library With Cocoapods > Use_frameworks.pdf > > > If the library you want to use on the plugin uses Swift or you want to use > dynamic frameworks you have to add use_frameworks! on the Podfile > I don't think there is a way of adding it right now. > We should provide a way of adding it -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11893) CocoaPods support: Provide a way to add use_frameworks! on the Podfile
[ https://issues.apache.org/jira/browse/CB-11893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16357835#comment-16357835 ] Shazron Abdullah commented on CB-11893: --- [~swinx] MyPluginThatUsesADynamicFrameworkCocoaPod is just a name. This is how you specify a CocoaPod in a plugin's plugin.xml. If that plugin needs use_frameworks, we need to know about it, thus overloading the type. It's still a "podspec", it just has this extra annotation. If a plugin's framework has this type and annotation, we flag it if other plugins install other cocoapods *without* it. We don't have resources to work on everything, especially this, so this is the easiest proposal considering long Apache release rules and testing, but if you want to submit a PR and do everything, and test it, that will be appreciated as well. No backports. > CocoaPods support: Provide a way to add use_frameworks! on the Podfile > -- > > Key: CB-11893 > URL: https://issues.apache.org/jira/browse/CB-11893 > Project: Apache Cordova > Issue Type: New Feature > Components: cordova-ios >Reporter: jcesarmobile >Priority: Major > Labels: backlog > Fix For: cordova-ios@5.0.0 > > Attachments: Integrating Static Library With Cocoapods > Use_frameworks.pdf > > > If the library you want to use on the plugin uses Swift or you want to use > dynamic frameworks you have to add use_frameworks! on the Podfile > I don't think there is a way of adding it right now. > We should provide a way of adding it -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11893) CocoaPods support: Provide a way to add use_frameworks! on the Podfile
[ https://issues.apache.org/jira/browse/CB-11893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16357822#comment-16357822 ] Ilya Isupov commented on CB-11893: -- [~shazron] not sure how are you going to make dynamic frameworks only dependencies which require it when CocoaPods missing this feature. Are you going to contribute to CocoaPods repo? Regarding this example code: {code:xml} {code} Not sure I understand why do we connecting here `MyPluginThatUsesADynamicFrameworkCocoaPod` since this is a declaration for a pod dependency in a plugin, not a cordova app depending on a plugin. About declaring use_frameworks - seems it will be not really consistent and intuitive to have this declaration as overloaded `type` attribute because other settings using their own specific attributes. Why do you see here problem? The `type=podspec` framework is a uniq type of the framework, it's logical for it to have specific attributes. Or you think that blocker is requirement to release a new version of cordova-lib to fully support this with new attribute? How about backport to earlier versions in this case? > CocoaPods support: Provide a way to add use_frameworks! on the Podfile > -- > > Key: CB-11893 > URL: https://issues.apache.org/jira/browse/CB-11893 > Project: Apache Cordova > Issue Type: New Feature > Components: cordova-ios >Reporter: jcesarmobile >Priority: Major > Labels: backlog > Fix For: cordova-ios@5.0.0 > > Attachments: Integrating Static Library With Cocoapods > Use_frameworks.pdf > > > If the library you want to use on the plugin uses Swift or you want to use > dynamic frameworks you have to add use_frameworks! on the Podfile > I don't think there is a way of adding it right now. > We should provide a way of adding it -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13797) Fetch failing to install plugin dependencies
[ https://issues.apache.org/jira/browse/CB-13797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16357754#comment-16357754 ] Steve Gill commented on CB-13797: - I can't reproduce this. I tried with cordova@8 from npm and my local dev. I added cordova-android and installed code-push. No issues. Than I tried restoring code-push via config.xml/package.json. No issue. > Fetch failing to install plugin dependencies > > > Key: CB-13797 > URL: https://issues.apache.org/jira/browse/CB-13797 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-fetch > Environment: cordova@8.0.0 > cordova-common@2.2.1 > cordova-lib@8.0.0 > cordova-fetch@1.3.0 > npm@5.6.0 > node@9.4.0 > >Reporter: Darryl Pogue >Priority: Critical > > I'm currently unable to install Microsoft's cordova-plugin-code-push due to > some incredibly confusing errors when installing the plugin dependencies. > The plugin [lists 3 > dependencies|https://github.com/Microsoft/cordova-plugin-code-push/blob/e828a5eacd42dcd81bacf121a3e62735c3500227/plugin.xml#L10-L12] > in plugin.xml. > Cordova successfully installs the first (code-push) dependency. > Cordova attempts to install the second (cordova-plugin-device) dependency. It > appears that the npm install is successful. > At the end of the npm install, cordova-fetch [attempts to > discover|https://github.com/apache/cordova-fetch/blob/master/index.js#L100] > what was just installed. Rather than finding "cordova-plugin-device", it > finds "code-push" for a second time. > Then it fails with the following confusing error message: > {noformat} > Failed to install 'cordova-plugin-code-push': Error: Expected plugin to have > ID "cordova-plugin-dialogs" but got "code-push".{noformat} > The full verbose output from {{cordova prepare}} is below: > {noformat} > Discovered plugin "cordova-plugin-code-push" in config.xml. Adding it to the > project > No scripts found for hook "before_plugin_add". > Calling plugman.fetch on plugin "cordova-plugin-code-push@^1.11.2" > Running command: npm install cordova-plugin-code-push@^1.11.2 --production > --no-save > Command finished with error code 0: npm > install,cordova-plugin-code-push@^1.11.2,--production,--no-save > Copying plugin "/PROJECT/node_modules/cordova-plugin-code-push" => > "/PROJECT/plugins/cordova-plugin-code-push" > Calling plugman.install on plugin "/PROJECT/plugins/cordova-plugin-code-push" > for platform "android > Installing "cordova-plugin-code-push" for android > Running command: /PROJECT/platforms/android/cordova/version > Command finished with error code 0: > /PROJECT/platforms/android/cordova/version > Dependencies detected, iterating through them... > Requesting plugin "code-push@2.0.4". > Plugin dependency "code-push" not fetched, retrieving then installing. > Running command: npm install code-push@2.0.4 --production --no-save > Command finished with error code 0: npm > install,code-push@2.0.4,--production,--no-save > Copying plugin "/PROJECT/node_modules/code-push" => > "/PROJECT/plugins/code-push" > Installing "code-push" for android > Finding scripts for "before_plugin_install" hook from plugin code-push on > android platform only. > No scripts found for hook "before_plugin_install". > Install start for "code-push" on android. > Beginning processing of action stack for android project... > Action stack processing complete. > Install complete for code-push on android. > Finding scripts for "after_plugin_install" hook from plugin code-push on > android platform only. > No scripts found for hook "after_plugin_install". > Requesting plugin "cordova-plugin-dialogs@>=1.1.1". > Plugin dependency "cordova-plugin-dialogs" not fetched, retrieving then > installing. > Running command: npm install cordova-plugin-dialogs@>=1.1.1 --production > --no-save > Command finished with error code 0: npm > install,cordova-plugin-dialogs@>=1.1.1,--production,--no-save > Copying plugin "/PROJECT/node_modules/code-push" => > "/PROJECT/plugins/code-push" > Failed to install 'cordova-plugin-code-push': Error: Expected plugin to have > ID "cordova-plugin-dialogs" but got "code-push". > at checkID (/PROJECT/node_modules/cordova-lib/src/plugman/fetch.js:215:15) > at /PROJECT/node_modules/cordova-lib/src/plugman/fetch.js:199:9 > at _fulfilled (/PROJECT/node_modules/cordova-lib/node_modules/q/q.js:787:54) > at self.promiseDispatch.done > (/PROJECT/node_modules/cordova-lib/node_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch > (/PROJECT/node_modules/cordova-lib/node_modules/q/q.js:749:13) > at /PROJECT/node_modules/cordova-lib/node_modules/q/q.js:557:44 > at flush (/PROJECT/node_modules/cordova-lib/node_modules/q/q.js:108:17) > at process._tickCallback (internal/process/next_tick.js:150:11) > Failed to restore plugin
[jira] [Commented] (CB-13834) Fix tests failure with VS17 caused by CB-12499
[ https://issues.apache.org/jira/browse/CB-13834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16357672#comment-16357672 ] ASF GitHub Bot commented on CB-13834: - janpio commented on a change in pull request #248: CB-13834 TEST WIP FOR DISCUSSION DO NOT MERGE URL: https://github.com/apache/cordova-windows/pull/248#discussion_r167090025 ## File path: spec/e2e/endtoend.spec.js ## @@ -203,7 +213,7 @@ describe('Cordova create and build', function () { // here be 6a -it('spec.6b should generate appxupload and appxbundle for Windows 10 project bundle release build', function () { +it('spec.6b should generate appxupload and appxbundle for Windows Phone 8.1 project bundle release build (all target platforms)', function () { Review comment: ah interesting, missed that before This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Fix tests failure with VS17 caused by CB-12499 > -- > > Key: CB-13834 > URL: https://issues.apache.org/jira/browse/CB-13834 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-windows >Reporter: Jan Piotrowski (Sujan) >Priority: Major > > The file `Default.rd.xml` introduced by CB-12499 is unfortunately causing > test failures on AppVeyor when Visual Studio 2017 is used to build with > params `--release --bundle --archs="x64 x86 arm"`. > > {code:java} > Started > Creating Cordova Windows Project: > Path: testcreate 応用 > Namespace: com.test.app > Name: 応用 > Windows project created with cordova-windows@5.1.0-dev > Building project: C:\projects\cordova-windows\testcreate > 応用\CordovaApp.Windows10.jsproj > Configuration : release > Platform : x64 > Patching 10 in prebuild event... > Injected base.js reference to the www/index.html > Removing /( > *)(