[jira] [Created] (CB-13526) Error: "Cannot find name 'device'." in a Angular 4 Project while running ng build.
Roy Ackermann created CB-13526: -- Summary: Error: "Cannot find name 'device'." in a Angular 4 Project while running ng build. Key: CB-13526 URL: https://issues.apache.org/jira/browse/CB-13526 Project: Apache Cordova Issue Type: Bug Components: cordova-plugin-device Environment: cordova-plugin-file: 4.3.3 cordova: 7.0.1 Desktop: Windows 10 Reporter: Roy Ackermann Priority: Blocking I would like to load an Angular 4 project with Cordova. For this, I build my Amngular App with ng build and copy it into the /WWW directory of Cordova. This works so far. Now I have installed the file plugin in the cordova project. In addition, I have installed the NPM module @types/cordova-plugin-file to the angular project, where the type definitions are inclued. the structure: - cordova projekt-root --- node_modules --- www --- plugins -- cordova-file-plugin --- .. --- angular projekt-root -- node_modules - @types cordova-file-plugin -- src -- tsconfig.json -- . Here are the typesRoots Part of my tsconfig.json file, wich include all index.d.ts files from the"node_modules/@types" folder. "typeRoots": [ "node_modules/@types" ] It works for example for jJQuery or other libraries. But not for all cordova plugins. Because, in the index.d.ts files from cordova plugins, there are no exports. There are ony declarations from variables. But not exported. When i run ng build, i get the error "Cannot find name 'device'." Is there an error in the typedefinitions from the cordova plugins? -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-5398) Pick image from Library or Photo album on android 4.4
[ https://issues.apache.org/jira/browse/CB-5398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14011138#comment-14011138 ] Roy Ackermann commented on CB-5398: --- [~mrbillau] [CB-6761|https://issues.apache.org/jira/browse/CB-6761] Pick image from Library or Photo album on android 4.4 - Key: CB-5398 URL: https://issues.apache.org/jira/browse/CB-5398 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin Camera Affects Versions: 2.9.0, 3.2.0 Environment: android 4.4 Reporter: julio cesar Assignee: Mike Billau Fix For: 3.5.0 An android 4.4 try to pick a photo using pictureSource.PHOTOLIBRARY or pictureSource.SAVEDPHOTOALBUM and return type destinationType.FILE_URI. Now android 4.4, when you select the above options, it opens an open from dialog that let you choose from new places as Recent, Drive, Images and Downloads (the names might not be the same as I use the device in spanish and translated it). If you choose any of them, you get an error, AndroidProtocolHandler, unable to open content URL: the url here with a content://com.android.providers format. I've tested on phonegap 2.9 because this is the version I use, but I suppose it affects all of them. (in fact I use 2.9.1) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CB-6758) Pick image from Library or Photo album on android 4.4 New Bug
Roy Ackermann created CB-6758: - Summary: Pick image from Library or Photo album on android 4.4 New Bug Key: CB-6758 URL: https://issues.apache.org/jira/browse/CB-6758 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.5.0 Environment: Nexus 5, Android 4.4.2 Reporter: Roy Ackermann Now i have installed cordova 3.5 and camera plugin 0.2.9 When i call {code:title=Code|borderStyle=solid} navigator.camera.getPicture(onSuccessGetPhoto, onFailCamera, { targetWidth: 1000,targetHeight: 1000, quality: 65, destinationType: Camera.DestinationType.FILE_URI , saveToPhotoAlbum: false , sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM, correctOrientation:true}); {code} i get the following error: {panel:title=error|titleBGColor=#CE|bgColor=#CE} Could get real path for URI string content://com.android.providers.media.documents/document/image%3A1415 {panel} The success callback and error callback will not be called. If i call the function again, the first and the second image will be processed. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CB-6761) Calling a function the first time no callbacks are being executed
Roy Ackermann created CB-6761: - Summary: Calling a function the first time no callbacks are being executed Key: CB-6761 URL: https://issues.apache.org/jira/browse/CB-6761 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.5.0 Environment: Nexus 5, Android 4.4.2 Reporter: Roy Ackermann Using different functions the same error occurs. Calling a function the first time no callbacks are being executed. There is no error in the log. Using the same function again for a second call, everything works fine. Now the first call is being executed as well and I receive the callback from the first excution. It looks like something is wainting. It is odd that the second call works and executes the first call as well. I found this bug on this calls: - window.requestFileSystem(LocalFileSystem.PERSISTENT, 3097152, gotFS, fail); - navigator.camera.getPicture(onSuccessCapturePhoto, onFailCamera, { targetWidth: 1200, targetHeight: 1200, quality: 55, destinationType: Camera.DestinationType.FILE_URI, saveToPhotoAlbum: true, correctOrientation:true}); - navigator.camera.getPicture(onSuccessGetPhoto, onFailCamera, { targetWidth: 1000,targetHeight: 1000, quality: 65, destinationType: Camera.DestinationType.FILE_URI , saveToPhotoAlbum: false , sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM, correctOrientation:true}); -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CB-6761) Calling a function the first time no callbacks are being executed
[ https://issues.apache.org/jira/browse/CB-6761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roy Ackermann updated CB-6761: -- Priority: Blocker (was: Major) Calling a function the first time no callbacks are being executed - Key: CB-6761 URL: https://issues.apache.org/jira/browse/CB-6761 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.5.0 Environment: Nexus 5, Android 4.4.2 Reporter: Roy Ackermann Priority: Blocker Labels: callback, function Using different functions the same error occurs. Calling a function the first time no callbacks are being executed. There is no error in the log. Using the same function again for a second call, everything works fine. Now the first call is being executed as well and I receive the callback from the first excution. It looks like something is wainting. It is odd that the second call works and executes the first call as well. I found this bug on this calls: - window.requestFileSystem(LocalFileSystem.PERSISTENT, 3097152, gotFS, fail); - navigator.camera.getPicture(onSuccessCapturePhoto, onFailCamera, { targetWidth: 1200, targetHeight: 1200, quality: 55, destinationType: Camera.DestinationType.FILE_URI, saveToPhotoAlbum: true, correctOrientation:true}); - navigator.camera.getPicture(onSuccessGetPhoto, onFailCamera, { targetWidth: 1000,targetHeight: 1000, quality: 65, destinationType: Camera.DestinationType.FILE_URI , saveToPhotoAlbum: false , sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM, correctOrientation:true}); -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-5398) Pick image from Library or Photo album on android 4.4
[ https://issues.apache.org/jira/browse/CB-5398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14008926#comment-14008926 ] Roy Ackermann commented on CB-5398: --- Now i have installed cordova 3.5 and camera plugin 0.2.9 When i call {code:title=Code|borderStyle=solid} navigator.camera.getPicture(onSuccessGetPhoto, onFailCamera, { targetWidth: 1000,targetHeight: 1000, quality: 65, destinationType: Camera.DestinationType.FILE_URI , saveToPhotoAlbum: false , sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM, correctOrientation:true}); {code} i get the following error: {panel:title=error|titleBGColor=#CE|bgColor=#CE} Could get real path for URI string content://com.android.providers.media.documents/document/image%3A1415 {panel} The success callback and error callback will not be called. If i call the function again, the first and the second image will be processed. Pick image from Library or Photo album on android 4.4 - Key: CB-5398 URL: https://issues.apache.org/jira/browse/CB-5398 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin Camera Affects Versions: 2.9.0, 3.2.0 Environment: android 4.4 Reporter: julio cesar Assignee: Mike Billau Fix For: 3.5.0 An android 4.4 try to pick a photo using pictureSource.PHOTOLIBRARY or pictureSource.SAVEDPHOTOALBUM and return type destinationType.FILE_URI. Now android 4.4, when you select the above options, it opens an open from dialog that let you choose from new places as Recent, Drive, Images and Downloads (the names might not be the same as I use the device in spanish and translated it). If you choose any of them, you get an error, AndroidProtocolHandler, unable to open content URL: the url here with a content://com.android.providers format. I've tested on phonegap 2.9 because this is the version I use, but I suppose it affects all of them. (in fact I use 2.9.1) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CB-4582) crash when calling camera.getPicture
Roy Ackermann created CB-4582: - Summary: crash when calling camera.getPicture Key: CB-4582 URL: https://issues.apache.org/jira/browse/CB-4582 Project: Apache Cordova Issue Type: Bug Reporter: Roy Ackermann Sometimes an error occurs when calling: navigator.camera.getPicture(onSuccessCapturePhoto, onFailCamera, { targetWidth: 1200, targetHeight: 1200, quality: 65, destinationType: Camera.DestinationType.FILE_URI, saveToPhotoAlbum: true , correctOrientation:true}); Trace: error opening trace file: No such file or directory (2) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4583) onClick
Roy Ackermann created CB-4583: - Summary: onClick Key: CB-4583 URL: https://issues.apache.org/jira/browse/CB-4583 Project: Apache Cordova Issue Type: Bug Reporter: Roy Ackermann Sometimes an error occurs when you click the display Errors: - singleCursorHandlerTouchEvent -getEditableSupport FASLE - webcoreglue: Should not happen: no rect-based-test nodes found -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-4582) crash when calling camera.getPicture
[ https://issues.apache.org/jira/browse/CB-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roy Ackermann updated CB-4582: -- Environment: Eclipse keppler, Android 4.1.2 Affects Version/s: 3.0.0 crash when calling camera.getPicture Key: CB-4582 URL: https://issues.apache.org/jira/browse/CB-4582 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.0.0 Environment: Eclipse keppler, Android 4.1.2 Reporter: Roy Ackermann Sometimes an error occurs when calling: navigator.camera.getPicture(onSuccessCapturePhoto, onFailCamera, { targetWidth: 1200, targetHeight: 1200, quality: 65, destinationType: Camera.DestinationType.FILE_URI, saveToPhotoAlbum: true , correctOrientation:true}); Trace: error opening trace file: No such file or directory (2) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-4583) onClick
[ https://issues.apache.org/jira/browse/CB-4583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roy Ackermann updated CB-4583: -- Environment: Eclipse keppler, Android 4.1.2 Affects Version/s: 3.0.0 onClick --- Key: CB-4583 URL: https://issues.apache.org/jira/browse/CB-4583 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.0.0 Environment: Eclipse keppler, Android 4.1.2 Reporter: Roy Ackermann Sometimes an error occurs when you click the display Errors: - singleCursorHandlerTouchEvent -getEditableSupport FASLE - webcoreglue: Should not happen: no rect-based-test nodes found -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira