Flinku Docs

Quickstart

Create a Flinku project, wire Universal Links and App Links, install the SDK, and ship your first yourapp.flku.dev/… link.

Step 1: Create a project

  1. Go to app.flinku.dev.
  2. Click New Project.
  3. Enter your app name and subdomain (e.g. yourapp yourapp.flku.dev).
  4. Enter iOS config: Bundle ID, Team ID, App Store URL.
  5. Enter Android config: Package name, SHA-256 fingerprint, Play Store URL.
  6. Click Create Project.

Step 2: Configure iOS (Universal Links)

  1. Open Xcode → your target → Signing & Capabilities.
  2. Click + CapabilityAssociated Domains.
  3. Add: applinks:yourapp.flku.dev

This tells iOS that your app handles links from yourapp.flku.dev.

Step 3: Configure Android (App Links)

Add the following inside your main activity in AndroidManifest.xml:

AndroidManifest.xml
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="https"
android:host="yourapp.flku.dev" />
</intent-filter>

Step 4: Install the SDK

Flutter

pubspec.yaml
dependencies:
flinku_sdk: ^0.7.2

iOS (Swift Package Manager)

swift
Repository: https://github.com/flinku-dev/ios-sdk
Tag: 0.7.1

Android (JitPack)

build.gradle
implementation 'com.github.flinku-dev:android-sdk:0.7.1'

Ensure the JitPack repository (https://jitpack.io) is included in your Gradle settings.

React Native

package.json
"dependencies": {
"flinku-react-native": "^0.7.5"
}

Unity (UPM git URL)

text
https://github.com/flinku-dev/unity-sdk.git#0.7.1

Capacitor

package.json
"dependencies": {
"flinku-capacitor": "^0.7.5"
}

Step 5: Initialize the SDK

Flutter

main.dart
void main() async {
WidgetsFlutterBinding.ensureInitialized();
Flinku.configure(baseUrl: 'https://yourapp.flku.dev');
runApp(MyApp());
}

iOS

MyApp.swift
@main
struct MyApp: App {
init() {
Flinku.configure(baseUrl: "https://yourapp.flku.dev")
}
}

Android

MyApplication.kt
class MyApplication : Application() {
override fun onCreate() {
super.onCreate()
Flinku.configure(this, baseUrl = "https://yourapp.flku.dev")
}
}
💡Tip
Register MyApplication in the manifest android:name if you initialize there.

React Native

flinku.ts
import { Flinku } from 'flinku-react-native';
 
export const flinku = new Flinku({
userId: 'unique-device-or-user-id',
baseUrl: 'https://yourapp.flku.dev',
apiKey: 'flk_pk_...',
});

Capacitor

flinku.ts
import { Flinku } from 'flinku-capacitor';
 
export const flinku = new Flinku({
userId: 'unique-device-or-user-id',
baseUrl: 'https://yourapp.flku.dev',
apiKey: 'flk_pk_...',
});