Skip to content

Bridger-Watch/csharp-sdk

Repository files navigation

BridgerBallistics (C#)

A drop-in .NET SDK for sending a ballistic profile from your app to the Bridger app, which forwards it to the Bridger Watch. C# builds native iOS and Android apps through .NET MAUI (and legacy Xamarin), so this SDK lets a C#/.NET ballistics app integrate with Bridger exactly like the native Swift and Kotlin SDKs.

You build a profile (or hand us JSON you already have) and call one method. The SDK produces the exact JSON Bridger expects, handles all four payload encodings, base64, strict URL escaping, and pre-flight validation. You never touch the wire format yourself.

This is the C# counterpart of the BridgerBallistics (Swift) and BridgerAndroidBallistics (Kotlin) SDKs; all three emit the identical wire format, so a profile from any of them is byte-compatible with both the iOS and Android Bridger apps.

  • Zero third-party dependencies. BCL only (System.Text.Json, System.IO.Compression, System.Convert).
  • One call. using BridgerBallistics;Bridger.ImportUrl(profile) → hand the URL to your platform's launcher.
  • Validates before it sends, so a malformed profile fails in your app with a clear message instead of being rejected on the watch.

Requirements

Target framework net8.0 (consumed by net8.0-ios, net8.0-android, MAUI, or any .NET 8 app)
Language C# 12
UI frameworks .NET MAUI (recommended) or Xamarin.iOS/Android

The core (model, validation, JSON, encoding, URL building) is platform-agnostic net8.0 — no MAUI dependency — so it also unit-tests on plain .NET. The single call that launches Bridger or opens the share sheet is made by your app using your framework's API (examples below).


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages