nielscup / sharefile Goto Github PK
View Code? Open in Web Editor NEWShare files with Xamarin.iOS, Xamarin.Android and Windows
License: MIT License
Share files with Xamarin.iOS, Xamarin.Android and Windows
License: MIT License
File share is causing my app to hang when I try to share a local file to the Notes app (With the compose window open).
I found an issue plugin does not work if i use ContentPage as a Model.
I don't know the problem please guide me the solution.
Thanks
Hello,
I have encountered an issue with the library. I tried using it as documented in the README. On iOS (the only used system) an exception is thrown:
Objective-C exception thrown. Name: NSGenericException Reason: Your application has presented a UIActivityViewController (<UIActivityViewController: 0x7ff620037800>). In its current trait environment, the modalPresentationStyle of a UIActivityViewController with this style is UIModalPresentationPopover. You must provide location information for this popover through the view controller's popoverPresentationController. You must provide either a sourceView and sourceRect or a barButtonItem. If this information is not known when you present the view controller, you may provide it in the UIPopoverPresentationControllerDelegate method -prepareForPopoverPresentation. Native stack trace: 0 CoreFoundation 0x000000010a7121ab __exceptionPreprocess + 171 1 libobjc.A.dylib 0x0000000117ec4f41 objc_exception_throw + 48 2 UIKit 0x000000010f36c7f2 -[UIPopoverPresentationController presentationTransitionWillBegin] + 3290 3 UIKit 0x000000010e7fd19f __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke + 2458 4 UIKit
Is there any suggestion how to solve this?
Thank you in advance whoever will answer.
Please help, i using your plugin in xamarin form. Your plugin success in Android 7.11 but when i run my application in Android 8.0. There aren't action.
I had problem: Access to the path "/storage/emulated/0...." is denied on Android (API Level 25).
WRITE_EXTERNAL_STORAGE and READ_EXTERAL_STORAGE permissions doesn't help.
Finally i solved it changing a localFolder variable in method WriteFile in ShareFileImplementation class:
var localFolder = Android.OS.Environment.ExternalStorageDirectory.AbsolutePath;
to
var localFolder = Android.App.Application.Context.GetExternalFilesDir(null).ToString();
Since .NET standard 2.0 have been release. Is there any plan to add support for .NET standard?
Thanks
Yong
Not sure if it works on iOS (as other mentioned such problems), but it surely crashes on iPad as it is not defined where it should show the arrow...
This should be a useful package, NuGet package should be nice
Hi I am working on Xamarin forms application where I am getting infinite in particular line no error
please check the code CrossShareFile.Current.ShareLocalFile()
this is getting infinite nothing is happen?
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.