getnet_pos 0.2.1+1 copy "getnet_pos: ^0.2.1+1" to clipboard
getnet_pos: ^0.2.1+1 copied to clipboard

outdated

This is a plugin wrapper to handle calls to getnet pos hardware sdk.

getnet_pos #

A plugin wrapper to use getnet pos hardware sdk on your flutter apps.

ONLY WORKS ON ANDROID FOR NOW

Usage #

Configure your project #

Change minSdkVersion to 22 in your app

 defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "com.example.test_getnet_pos_package"
        minSdkVersion 22
        targetSdkVersion 28
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }

In android/app folder add the getnet sdk dependency (must have .aar extension)

.
├── android
│   ├── app
│   │   ├── build.gradle
│   │   ├── libs
│   │   │   └── libposdigital-1.4.0-2-release.aar

You can pass a list of string as argument. The first element of the list is the header.

import 'package:getnet_pos/getnet_pos.dart';

...

try {
  GetnetPos.print([
    "Header is the first line",
    "Content line 1",
    "Content line 2",
  ]);
} on PlatformException {
 ..
}
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

This is a plugin wrapper to handle calls to getnet pos hardware sdk.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on getnet_pos