PlusPayDevelopers

Installation

Add the PlusPay A2A package to a Flutter, Kotlin, Java or React Native project.

The A2A integration requires the POS+ application to be installed on the same Android device. Your app and POS+ communicate locally; no network call is made by the A2A package itself.

Android only. Minimum supported Android version is API 24 (Android 7.0).

Add the dependency

flutter pub add pluspay_a2a

or add it to pubspec.yaml manually:

pubspec.yaml
dependencies:
  pluspay_a2a: ^0.8.0

PlusPay A2A is published on pub.dev. See the available versions and the changelog at pub.dev/packages/pluspay_a2a.

Then fetch packages:

flutter pub get

Project requirements

The plugin is Android-only and registers itself automatically — you don't add anything to your pubspec.yaml for platform setup. The only requirement is that your app's minSdkVersion is 24 or higher:

android/app/build.gradle
android {
    defaultConfig {
        minSdkVersion 24
    }
}

Import

import 'package:pluspay_a2a/pluspay_a2a.dart';

Continue to Initialization.