uaepass 0.0.1 copy "uaepass: ^0.0.1" to clipboard
uaepass: ^0.0.1 copied to clipboard

unlistedoutdated

UAE PASS service allows using a mobile device as a secure form of identification. UAE PASS automates and simplifies managing digital identity in mobile devices for users and can be used to - Seamless [...]

uaepass #

Generic badge

Default

Installation #

In your pubspec.yaml file within your Flutter Project:

dependencies:
  flutter_uaepass: <latest_version>

iOS #

Add any URL schemes passed to canLaunchUrl as LSApplicationQueriesSchemes entries in your Info.plist file, otherwise it will return false.

Example:

<key>CFBundleURLTypes</key>
<array>
    <dict>
        <key>CFBundleURLName</key>
        <string>deeplink.flutter.dev</string>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>{custom App Scheme}</string>
        </array>
    </dict>
</array>
<key>LSApplicationQueriesSchemes</key>
<array>
    <string>uaepass</string> // for Production
    <string>uaepassstg</string> // for Staging
</array>

Android #

Add any URL schemes passed to canLaunchUrl as <queries> entries in your AndroidManifest.xml, otherwise it will return false in most cases starting on Android 11 (API 30) or higher. A <queries> element must be added to your manifest as a child of the root element.

Example:

<!-- Provide required visibility configuration for API level 30 and above -->
<queries>
  <!-- If your app checks for SMS support -->
  <intent>
    <action android:name="android.intent.action.VIEW" />
    <data android:scheme="sms" />
  </intent>
  <!-- If your app checks for call support -->
  <intent>
    <action android:name="android.intent.action.VIEW" />
    <data android:scheme="tel" />
  </intent>
</queries>

Use it #

import 'package:uaepass/uaepass.dart';

UaepassLoginButton();

Please make sure to dispose both controller widgets after use. For example by overriding the dispose method of the a StatefulWidget:

Example #

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

void main() {
  Uaepass.init(env: UaePassEnv.stg, appScheme: '{custom App Scheme}');
  runApp(
    const MaterialApp(
      home: Material(
        child: Center(
          child: UaepassLoginButton(),
        ),
      ),
    ),
  );
}

1
likes
0
points
20
downloads

Publisher

verified publisheralkhajeh.me

Weekly Downloads

UAE PASS service allows using a mobile device as a secure form of identification. UAE PASS automates and simplifies managing digital identity in mobile devices for users and can be used to - Seamless authentication to various smart services. - Prove Who You are from your phone - Authenticate.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_inappwebview, http, plugin_platform_interface, url_launcher

More

Packages that depend on uaepass

Packages that implement uaepass