geolite_sdk 1.0.3 copy "geolite_sdk: ^1.0.3" to clipboard
geolite_sdk: ^1.0.3 copied to clipboard

Flutter plugin for Geolite SDK integration

Geosentry SDK Flutter Package #

A Flutter package that integrates the Geosentry SDK's Android AAR and iOS frameworks to provide native functionality in your Flutter applications.

Features #

  • Seamless integration with Geosentry SDK for Android
  • Easy-to-use Geosentry SDK integration for iOS
  • Platform-specific implementation handling
  • Simple API for accessing Geosentry functionality

Getting Started #

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  geosentry_sdk: ^0.0.1

Platform-Specific Setup #

Android

  1. Place your AAR file in the android/libs directory
  2. Add the following to your android/build.gradle:
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.aar'])
}

iOS

  1. Add your framework to the iOS project
  2. Update your Podfile to include the framework
  3. Run pod install

Usage #

import 'package:geosentry_sdk/geosentry_sdk.dart';

// Initialize the SDK
Future<void> initializeSDK() async {
  try {
    const apiKey = 'YOUR_API_KEY';
    const cipherKey = 'YOUR_CIPHER_KEY';
    const userID = 'USER_ID';

    final response = await GeosentrySdk.initialize(
      apiKey: apiKey,
      cipherKey: cipherKey,
      userID: userID,
    );
    print('SDK Initialization Success: $response');
  } catch (error) {
    print('SDK Initialization Error: $error');
  }
}

Additional Information #

  • For more detailed documentation, visit the online documentation
  • File issues and feature requests at issue tracker
  • Contribute to the package at repository

License #

This project is licensed under the MIT License - see the LICENSE file for details

2
likes
140
points
50
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for Geolite SDK integration

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on geolite_sdk