Skip to main content

Installation

bun add nitro-apple-signin
bun run nitro-ui prepare

nitro-ui prepare finds the package through its nitro.json, generates its bindings with the app's Nitrogen, and links its Swift package into the iOS build and its Kotlin sources into the Android runtime library. There is no manual Xcode or Gradle step.

Peer dependencies​

PackageRangeProvided by
nitro-ui-renderer^0.3.0Your app
nitro-core1.0.0-alpha.nightly.137.gd4793c40b8b8NitroUI 0.3.x

nitro-core is a peer dependency so the app keeps a single copy: the app's NitroUI release brings it.

:::warning Pinned nightly nitro-core is pinned to an exact nightly, the one NitroUI 0.3.0 depends on. If your app resolves a different nitro-core, the generated bindings and the runtime will not match. Stay on NitroUI 0.3.x. :::

What gets linked​

PlatformModuleSource
iOSSwift package NitroAppleSignIn, iOS 16+ios/ and the generated Swift bindings
AndroidKotlin class HybridAppleSignInandroid/src/main/java/com/margelo/nitro/applesignin

Next: set up iOS.