tiki_sdk_flutter 2.1.5 copy "tiki_sdk_flutter: ^2.1.5" to clipboard
tiki_sdk_flutter: ^2.1.5 copied to clipboard

A package for adding TIKI's decentralized infrastructure to Flutter projects. Add tokenized data ownership, consent, and rewards to your app in minutes.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:tiki_sdk_flutter/tiki_sdk.dart';

const String origin = "com.mytiki.tiki_sdk_example";
const String publishingId = "e12f5b7b-6b48-4503-8b39-28e4995b5f88";

void main() async {
  await TikiSdk.config().initialize(publishingId, "test_user_123", onComplete: () =>
    runApp(const MyApp())
  );
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'TIKI SDK Example App',
        home: Scaffold(body: Column(
          children: [
            ElevatedButton(onPressed:
              () => TikiSdk.present(context), child: const Text("Start")),
            ElevatedButton(onPressed:
              () => TikiSdk.settings(context), child: const Text("Settings"))
          ],
        )));
  }
}
0
likes
0
pub points
0%
popularity

Publisher

verified publishermytiki.com

A package for adding TIKI's decentralized infrastructure to Flutter projects. Add tokenized data ownership, consent, and rewards to your app in minutes.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, flutter_markdown, flutter_secure_storage, package_info_plus, path_provider, permission_handler, sqlite3, sqlite3_flutter_libs, tiki_sdk_dart, uuid

More

Packages that depend on tiki_sdk_flutter