Naxam creates and maintains Xamarin.Android bindings for Mapbox Android SDK, including:
- Android SDK
- Core
- Google-Payment
- PayPal OneTouch
- PayPal DataCollector
- Browser Switch
- DropIn UI
The build script for this project uses Cake. To run the build, you can use one of the bootstrapper files either for Mac or Windows (experimental support only):
The bootstrapper script will automatically download Cake.exe and all the required tools and files into the ./tools/ folder.
Required dotnet core tools:
- binderator
Optional dotnet core tools:
- cake
To update all tools:
dotnet tool uninstall -g Cake.Tool
dotnet tool install -g Cake.Tool
dotnet tool uninstall -g Xamarin.AndroidBinderator.Tool
dotnet tool install -g Xamarin.AndroidBinderator.Tool --add-source https://www.myget.org/F/naxam/api/v3/index.jsonThe following targets can be specified:
cibuilds the kitchen sink - what we run in CIlibsbuilds the class library bindings (depends onbinderate)binderatedownloads the external dependencies and generates folder structuresamplesbuilds all of the samples (depends onlibs)nugetbuilds the nuget packages (depends onlibs)cleancleans up everything
NOTE: The binderate build task may take awhile to run as it downloads several large dependencies.
You may want to consider passing --verbosity diagnostic (or -Verbosity diagnostic on Windows) to the bootstrapper to enable more verbose output, including downloading progress.
dotnet cakeBefore the .sln files will compile in Visual Studio or Visual Studio for Mac, the external dependencies need to be downloaded.
This can be done by running the dotnet cake.
After the externals are setup, the .sln files should compile in an IDE.