[jira] [Created] (CB-13979) getEditConfigs() and getConfigFiles() only work for the first tag
Kevin Christopher Henry created CB-13979: Summary: getEditConfigs() and getConfigFiles() only work for the first tag Key: CB-13979 URL: https://issues.apache.org/jira/browse/CB-13979 Project: Apache Cordova Issue Type: Bug Components: cordova-common Affects Versions: Master Reporter: Kevin Christopher Henry I ran into something strange - my configuration would change based on the ordering of elements in config.xml. Looking at the source code, the culprit is getEditConfigs() and getConfigFiles() in ConfigParser.js. Unlike the rest of the code they only look in the first platform tag for config directives: {{var platform_tag = this.doc.find('./platform[@name="' + platform + '"]');}} {{var platform_edit_configs = platform_tag ? platform_tag.findall('edit-config') : [];}} This should probably be something like this instead (untested): {{var platform_edit_configs = this.doc.findall('./platform[@name="' + platform + '"]/edit-config');}} And similarly for getConfigFiles(). -- 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-10857) Camera.getPicture return null for Google Drive (camera 2.1.1)
[ https://issues.apache.org/jira/browse/CB-10857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400414#comment-16400414 ] ASF GitHub Bot commented on CB-10857: - mglendrange commented on issue #198: CB-10857 android : Camera.getPicture return null for Google Drive (camera 2.1.1) URL: https://github.com/apache/cordova-plugin-camera/pull/198#issuecomment-373375854 Since there was no progress here we have moved away from using this plugin to handle uploads. Instead we trigger a click on a hidden HTML input field with type set to file. You need to add an event listener that listens to the change event and use a FileReader to handle the change event. Works almost perfect for both iOS and Android. Only issue is accessing OneDrive, where nothing is returned. For taking photos we still use this plugin on Android as the camera would not trigger when clicking the input field, but for iOS we are also doing this now by triggering a click on the input field. 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 > Camera.getPicture return null for Google Drive (camera 2.1.1) > - > > Key: CB-10857 > URL: https://issues.apache.org/jira/browse/CB-10857 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera >Affects Versions: 2.1.1 > Environment: Android - Tested on 6.0.1 >Reporter: Dagfinn Parnas >Assignee: Joe Bowser >Priority: Major > Labels: android, mustfix, reproduced, triaged > Attachments: Filepicker_google_drive.png > > > Camera.getPicture returns null for pictures and other files when using Google > Drive in version 2.1.1. Other sources in the generic file picker such as > Images, Photos and Astro File Manager works. > The camera plugin gets a null value in processResultFromGallery > 03-14 10:21:00.066: D/CameraLauncher(21662): File locaton is: null > The return value from the file picker is > content://com.google.android.apps.docs.storage/document/acc%3D1%3Bdoc%3D3000 > (see android log below) > Code sample: > {code} > navigator.camera.getPicture(onPhotoURISuccess, onFail, { > quality: 50, > correctOrientation: true, > destinationType: destinationType.FILE_URI, > sourceType: Camera.PictureSourceType.PHOTOLIBRARY, > mediaType: Camera.MediaType.ALLMEDIA, > }); > {code} > Android log: > {code} > 03-14 10:48:31.969: I/ActivityManager(914): Displayed > com.android.documentsui/.DocumentsActivity: +146ms (total +172ms) > 03-14 10:48:31.974: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=2, sortOrder=2 > 03-14 10:48:40.310: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=1, sortOrder=1 > 03-14 10:48:44.279: D/NetlinkSocketObserver(914): > NeighborEvent{elapsedMs=447463541, 10.4.67.1, [FEA087606419], RTM_NEWNEIGH, > NUD_STALE} > 03-14 10:48:45.778: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=1, sortOrder=1 > 03-14 10:48:46.192: D/ConnectivityService(914): updateNetworkScore for > NetworkAgentInfo [WIFI () - 148] to 55 > 03-14 10:48:48.832: I/Atfwd_Sendcmd(1677): AtCmdFwd service not ready - > Exhausted retry attempts - :6 > 03-14 10:48:48.833: I/Atfwd_Daemon(1677): result : -1 ,Init step :2 > ,qmiErrorCode: 0 > 03-14 10:48:49.211: D/ConnectivityService(914): updateNetworkScore for > NetworkAgentInfo [WIFI () - 148] to 56 > 03-14 10:48:49.243: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=1, sortOrder=1 > 03-14 10:48:52.028: D/Documents(19828): onFinished() > [content://com.google.android.apps.docs.storage/document/acc%3D1%3Bdoc%3D3000] > 03-14 10:48:52.049: D/CordovaInterfaceImpl(2469): Sending activity result to > plugin > 03-14 10:48:52.051: D/CameraLauncher(2469): File locaton is: null > 03-14 10:48:52.056: I/chromium(2469): [INFO:CONSOLE(39)] "onPhotoURISuccess: > null", source: > file:///android_asset/www/neptune/public/application/z_cats_login_bouvet/js/loglevel-persistlogstrings.js > (39) > {code} > Related to https://issues.apache.org/jira/browse/CB-10270 > PS Updated android log -- 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-13964) 'Make' command to build cordova website dont work in windows
[ https://issues.apache.org/jira/browse/CB-13964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400862#comment-16400862 ] ASF GitHub Bot commented on CB-13964: - gandhirajan opened a new pull request #806: CB-13964: Fixed make clean for windows URL: https://github.com/apache/cordova-docs/pull/806 This PR fixes 'make clean' command issue in windows OS. 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 > 'Make' command to build cordova website dont work in windows > > > Key: CB-13964 > URL: https://issues.apache.org/jira/browse/CB-13964 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-docs >Reporter: Gandhirajan >Priority: Critical > > Make commands for cordova website devleopment dont work in windows OS -- 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-13972) Requirements check failed for JDK 1.8 or greater
[ https://issues.apache.org/jira/browse/CB-13972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400917#comment-16400917 ] Joe Bowser commented on CB-13972: - [~johnwargo] Java 9 doesn't play well with Android. We're fixing a docs error. I don't know if that's related to your issue, but you should install Java 8. > Requirements check failed for JDK 1.8 or greater > > > Key: CB-13972 > URL: https://issues.apache.org/jira/browse/CB-13972 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli >Affects Versions: cordova-android-7.0.0 > Environment: Windows 10 64 (10.0.16229.248) >Reporter: John M. Wargo >Priority: Blocker > > I've got a problem with my Java config, but the CLI reports the error then > reports that it's deployed the app (when it hasn't). > {{JAVA_HOME=D:\Program Files\Java\jdk-9.0.1}} > {{(node:10316) UnhandledPromiseRejectionWarning: CordovaError: Requirements > check failed for JDK 1.8 or greater}} > {{ at > D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\lib\check_reqs.js:370:19}} > {{ at _fulfilled > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:854:54)}} > {{ at self.promiseDispatch.done > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:883:30)}} > {{ at Promise.promise.promiseDispatch > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:816:13)}} > {{ at > D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:624:44}} > {{ at runSingle > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:137:13)}} > {{ at flush > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:125:13)}} > {{ at _combinedTickCallback (internal/process/next_tick.js:131:7)}} > {{ at process._tickCallback (internal/process/next_tick.js:180:9)}} > {{(node:10316) UnhandledPromiseRejectionWarning: Unhandled promise rejection. > This error originated either by throwing inside of an async function without > a catch block, or by rejecting a promise which was not handled with .catch(). > (rejection id: 1)}} > {{(node:10316) [DEP0018] DeprecationWarning: Unhandled promise rejections are > deprecated. In the future, promise rejections that are not handled will > terminate the Node.js process with a non-zero exit code.}} > {{[18:26:17] lint finished in 2.66 s}}{{[OK] Your app has been deployed.}} > {{ Did you know you can live-reload changes from your app with --livereload?}} -- 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-13964) 'Make' command to build cordova website dont work in windows
[ https://issues.apache.org/jira/browse/CB-13964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400937#comment-16400937 ] ASF GitHub Bot commented on CB-13964: - dblotsky commented on a change in pull request #806: CB-13964: Fixed make clean for windows URL: https://github.com/apache/cordova-docs/pull/806#discussion_r174888588 ## File path: Makefile ## @@ -14,6 +14,8 @@ SHELL = cmd JEKYLL = bundle.bat exec jekyll CAT= type LS = ls +RM = cmd /C del /Q /F +RMDIR = cmd /C rmdir /S /Q Review comment: Nitpick: align equals signs. 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 > 'Make' command to build cordova website dont work in windows > > > Key: CB-13964 > URL: https://issues.apache.org/jira/browse/CB-13964 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-docs >Reporter: Gandhirajan >Priority: Critical > > Make commands for cordova website devleopment dont work in windows OS -- 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-13964) 'Make' command to build cordova website dont work in windows
[ https://issues.apache.org/jira/browse/CB-13964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400936#comment-16400936 ] ASF GitHub Bot commented on CB-13964: - dblotsky commented on a change in pull request #806: CB-13964: Fixed make clean for windows URL: https://github.com/apache/cordova-docs/pull/806#discussion_r174890317 ## File path: Makefile ## @@ -297,9 +323,10 @@ clean: $(RM) $(PLUGINS_APP) $(RM) -r $(CSS_DEST_DIR) $(RM) $(FETCHED_FILES) +endif nuke: clean $(RM) -r node_modules $(RM) Gemfile.lock -.PHONY: clean usage help default build fetch $(DEV_DOCS) +.PHONY: clean usage help default build fetch $(DEV_DOCS) Review comment: Nitpick: no newline at end of file. 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 > 'Make' command to build cordova website dont work in windows > > > Key: CB-13964 > URL: https://issues.apache.org/jira/browse/CB-13964 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-docs >Reporter: Gandhirajan >Priority: Critical > > Make commands for cordova website devleopment dont work in windows OS -- 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-13964) 'Make' command to build cordova website dont work in windows
[ https://issues.apache.org/jira/browse/CB-13964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400938#comment-16400938 ] ASF GitHub Bot commented on CB-13964: - dblotsky commented on a change in pull request #806: CB-13964: Fixed make clean for windows URL: https://github.com/apache/cordova-docs/pull/806#discussion_r174890234 ## File path: Makefile ## @@ -287,6 +300,19 @@ $(CSS_DEST_DIR)/%.css: $(CSS_SRC_DIR)/%.css $(call printfile,$<) >> $@ # maintenance +ifdef WINDOWS +clean: + $(RM) $(VERSION_CONFIG) + $(RM) $(DEFAULTS_CONFIG) + $(RM) $(DOCS_PAGE_LIST) + $(RM) $(DOCS_VERSION_DATA) + $(RM) $(TOC_FILES) + $(RM) $(PLUGINS_APP) + $(RM) $(FETCHED_FILES) + IF EXIST "$(CSS_DEST_DIR)" $(RMDIR) $(CSS_DEST_DIR) + IF EXIST "$(PROD_DIR)" $(RMDIR) $(PROD_DIR) + IF EXIST "$(DEV_DIR)" $(RMDIR) $(DEV_DIR) Review comment: As above, you can avoid the `if`/`else` here by defining `RM` differently. Also, you can avoid the `IF EXIST` by adding a `-` to the beginning of the line, which will tell Make to ignore any errors. So: ``` -$(RMDIR) $(CSS_DEST_DIR) ``` instead of ``` $(RMDIR) $(CSS_DEST_DIR) ``` 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 > 'Make' command to build cordova website dont work in windows > > > Key: CB-13964 > URL: https://issues.apache.org/jira/browse/CB-13964 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-docs >Reporter: Gandhirajan >Priority: Critical > > Make commands for cordova website devleopment dont work in windows OS -- 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-13964) 'Make' command to build cordova website dont work in windows
[ https://issues.apache.org/jira/browse/CB-13964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400935#comment-16400935 ] ASF GitHub Bot commented on CB-13964: - dblotsky commented on a change in pull request #806: CB-13964: Fixed make clean for windows URL: https://github.com/apache/cordova-docs/pull/806#discussion_r174889719 ## File path: Makefile ## @@ -154,6 +156,17 @@ JEKYLL_FLAGS = BUILD_DATA = $(DOCS_VERSION_DATA) $(DOCS_PAGE_LIST) $(TOC_FILES) +ifdef WINDOWS + VERSION_CONFIG := $(subst /,\,$(VERSION_CONFIG)) + DEFAULTS_CONFIG := $(subst /,\,$(DEFAULTS_CONFIG)) + DOCS_PAGE_LIST := $(subst /,\,$(DOCS_PAGE_LIST)) + DOCS_VERSION_DATA:= $(subst /,\,$(DOCS_VERSION_DATA)) + TOC_FILES:= $(subst /,\,$(TOC_FILES)) + PLUGINS_APP := $(subst /,\,$(PLUGINS_APP)) + CSS_DEST_DIR := $(subst /,\,$(CSS_DEST_DIR)) + FETCHED_FILES:= $(subst /,\,$(FETCHED_FILES)) +endif Review comment: This could break other uses of these files. Instead, change the definition of `RM` and `RMDIR` to escape slashes, like how `makedir` does it [here](https://github.com/apache/cordova-docs/blob/master/Makefile#L36). 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 > 'Make' command to build cordova website dont work in windows > > > Key: CB-13964 > URL: https://issues.apache.org/jira/browse/CB-13964 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-docs >Reporter: Gandhirajan >Priority: Critical > > Make commands for cordova website devleopment dont work in windows OS -- 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] [Updated] (CB-13978) Swift 3-4 support
[ https://issues.apache.org/jira/browse/CB-13978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter updated CB-13978: --- Attachment: (was: AppDelegate.swift) > Swift 3-4 support > - > > Key: CB-13978 > URL: https://issues.apache.org/jira/browse/CB-13978 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli, cordova-ios >Affects Versions: cordova-android-7.0.0 >Reporter: Peter >Assignee: Suraj Pindoria >Priority: Blocker > > I tried to transform the cordova-plugin-fcm to Swift, and i realized lots of > bugs. > 1, I cannot configure the use_targets! in the pod file, there is no flag for > it. > 2, the target device preference does not pick up the version. (it goes to > default 8) > 3, Automatically set some capabilities like Capabilities -> Background mode - > Remote notification in my workspace. I have no idea how to configure it > automatically. > The cordova build is failing, however the xcode version seems to me working: > ProcessProductPackaging "" > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > cd /Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/Pods > export > PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" > builtin-productPackagingUtility -entitlements -format xml -o > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > warning: Falling back to contents of entitlements file > "Entitlements-Debug.plist" because it was modified during the build process. > Modifying the entitlements file during the build is unsupported.error: The > file "Entitlements-Debug.plist" couldn't be opened because there is no such > file. > * > ** BUILD FAILED ** > The following build commands failed: > ProcessProductPackaging "" > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > (1 failure) > (node:2660) UnhandledPromiseRejectionWarning: Error code 65 for command: > xcodebuild with args: > -xcconfig,/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/cordova/build-debug.xcconfig,-workspace,MyScoutee.xcworkspace,-scheme,MyScoutee,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS > Simulator,name=iPhone > SE,build,CONFIGURATION_BUILD_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/sharedpch > (node:2660) UnhandledPromiseRejectionWarning: Unhandled promise rejection. > This error originated either by throwing inside of an async function without > a catch block, or by rejecting a promise which was not handled with .catch(). > (rejection id: 1) > (node:2660) [DEP0018] DeprecationWarning: Unhandled promise rejections are > deprecated. In the future, promise rejections that are not handled will > terminate the Node.js process with a non-zero exit code. > 4, With swift 3.2 i was able to access the methods of the plugin, but with > swift4, the methods were unavailable. (the class has been identified) > There is a swift support plugin, but i would like to set the bridging header > once, instead of creating a new one. I have used a cocoapod-support plugin, > although it was not working. I think both of the them should be integrated > into the cordova. > I have wasted more than 10 hours to hack around the plugin config to make it > work. -- 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] [Updated] (CB-13978) Swift 3-4 support
[ https://issues.apache.org/jira/browse/CB-13978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter updated CB-13978: --- Attachment: (was: Bridging-Header.h) > Swift 3-4 support > - > > Key: CB-13978 > URL: https://issues.apache.org/jira/browse/CB-13978 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli, cordova-ios >Affects Versions: cordova-android-7.0.0 >Reporter: Peter >Assignee: Suraj Pindoria >Priority: Blocker > > I tried to transform the cordova-plugin-fcm to Swift, and i realized lots of > bugs. > 1, I cannot configure the use_targets! in the pod file, there is no flag for > it. > 2, the target device preference does not pick up the version. (it goes to > default 8) > 3, Automatically set some capabilities like Capabilities -> Background mode - > Remote notification in my workspace. I have no idea how to configure it > automatically. > The cordova build is failing, however the xcode version seems to me working: > ProcessProductPackaging "" > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > cd /Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/Pods > export > PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" > builtin-productPackagingUtility -entitlements -format xml -o > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > warning: Falling back to contents of entitlements file > "Entitlements-Debug.plist" because it was modified during the build process. > Modifying the entitlements file during the build is unsupported.error: The > file "Entitlements-Debug.plist" couldn't be opened because there is no such > file. > * > ** BUILD FAILED ** > The following build commands failed: > ProcessProductPackaging "" > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > (1 failure) > (node:2660) UnhandledPromiseRejectionWarning: Error code 65 for command: > xcodebuild with args: > -xcconfig,/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/cordova/build-debug.xcconfig,-workspace,MyScoutee.xcworkspace,-scheme,MyScoutee,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS > Simulator,name=iPhone > SE,build,CONFIGURATION_BUILD_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/sharedpch > (node:2660) UnhandledPromiseRejectionWarning: Unhandled promise rejection. > This error originated either by throwing inside of an async function without > a catch block, or by rejecting a promise which was not handled with .catch(). > (rejection id: 1) > (node:2660) [DEP0018] DeprecationWarning: Unhandled promise rejections are > deprecated. In the future, promise rejections that are not handled will > terminate the Node.js process with a non-zero exit code. > 4, With swift 3.2 i was able to access the methods of the plugin, but with > swift4, the methods were unavailable. (the class has been identified) > There is a swift support plugin, but i would like to set the bridging header > once, instead of creating a new one. I have used a cocoapod-support plugin, > although it was not working. I think both of the them should be integrated > into the cordova. > I have wasted more than 10 hours to hack around the plugin config to make it > work. -- 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] [Updated] (CB-13978) Swift 3-4 support
[ https://issues.apache.org/jira/browse/CB-13978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter updated CB-13978: --- Attachment: (was: plugin.xml) > Swift 3-4 support > - > > Key: CB-13978 > URL: https://issues.apache.org/jira/browse/CB-13978 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli, cordova-ios >Affects Versions: cordova-android-7.0.0 >Reporter: Peter >Assignee: Suraj Pindoria >Priority: Blocker > > I tried to transform the cordova-plugin-fcm to Swift, and i realized lots of > bugs. > 1, I cannot configure the use_targets! in the pod file, there is no flag for > it. > 2, the target device preference does not pick up the version. (it goes to > default 8) > 3, Automatically set some capabilities like Capabilities -> Background mode - > Remote notification in my workspace. I have no idea how to configure it > automatically. > The cordova build is failing, however the xcode version seems to me working: > ProcessProductPackaging "" > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > cd /Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/Pods > export > PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" > builtin-productPackagingUtility -entitlements -format xml -o > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > warning: Falling back to contents of entitlements file > "Entitlements-Debug.plist" because it was modified during the build process. > Modifying the entitlements file during the build is unsupported.error: The > file "Entitlements-Debug.plist" couldn't be opened because there is no such > file. > * > ** BUILD FAILED ** > The following build commands failed: > ProcessProductPackaging "" > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > (1 failure) > (node:2660) UnhandledPromiseRejectionWarning: Error code 65 for command: > xcodebuild with args: > -xcconfig,/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/cordova/build-debug.xcconfig,-workspace,MyScoutee.xcworkspace,-scheme,MyScoutee,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS > Simulator,name=iPhone > SE,build,CONFIGURATION_BUILD_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/sharedpch > (node:2660) UnhandledPromiseRejectionWarning: Unhandled promise rejection. > This error originated either by throwing inside of an async function without > a catch block, or by rejecting a promise which was not handled with .catch(). > (rejection id: 1) > (node:2660) [DEP0018] DeprecationWarning: Unhandled promise rejections are > deprecated. In the future, promise rejections that are not handled will > terminate the Node.js process with a non-zero exit code. > 4, With swift 3.2 i was able to access the methods of the plugin, but with > swift4, the methods were unavailable. (the class has been identified) > There is a swift support plugin, but i would like to set the bridging header > once, instead of creating a new one. I have used a cocoapod-support plugin, > although it was not working. I think both of the them should be integrated > into the cordova. > I have wasted more than 10 hours to hack around the plugin config to make it > work. -- 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] [Updated] (CB-13978) Swift 3-4 support
[ https://issues.apache.org/jira/browse/CB-13978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter updated CB-13978: --- Attachment: (was: Podfile) > Swift 3-4 support > - > > Key: CB-13978 > URL: https://issues.apache.org/jira/browse/CB-13978 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli, cordova-ios >Affects Versions: cordova-android-7.0.0 >Reporter: Peter >Assignee: Suraj Pindoria >Priority: Blocker > > I tried to transform the cordova-plugin-fcm to Swift, and i realized lots of > bugs. > 1, I cannot configure the use_targets! in the pod file, there is no flag for > it. > 2, the target device preference does not pick up the version. (it goes to > default 8) > 3, Automatically set some capabilities like Capabilities -> Background mode - > Remote notification in my workspace. I have no idea how to configure it > automatically. > The cordova build is failing, however the xcode version seems to me working: > ProcessProductPackaging "" > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > cd /Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/Pods > export > PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" > builtin-productPackagingUtility -entitlements -format xml -o > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > warning: Falling back to contents of entitlements file > "Entitlements-Debug.plist" because it was modified during the build process. > Modifying the entitlements file during the build is unsupported.error: The > file "Entitlements-Debug.plist" couldn't be opened because there is no such > file. > * > ** BUILD FAILED ** > The following build commands failed: > ProcessProductPackaging "" > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > (1 failure) > (node:2660) UnhandledPromiseRejectionWarning: Error code 65 for command: > xcodebuild with args: > -xcconfig,/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/cordova/build-debug.xcconfig,-workspace,MyScoutee.xcworkspace,-scheme,MyScoutee,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS > Simulator,name=iPhone > SE,build,CONFIGURATION_BUILD_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/sharedpch > (node:2660) UnhandledPromiseRejectionWarning: Unhandled promise rejection. > This error originated either by throwing inside of an async function without > a catch block, or by rejecting a promise which was not handled with .catch(). > (rejection id: 1) > (node:2660) [DEP0018] DeprecationWarning: Unhandled promise rejections are > deprecated. In the future, promise rejections that are not handled will > terminate the Node.js process with a non-zero exit code. > 4, With swift 3.2 i was able to access the methods of the plugin, but with > swift4, the methods were unavailable. (the class has been identified) > There is a swift support plugin, but i would like to set the bridging header > once, instead of creating a new one. I have used a cocoapod-support plugin, > although it was not working. I think both of the them should be integrated > into the cordova. > I have wasted more than 10 hours to hack around the plugin config to make it > work. -- 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-13978) Swift 3-4 support
[ https://issues.apache.org/jira/browse/CB-13978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16399832#comment-16399832 ] Peter edited comment on CB-13978 at 3/15/18 7:05 PM: - Even if i tried the plugin in ios simulator, i was able to make it responsive. i cannot share my config.xml, but i haven't made any config there at last, as whatever i tried was broken. You need also a google plist file to test. shared the plugin under [https://github.com/fssrepository/cordova-plugin-fcm-modified] it would be a very good exercise as the swift support is a common interest was (Author: raxim): Even if i tried the plugin in ios simulator, i was able to make it responsive. i cannot share my config.xml, but i haven't made any config there at last, as whatever i tried was broken. You need also a google plist file to test. > Swift 3-4 support > - > > Key: CB-13978 > URL: https://issues.apache.org/jira/browse/CB-13978 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli, cordova-ios >Affects Versions: cordova-android-7.0.0 >Reporter: Peter >Assignee: Suraj Pindoria >Priority: Blocker > > I tried to transform the cordova-plugin-fcm to Swift, and i realized lots of > bugs. > 1, I cannot configure the use_targets! in the pod file, there is no flag for > it. > 2, the target device preference does not pick up the version. (it goes to > default 8) > 3, Automatically set some capabilities like Capabilities -> Background mode - > Remote notification in my workspace. I have no idea how to configure it > automatically. > The cordova build is failing, however the xcode version seems to me working: > ProcessProductPackaging "" > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > cd /Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/Pods > export > PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" > builtin-productPackagingUtility -entitlements -format xml -o > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > warning: Falling back to contents of entitlements file > "Entitlements-Debug.plist" because it was modified during the build process. > Modifying the entitlements file during the build is unsupported.error: The > file "Entitlements-Debug.plist" couldn't be opened because there is no such > file. > * > ** BUILD FAILED ** > The following build commands failed: > ProcessProductPackaging "" > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > (1 failure) > (node:2660) UnhandledPromiseRejectionWarning: Error code 65 for command: > xcodebuild with args: > -xcconfig,/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/cordova/build-debug.xcconfig,-workspace,MyScoutee.xcworkspace,-scheme,MyScoutee,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS > Simulator,name=iPhone > SE,build,CONFIGURATION_BUILD_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/sharedpch > (node:2660) UnhandledPromiseRejectionWarning: Unhandled promise rejection. > This error originated either by throwing inside of an async function without > a catch block, or by rejecting a promise which was not handled with .catch(). > (rejection id: 1) > (node:2660) [DEP0018] DeprecationWarning: Unhandled promise rejections are > deprecated. In the future, promise rejections that are not handled will > terminate the Node.js process with a non-zero exit code. > 4, With swift 3.2 i was able to access the methods of the plugin, but with > swift4, the methods were unavailable. (the class has been identified) > There is a swift support plugin, but i would like to set the bridging header > once, instead of creating a new one. I have used a cocoapod-support plugin, > although it was not working. I think both of the them should be integrated > into the cordova. > I have wasted more than 10 hours to hack around the plugin config to make it > work. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.
[jira] [Updated] (CB-13978) Swift 3-4 support
[ https://issues.apache.org/jira/browse/CB-13978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter updated CB-13978: --- Attachment: (was: FCMPlugin.swift) > Swift 3-4 support > - > > Key: CB-13978 > URL: https://issues.apache.org/jira/browse/CB-13978 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli, cordova-ios >Affects Versions: cordova-android-7.0.0 >Reporter: Peter >Assignee: Suraj Pindoria >Priority: Blocker > > I tried to transform the cordova-plugin-fcm to Swift, and i realized lots of > bugs. > 1, I cannot configure the use_targets! in the pod file, there is no flag for > it. > 2, the target device preference does not pick up the version. (it goes to > default 8) > 3, Automatically set some capabilities like Capabilities -> Background mode - > Remote notification in my workspace. I have no idea how to configure it > automatically. > The cordova build is failing, however the xcode version seems to me working: > ProcessProductPackaging "" > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > cd /Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/Pods > export > PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" > builtin-productPackagingUtility -entitlements -format xml -o > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > warning: Falling back to contents of entitlements file > "Entitlements-Debug.plist" because it was modified during the build process. > Modifying the entitlements file during the build is unsupported.error: The > file "Entitlements-Debug.plist" couldn't be opened because there is no such > file. > * > ** BUILD FAILED ** > The following build commands failed: > ProcessProductPackaging "" > /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent > (1 failure) > (node:2660) UnhandledPromiseRejectionWarning: Error code 65 for command: > xcodebuild with args: > -xcconfig,/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/cordova/build-debug.xcconfig,-workspace,MyScoutee.xcworkspace,-scheme,MyScoutee,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS > Simulator,name=iPhone > SE,build,CONFIGURATION_BUILD_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/sharedpch > (node:2660) UnhandledPromiseRejectionWarning: Unhandled promise rejection. > This error originated either by throwing inside of an async function without > a catch block, or by rejecting a promise which was not handled with .catch(). > (rejection id: 1) > (node:2660) [DEP0018] DeprecationWarning: Unhandled promise rejections are > deprecated. In the future, promise rejections that are not handled will > terminate the Node.js process with a non-zero exit code. > 4, With swift 3.2 i was able to access the methods of the plugin, but with > swift4, the methods were unavailable. (the class has been identified) > There is a swift support plugin, but i would like to set the bridging header > once, instead of creating a new one. I have used a cocoapod-support plugin, > although it was not working. I think both of the them should be integrated > into the cordova. > I have wasted more than 10 hours to hack around the plugin config to make it > work. -- 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] [Updated] (CB-13978) Swift 3-4 support
[ https://issues.apache.org/jira/browse/CB-13978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter updated CB-13978: --- Description: I tried to transform the cordova-plugin-fcm to Swift, and i realized lots of bugs. 1, I cannot configure the use_targets! in the pod file, there is no flag for it. 2, the target device preference does not pick up the version. (it goes to default 8) 3, Automatically set some capabilities like Capabilities -> Background mode - Remote notification in my workspace. I have no idea how to configure it automatically. The cordova build is failing, however the xcode version seems to me working: ProcessProductPackaging "" /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent cd /Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/Pods export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" builtin-productPackagingUtility -entitlements -format xml -o /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent warning: Falling back to contents of entitlements file "Entitlements-Debug.plist" because it was modified during the build process. Modifying the entitlements file during the build is unsupported.error: The file "Entitlements-Debug.plist" couldn't be opened because there is no such file. * ** BUILD FAILED ** The following build commands failed: ProcessProductPackaging "" /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent (1 failure) (node:2660) UnhandledPromiseRejectionWarning: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/cordova/build-debug.xcconfig,-workspace,MyScoutee.xcworkspace,-scheme,MyScoutee,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone SE,build,CONFIGURATION_BUILD_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/sharedpch (node:2660) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:2660) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 4, With swift 3.2 i was able to access the methods of the plugin, but with swift4, the methods were unavailable. (the class has been identified) There is a swift support plugin, but i would like to set the bridging header once, instead of creating a new one. I have used a cocoapod-support plugin, although it was not working. I think both of the them should be integrated into the cordova. I have wasted more than 10 hours to hack around the plugin config to make it work. 5, The cordova headers went to the emulator folder and it's not set in the workspace. 6, GoogleToolboxForMac framework was not accessible from command line, but it was working under Xcode UI. was: I tried to transform the cordova-plugin-fcm to Swift, and i realized lots of bugs. 1, I cannot configure the use_targets! in the pod file, there is no flag for it. 2, the target device preference does not pick up the version. (it goes to default 8) 3, Automatically set some capabilities like Capabilities -> Background mode - Remote notification in my workspace. I have no idea how to configure it automatically. The cordova build is failing, however the xcode version seems to me working: ProcessProductPackaging "" /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent cd /Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/Pods export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" builtin-productPackagingUtility -entitlements -format xml -o /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iph
[jira] [Commented] (CB-13972) Requirements check failed for JDK 1.8 or greater
[ https://issues.apache.org/jira/browse/CB-13972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401119#comment-16401119 ] John M. Wargo commented on CB-13972: Joe, Thanks. My issue is with Java detection, it's broken on Windows. I have JAVA_HOME set correctly and the Java SDK's bin folder on the path but the CLI tells me it can't find Java. That and once it says it can't find Java, it tells me the app's been installed on my device (when it hasn't been). > Requirements check failed for JDK 1.8 or greater > > > Key: CB-13972 > URL: https://issues.apache.org/jira/browse/CB-13972 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli >Affects Versions: cordova-android-7.0.0 > Environment: Windows 10 64 (10.0.16229.248) >Reporter: John M. Wargo >Priority: Blocker > > I've got a problem with my Java config, but the CLI reports the error then > reports that it's deployed the app (when it hasn't). > {{JAVA_HOME=D:\Program Files\Java\jdk-9.0.1}} > {{(node:10316) UnhandledPromiseRejectionWarning: CordovaError: Requirements > check failed for JDK 1.8 or greater}} > {{ at > D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\lib\check_reqs.js:370:19}} > {{ at _fulfilled > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:854:54)}} > {{ at self.promiseDispatch.done > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:883:30)}} > {{ at Promise.promise.promiseDispatch > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:816:13)}} > {{ at > D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:624:44}} > {{ at runSingle > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:137:13)}} > {{ at flush > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:125:13)}} > {{ at _combinedTickCallback (internal/process/next_tick.js:131:7)}} > {{ at process._tickCallback (internal/process/next_tick.js:180:9)}} > {{(node:10316) UnhandledPromiseRejectionWarning: Unhandled promise rejection. > This error originated either by throwing inside of an async function without > a catch block, or by rejecting a promise which was not handled with .catch(). > (rejection id: 1)}} > {{(node:10316) [DEP0018] DeprecationWarning: Unhandled promise rejections are > deprecated. In the future, promise rejections that are not handled will > terminate the Node.js process with a non-zero exit code.}} > {{[18:26:17] lint finished in 2.66 s}}{{[OK] Your app has been deployed.}} > {{ Did you know you can live-reload changes from your app with --livereload?}} -- 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-13965) Camera app not able to confirm/save/cancel photo after take photo button is pressed
[ https://issues.apache.org/jira/browse/CB-13965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401150#comment-16401150 ] Daniel Hung commented on CB-13965: -- This might be a Microsoft bug. A similar problem is reported here: [https://social.msdn.microsoft.com/Forums/en-US/15312d14-e74e-4fa5-825d-d3f046b758c7/cameracaptureui-is-not-saving-photos?forum=wpdevelop] > Camera app not able to confirm/save/cancel photo after take photo button is > pressed > --- > > Key: CB-13965 > URL: https://issues.apache.org/jira/browse/CB-13965 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera >Affects Versions: 6.5.0 > Environment: Cordova version: 6.5.0 > cordova-plugin-2.4.1 and 2.3.0 > Device: surface > system type: 64-bit operating system, x64-based processor > Edition: Windows 10 Home > Version: 1709 > OS Build: 16299.248 >Reporter: Michael Thurmond >Priority: Major > > After opening the camera app from my Cordova application, I press the camera > button to take a photo, and the device makes the 'click' sound. However, I am > unable to save the photo or cancel the photo. > Event Log Error message: > The application-specific permission settings do not grant Local Activation > permission for the COM Server application with CLSID > {D63B10C5-BB46-4990-A94F-E40B9D520160} > and APPID > {9CA88EE3-ACB7-47C8-AFC4-AB702511C276} > to the user NT AUTHORITY\LOCAL SERVICE SID (S-1-5-19) from address LocalHost > (Using LRPC) running in the application container Unavailable SID > (Unavailable). This security permission can be modified using the Component > Services administrative tool. > > I also noticed that I was never prompted for camera permission when I first > opened the camera app from my Cordova app. I also changed the permissions > from the settings with no luck. -- 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-13972) Requirements check failed for JDK 1.8 or greater
[ https://issues.apache.org/jira/browse/CB-13972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401165#comment-16401165 ] Joe Bowser commented on CB-13972: - OK, I just installed on my new Windows box Cordova, and I didn't even have to set the path to get it to work, but I did install Java 8. I'm guessing that we're not finding javac for Java 9 here, which isn't a bad thing since Android doesn't even work with Java 9. I can keep looking into it, but let me know if downgrading to Java 8 fixes things. > Requirements check failed for JDK 1.8 or greater > > > Key: CB-13972 > URL: https://issues.apache.org/jira/browse/CB-13972 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli >Affects Versions: cordova-android-7.0.0 > Environment: Windows 10 64 (10.0.16229.248) >Reporter: John M. Wargo >Priority: Blocker > > I've got a problem with my Java config, but the CLI reports the error then > reports that it's deployed the app (when it hasn't). > {{JAVA_HOME=D:\Program Files\Java\jdk-9.0.1}} > {{(node:10316) UnhandledPromiseRejectionWarning: CordovaError: Requirements > check failed for JDK 1.8 or greater}} > {{ at > D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\lib\check_reqs.js:370:19}} > {{ at _fulfilled > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:854:54)}} > {{ at self.promiseDispatch.done > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:883:30)}} > {{ at Promise.promise.promiseDispatch > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:816:13)}} > {{ at > D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:624:44}} > {{ at runSingle > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:137:13)}} > {{ at flush > (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:125:13)}} > {{ at _combinedTickCallback (internal/process/next_tick.js:131:7)}} > {{ at process._tickCallback (internal/process/next_tick.js:180:9)}} > {{(node:10316) UnhandledPromiseRejectionWarning: Unhandled promise rejection. > This error originated either by throwing inside of an async function without > a catch block, or by rejecting a promise which was not handled with .catch(). > (rejection id: 1)}} > {{(node:10316) [DEP0018] DeprecationWarning: Unhandled promise rejections are > deprecated. In the future, promise rejections that are not handled will > terminate the Node.js process with a non-zero exit code.}} > {{[18:26:17] lint finished in 2.66 s}}{{[OK] Your app has been deployed.}} > {{ Did you know you can live-reload changes from your app with --livereload?}} -- 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-13980) Cordova app location.reload() causing app to halt
rehan manzoor created CB-13980: -- Summary: Cordova app location.reload() causing app to halt Key: CB-13980 URL: https://issues.apache.org/jira/browse/CB-13980 Project: Apache Cordova Issue Type: Bug Components: cordova-android Affects Versions: 7.0.0, 8.0.0 Environment: framework7.io (v1) cordova 8 (also tested build with cordova 7) Tested on Nexus 6p, Google Pixel 2, Samsung Galaxy s8 Not working. Reporter: rehan manzoor Assignee: Joe Bowser Cordova App was built using framework7.io (v1) cordova 8 (also tested build with cordova 7) it was working fine till the latest software update from android, but now it get stuck whenever the location.reload() is called, i tried other ways to reload the windows e.g. window.location.href, location.href, document.location.href location.replace() window.location.replace() window.location.assign() document.location.assign() document.location.replace() navigator.app.loadUrl() but all causing the app to get stuck, what I concluded from debugging it's not the problem in function, it's maybe webview which is causing the application to get stuck. any suggestion is appreciated. -- 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] [Updated] (CB-13980) Cordova app location.reload() causing app to halt
[ https://issues.apache.org/jira/browse/CB-13980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] rehan manzoor updated CB-13980: --- Description: Cordova App was built using framework7.io (v1) cordova 8 (also tested build with cordova 7) it was working fine till the latest software update from android, but now it get stuck whenever the location.reload() is called, i tried other ways to reload the windows e.g. window.location.href, location.href, document.location.href location.replace() window.location.replace() window.location.assign() document.location.assign() document.location.replace() navigator.app.loadUrl() but all causing the app to get stuck, what I concluded from debugging it's not the problem in function, it's maybe webview which is causing the application to get stuck at reload. any suggestion is appreciated. was: Cordova App was built using framework7.io (v1) cordova 8 (also tested build with cordova 7) it was working fine till the latest software update from android, but now it get stuck whenever the location.reload() is called, i tried other ways to reload the windows e.g. window.location.href, location.href, document.location.href location.replace() window.location.replace() window.location.assign() document.location.assign() document.location.replace() navigator.app.loadUrl() but all causing the app to get stuck, what I concluded from debugging it's not the problem in function, it's maybe webview which is causing the application to get stuck. any suggestion is appreciated. > Cordova app location.reload() causing app to halt > - > > Key: CB-13980 > URL: https://issues.apache.org/jira/browse/CB-13980 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android >Affects Versions: 7.0.0, 8.0.0 > Environment: framework7.io (v1) > cordova 8 (also tested build with cordova 7) > Tested on Nexus 6p, Google Pixel 2, Samsung Galaxy s8 > Not working. >Reporter: rehan manzoor >Assignee: Joe Bowser >Priority: Blocker > > Cordova App was built using > framework7.io (v1) > cordova 8 (also tested build with cordova 7) > it was working fine till the latest software update from android, but now it > get stuck whenever the location.reload() is called, i tried other ways to > reload the windows e.g. > window.location.href, > location.href, > document.location.href > location.replace() > window.location.replace() > window.location.assign() > document.location.assign() > document.location.replace() > navigator.app.loadUrl() > > but all causing the app to get stuck, what I concluded from debugging it's > not the problem in function, it's maybe webview which is causing the > application to get stuck at reload. > any suggestion is appreciated. > -- 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] [Updated] (CB-13980) Cordova Android app location.reload() causing app to halt
[ https://issues.apache.org/jira/browse/CB-13980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] rehan manzoor updated CB-13980: --- Summary: Cordova Android app location.reload() causing app to halt (was: Cordova app location.reload() causing app to halt) > Cordova Android app location.reload() causing app to halt > - > > Key: CB-13980 > URL: https://issues.apache.org/jira/browse/CB-13980 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android >Affects Versions: 7.0.0, 8.0.0 > Environment: framework7.io (v1) > cordova 8 (also tested build with cordova 7) > Tested on Nexus 6p, Google Pixel 2, Samsung Galaxy s8 > Not working. >Reporter: rehan manzoor >Assignee: Joe Bowser >Priority: Blocker > > Cordova App was built using > framework7.io (v1) > cordova 8 (also tested build with cordova 7) > it was working fine till the latest software update from android, but now it > get stuck whenever the location.reload() is called, i tried other ways to > reload the windows e.g. > window.location.href, > location.href, > document.location.href > location.replace() > window.location.replace() > window.location.assign() > document.location.assign() > document.location.replace() > navigator.app.loadUrl() > > but all causing the app to get stuck, what I concluded from debugging it's > not the problem in function, it's maybe webview which is causing the > application to get stuck at reload. > any suggestion is appreciated. > -- 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-13981) cp: copyFileSync: could not write to dest file (code=ENOENT)
Arch created CB-13981: - Summary: cp: copyFileSync: could not write to dest file (code=ENOENT) Key: CB-13981 URL: https://issues.apache.org/jira/browse/CB-13981 Project: Apache Cordova Issue Type: Bug Components: cordova-android Affects Versions: cordova-android-7.0.0 Environment: cordova -v 8.0.0 cordova-android@7.0.0 Mac Reporter: Arch Assignee: Joe Bowser I am seeing following error since the latest upgrade: >cordova build android cp: copyFileSync: could not write to dest file (code=ENOENT):/Users/vkeepe/Dev/github/Keeper/platforms/android/res/xml/config.xml Parsing /Users/vkeepe/Dev/github/Keeper/platforms/android/res/xml/config.xml failed (node:56652) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open '/Users/vkeepe/Dev/github/Keeper/platforms/android/res/xml/config.xml' (node:56652) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. -- 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