Skip to main content

Get Started Flutter

1. Requirements

The Weavr Flutter SDK utilises the Weavr Flutter SDK for Dart, you need the following,

  1. Active UI Key from the Embedder Portal
  2. Weavr Flutter SDK ( .zip ) you add Biometric authentication to your flutter app.

2. Installation

You can install the Weavr flutter SDK manually by opening Manual install It's convenient if you download the zipped Flutter SDK and drag into your project’s root folder and add below into pubspec.yaml

weavr_components:
path: ./external/mobile-sdk-flutter

And, add firebase messaging library into pubspec.yaml

Firebase_messaging: 14.2.5

3. Initialize the SDK

you can Import the libraries wherever you use the components like

import 'package:weavr_components'

And, initialize the Weavr component SDK by

WeavrComponents().uxComponentsInitialise(ENV.sandbox, uiKey!);
WeavrComponents.psa.initialize(ENV.sandbox, uiKey);