geonode_sdk 2.0.0 copy "geonode_sdk: ^2.0.0" to clipboard
geonode_sdk: ^2.0.0 copied to clipboard

Flutter bindings for the Geonode SDK with bundled native libraries.

geonode_sdk #

Flutter bindings for the Geonode SDK.

This package bundles the native Geonode SDK for Flutter apps on Android, Linux, macOS, and Windows, and exposes a small FFI-based Dart API for initializing the SDK and managing its connection lifecycle.

Supported platforms #

  • Android
  • Linux
  • macOS
  • Windows

Installation #

dependencies:
  geonode_sdk: ^2.0.0

Then run:

flutter pub get

Usage #

import 'package:geonode_sdk/geonode_sdk.dart';

final sdk = GeonodeSdk.initialize(
  apiKey,
  const GeonodeAppInfo(
    id: 'your-app-id',
    userId: 'app-user-id',
    version: '1.0.0',
    buildNumber: '1',
  ),
);

await sdk.connect();

// ...

await sdk.disconnect();
sdk.dispose();

API overview #

  • GeonodeSdk.initialize(...) creates a native SDK handle.
  • connect() and disconnect() run the native operations off the UI isolate.
  • isRunning reports the current native connection state.
  • dispose() frees the native SDK handle and should be called during teardown.

Notes #

  • The plugin loads bundled native libraries automatically for each supported platform.
1
likes
130
points
--
downloads

Documentation

API reference

Publisher

verified publishergeonode.com

Flutter bindings for the Geonode SDK with bundled native libraries.

Homepage

Topics

#monetization #ffi

License

unknown (license)

Dependencies

ffi, flutter, plugin_platform_interface

More

Packages that depend on geonode_sdk

Packages that implement geonode_sdk