Studyxnet / FilePicker-Plugin-for-Xamarin-and-Windows

FilePicker Plugin for Xamarin and Windows
MIT License
74 stars 52 forks source link

NotImplementedException in iOS #3

Closed zipgenius closed 7 years ago

zipgenius commented 8 years ago

Hello. I'm trying to use your package for iOS development. I called: var ss = CrossFilePicker.Current;

But I got a System.NotImplementedException. Am I using it right? What's the correct way to use CrossFilePicker?

drmolfar commented 8 years ago

Same issue on iOS. Android and UWP works fine. Checked both 1.1.0 and 1.0.0 versions.

touchjet commented 8 years ago

I am having the same issue, notice that the Nuget package added to my iOS project is a PCL one.

I think this is the cause of the problem, but don't know how to solve it beside trying to compile the FilePicker and import assemblies myself instead of using Nuget.

drmolfar commented 8 years ago

Yes, importing assemblies manually solve the problem.

sreekanthbantu commented 8 years ago

Issue was solved by importing dll's but not getting 'file name', showing null.

Mark-van-Dijk commented 7 years ago

I'm having the same problem. This is my first time with xamarin. I understand i need to import the ios assembly manually.

can somebody please tell me how:

  1. to get the assembly for ios?
  2. to import it manually?

Thanks in advance!

edit to answer my own questions:

  1. you can find the library path at the library properties when imported with nuget. You need the one in the directory called "monotouch10";
  2. how to import dll library: http://stackoverflow.com/questions/25670152/add-portable-class-library-in-dll-form-to-xamarin-studio

after I did this the error disappeared. Instead i got an icloud error, but that's because my config is not correct.

markobls commented 7 years ago

Thanks @Mark-van-Dijk I had the same problem and your answear helped me. Ty

jfversluis commented 7 years ago

Not sure what the status of this issue is. Could you please open a new one if this is still happening?