# SDK (/docs/sdk)



The Layers SDK ships events from your app into the Layers attribution
and ads pipeline. Events POST to `https://in.layers.com/events`, get
stored in `sdk_events`, and are forwarded server-side to Meta CAPI,
TikTok Events API, and Apple Search Ads where configured.

<Cards>
  <Card title="Overview" href="/docs/sdk/overview" description="What the SDK does and when to use it." />

  <Card title="Architecture" href="/docs/sdk/architecture" description="How events flow from app → ingest → attribution → CAPI." />

  <Card title="Quickstart" href="/docs/sdk/quickstart" description="Install a published SDK and fire your first event." />
</Cards>

## Published SDKs [#published-sdks]

These are available on npm today (alpha):

<Cards>
  <Card title="Web / JavaScript" href="/docs/sdk/web" description="@layers/client — browsers, WebViews, any JS runtime." />

  <Card title="React Native" href="/docs/sdk/react-native" description="@layers/react-native — iOS + Android autolinked." />

  <Card title="Expo" href="/docs/sdk/expo" description="@layers/expo — config plugin around React Native." />
</Cards>

`@layers/node` is also published for server-side event firing (same API
as `@layers/client`, runs on Node).

## Not yet published [#not-yet-published]

These platforms have no first-party Layers SDK yet. Interim workarounds
(mostly the web or RN SDK, or a direct HTTPS POST) are documented on
each page:

<Cards>
  <Card title="iOS (native)" href="/docs/sdk/ios" description="Swift SDK — planned. Use React Native today." />

  <Card title="Android (native)" href="/docs/sdk/android" description="Kotlin SDK — planned. Use React Native today." />

  <Card title="Flutter" href="/docs/sdk/flutter" description="pub.dev package — planned." />

  <Card title="Unity" href="/docs/sdk/unity" description="UPM package — planned." />

  <Card title="Cordova / Capacitor" href="/docs/sdk/cordova" description="Use @layers/client inside the WebView." />
</Cards>

## Migration guides [#migration-guides]

<Cards>
  <Card title="From AppsFlyer" href="/docs/sdk/migration-appsflyer" description="Dual-send, then cut over." />

  <Card title="From Adjust" href="/docs/sdk/migration-adjust" description="Event mapping, stitching." />

  <Card title="From Branch" href="/docs/sdk/migration-branch" description="Deep links, attribution." />

  <Card title="From Singular" href="/docs/sdk/migration-singular" description="Event names, install referrer." />

  <Card title="From Firebase" href="/docs/sdk/migration-firebase" description="Analytics → Layers events." />
</Cards>

## Reference [#reference]

<Cards>
  <Card title="Full API reference" href="/docs/sdk/reference" description="Method signatures and config options." />

  <Card title="Event inspector" href="/docs/sdk/event-inspector" description="Debug events in flight." />

  <Card title="Debugging" href="/docs/sdk/debugging" description="Common issues and how to diagnose." />
</Cards>
