Installation
bun add nitro-google-signin
bun run nitro-ui prepare
The NitroUI CLI 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 and Gradle dependencies into the Android runtime library. There is nothing to link by hand.
Match the nitro-core version
The package depends on nitro-core 1.0.0-alpha.nightly.138.g43e09c161101 exactly. The NitroUI CLI requires every module to resolve the same nitro-core as the SDK, so an app whose NitroUI release pins another nightly (NitroUI 0.3.0 pins .137) must override both packages in its package.json:
package.json
{
"overrides": {
"nitro-core": "1.0.0-alpha.nightly.138.g43e09c161101",
"nitrogen": "1.0.0-alpha.nightly.138.g43e09c161101"
}
}
Run bun install and bun run nitro-ui prepare again after adding the overrides.
Peer dependency
nitro-ui-renderer 0.3.0 or newer. NitroUI apps already depend on it.
Next
Create the OAuth clients the native SDKs need.