appboxo_sdk 0.1.1 copy "appboxo_sdk: ^0.1.1" to clipboard
appboxo_sdk: ^0.1.1 copied to clipboard

outdated

A Flutter plugin to integrate the Appboxo for iOS and Android.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:appboxo_sdk/appboxo_sdk.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
    AppboxoSdk.setConfig("[your_appboxo_client_id]");
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Appboxo SDK Test'),
        ),
        body: Center(
          child: RaisedButton(
            onPressed: () {
              AppboxoSdk.openMiniApp("miniapp_id", "[payload]");
            },
            child: Text("Miniapp"),
          ),
        ),
      ),
    );
  }
}
3
likes
0
pub points
46%
popularity

Publisher

verified publisherappboxo.com

A Flutter plugin to integrate the Appboxo for iOS and Android.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on appboxo_sdk