FOYS Authic SDK

Flutter SDK for FOYS authentication and integration services.

Known Issues

  • There is a font rendering issue on flutter 3.38.0

Google Fonts

  • In order to work google_fonts package correctly you need to add following code into pubspec.yaml
  assets:
    - assets/

Features

  • Authentication functionality for FOYS users
  • QR code generation and scanning
  • Social account connectivity
  • Loyalty program integration
  • Reward management
  • Interactive UI components

Installation

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

dependencies:
  foys_authic_loyalty_sdk: ^0.0.2

Usage

import 'package:foys_authic_loyalty_sdk/foys_authic_loyalty_sdk.dart';

// Initialize the SDK
final authicSdk = AuthicAppSdk(
  tenantId: 'your-tenant-id',
  environment: Environment.sandbox,
  locale: Locale('en'),
);

// Use the LoyaltyScreen component
LoyaltyScreen(
  name: "User Name",
  externalID: "user-external-id",
  locale: Locale('en'),
);

Documentation

For more detailed information, please refer to the Documentation.

License

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