xamarin / Monkey.BluetoothLE

BluetoothLE abstraction for use with Xamarin projects, including Xamarin.Forms.
Apache License 2.0
349 stars 225 forks source link

Question on how to reference Monkey.Robotics from PCL project #37

Open smoy opened 9 years ago

smoy commented 9 years ago

Looking through Robotics.Mobile.BtLEExplorer.Core, it references the Mobile stack via project reference. If I want to use the Mobile stack for my Core project, what's a good way to reference it?

Would I add a git submodule to pull down all of Monkey.Robotics and add project reference just like BLE Explorer? Or is there a cleaner NuGet approach?

Cheers, Steven

smoy commented 9 years ago

After adding the Monkey.Robotics component into my Droid project, i see it includes Robotics.Mobile.Core.dll in android, ios and ios-unified. I guess I can just add reference to Robotics.Mobile.Core.dll in my PCL project to get the Mobile stack references.

Is this a typical approach of using a Xamarin component? (sorry for such a noob reference since this is my first Xamarin component usage)

deadlyfingers commented 9 years ago

+1 Seems like there is no package reference available for Xamarin.Forms PCL project? I have tried switching on the 'Show pre-release packages' as well.