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

iNuba Flutter SDK - Integration library for flutter mobile applications

iNuba Flutter SDK #

The iNuba Flutter SDK allows you to integrate iNuba services seamlessly into your Flutter application. Built with simplicity in mind.

The package uses the flutter_inappwebview plugin to provide a robust WebView experience with bidirectional communication.

Installation #

Add the iNuba Flutter SDK to your project by including it in your pubspec.yaml file:

dependencies:
  inuba_flutter_sdk:
    git:
      url: https://bitbucket.org/i-nuba/inuba-flutter-sdk.git
      ref: v0.1.1  # Use specific version tag

Then run:

flutter pub get

Quick Start #

Before initializing the SDK, make sure you have:

  • clientToken: Your application client token provided by iNuba
  • userToken: User authentication token from your iNuba integration

Implementation #

Import the package in your Dart file:

import 'package:inuba_flutter_sdk/inuba_flutter_sdk.dart';

Add the iNuba widget to your app:

INubaSDK(
  clientToken: 'your_client_token',
  userToken: 'your_user_token',
  whitelabel: 'your_white_label',
  environment: 'develop',
)

That's it! The SDK will handle the rest automatically.

Android Configuration #

Add this provider configuration to your android/app/src/main/AndroidManifest.xml inside the <application> tag:

<provider
    android:name="com.pichillilorenzo.flutter_inappwebview_android.InAppWebViewFileProvider"
    android:authorities="${applicationId}.flutter_inappwebview_android.fileprovider"
    android:exported="false"
    android:grantUriPermissions="true">
    <meta-data
        android:name="android.support.FILE_PROVIDER_PATHS"
        android:resource="@xml/provider_paths"/>
</provider>

Support #

For questions or issues, please contact the iNuba development team.

License #

MIT License - see the LICENSE file for details.

3
likes
0
points
60
downloads

Publisher

verified publisheraldahirfernando.dev

Weekly Downloads

iNuba Flutter SDK - Integration library for flutter mobile applications

Homepage
Repository

License

unknown (license)

Dependencies

flutter, flutter_inappwebview

More

Packages that depend on inuba_flutter_sdk