fabiogomiero / cordova-external-file-open Goto Github PK
View Code? Open in Web Editor NEWA plugin for cordova 3.0.0 for open files with external apps.
A plugin for cordova 3.0.0 for open files with external apps.
Cordova brings some errors, because a valid package.json is missing.
You can create it easily with plugman 'plugman createpackagejson .'
[INF]
[INF] -generate-cache-manifest:
[INF]
[INF] -page:
[INF]
[INF] -after-page:
[INF]
[INF] native-package:
[INF]
[INF] -build:
[INF]
[INF] -after-build:
[INF]
[INF] build:
[INF]
[INF] app-build:
Generating config.xml from defaults for platform "ios"
Preparing ios project
Compiling app on platform "ios" via command "/Volumes/HDD/www/iCoordinatorMobile-cordova/platforms/ios/cordova/build"
Error: An error occurred while building the ios project.2014-02-20 12:09:18.831 xcodebuild[49805:2007] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78
Details: Failed to load dependencies output contents from ``/Volumes/HDD/www/iCoordinatorMobile-cordova/platforms/ios/build/iCoordinatorMobile.build/Debug-iphoneos/iCoordinatorMobile.build/Objects-normal/armv7/FGExternalFileUtil.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “FGExternalFileUtil.d” couldn’t be opened because there is no such file." UserInfo=0x7fa70a4ae450 {NSFilePath=/Volumes/HDD/www/iCoordinatorMobile-cordova/platforms/ios/build/iCoordinatorMobile.build/Debug-iphoneos/iCoordinatorMobile.build/Objects-normal/armv7/FGExternalFileUtil.d, NSUnderlyingError=0x7fa70a48c590 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Volumes/HDD/www/iCoordinatorMobile-cordova/platforms/ios/build/iCoordinatorMobile.build/Debug-iphoneos/iCoordinatorMobile.build/Objects-normal/armv7/FGExternalFileUtil.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn\U2019t be completed. No such file or directory"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString __strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>]
Thread: <NSThread: 0x7fa70a4a8c30>{name = (null), num = 9}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
* BUILD FAILED **
The following build commands failed:
CompileC build/iCoordinatorMobile.build/Debug-iphoneos/iCoordinatorMobile.build/Objects-normal/armv7/FGExternalFileUtil.o iCoordinatorMobile/Plugins/com.fgomiero.cordova.externafileutil/FGExternalFileUtil.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
2014-02-20 12:09:20.159 xcodebuild[50013:7603] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78
Details: Failed to load dependencies output contents from ``/Volumes/HDD/www/iCoordinatorMobile-cordova/platforms/ios/build/iCoordinatorMobile.build/Debug-iphonesimulator/iCoordinatorMobile.build/Objects-normal/i386/FGExternalFileUtil.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “FGExternalFileUtil.d” couldn’t be opened because there is no such file." UserInfo=0x7fa55f5b58f0 {NSFilePath=/Volumes/HDD/www/iCoordinatorMobile-cordova/platforms/ios/build/iCoordinatorMobile.build/Debug-iphonesimulator/iCoordinatorMobile.build/Objects-normal/i386/FGExternalFileUtil.d, NSUnderlyingError=0x7fa55f5b59d0 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Volumes/HDD/www/iCoordinatorMobile-cordova/platforms/ios/build/iCoordinatorMobile.build/Debug-iphonesimulator/iCoordinatorMobile.build/Objects-normal/i386/FGExternalFileUtil.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn\U2019t be completed. No such file or directory"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString __strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>]
Thread: <NSThread: 0x7fa55f5b4c00>{name = (null), num = 9}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
* BUILD FAILED **
The following build commands failed:
CompileC build/iCoordinatorMobile.build/Debug-iphonesimulator/iCoordinatorMobile.build/Objects-normal/i386/FGExternalFileUtil.o iCoordinatorMobile/Plugins/com.fgomiero.cordova.externafileutil/FGExternalFileUtil.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
at ChildProcess.<anonymous> (/usr/local/lib/node_modules/cordova/src/compile.js:65:22)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Socket.<anonymous> (child_process.js:948:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:466:12)
Please upgrade the plugin so it supports cordova-ios 4.0
The new cordova version finally supports WKWebView which has much better performance.
Unfortunately, there are breaking changes in the API which means all plugins need to upgrade.
Please check: https://shazronatadobe.wordpress.com/
Happens on iPad only.
Have tried passing various sized rectangles via options and also without options - but continually getting this error in iOS8:
2014-12-23 12:11:11.606 FieldwisePro[617:80068] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSLayoutConstraint:0x16d492a0 H:[UIView:0x16e54970(402)]>",
"<NSLayoutConstraint:0x16e9d8a0 _UIAlertControllerView:0x16e54ca0.width >= UIView:0x16e54970.width>",
"<NSLayoutConstraint:0x16d3b740 _UIAlertControllerView:0x16e54ca0.width == UIView:0x16d4a9b0.width>",
"<NSLayoutConstraint:0x16e44c40 'UIView-Encapsulated-Layout-Width' H:[UIView:0x16d4a9b0(19)]>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x16d492a0 H:[UIView:0x16e54970(402)]>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
UIDocumentInteractionController
has the functionality to preview a file before showing the "open with" options.
I've already changed the code locally, but want some additional information on how to incorporate it in the plugin;
CGRect
logic is not needed anymore, so can I remove it (breaking change)In comparison to other apps this open with possibility does not deliver the possibility to send a document via mail on iOS.
Is this a known problem or something which can be easily resolved?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.