Hi, for the last fews day I have been trying to implement Parse into either a PCL or .NET Class Library in my Cross Platform (Not Forms) Solution, however I have not been very successful in my endeavor thus far. I would like to for both my iOS and Android app to refer to the same shared functions instead of duplicating the exact code for each.
I keep finding myself on the thread below, and have followed the instructions within, however I consistently get an error stating that Parse has not been initialized.
I do have the code to initialize Parse in my AppDelegate file, as well as my MainActivity. Everything was working fine when calling the Parse Quick Start SDK test code within the iOS or Android project, but not in the .NET Library or PCL.
If there is any confusion, I currently have a PCL and .NET Library in my Solution because I wasn't sure if one was more ideal for what I'm trying to do over the other, so was trying with both. The .NET Library seems to cause a bunch of errors regarding assembly reference after building the project a few times each coding session (So I find myself restarting Xamarin frequently), but also seems to be OK with running on a Simulator / Device and using any methods or functions form the Library without caring about the errors (Which is a very strange but separate issue).
Another important piece of information is that I downloaded the Parse SDK 1.6.2, and have iOS referencing Parse.iOS.dll, Android referencing Parse.Android.dll, and the Shared Libraries referencing Parse.dll.
So basically my question is: Has anyone found success in using Parse strictly in a Shared Library / PCL, and can offer simple and clear instructions on how one can do this? I can't imagine there being many steps or being difficult, I think I'm just in need of clear step by step instructions.
Thanks so much for all and any help!