Commit 5aae1997 authored by Gandha Ryanto's avatar Gandha Ryanto

Update library

parent 108a86bf
...@@ -40,7 +40,9 @@ class _MyAppState extends State<NfcScan> { ...@@ -40,7 +40,9 @@ class _MyAppState extends State<NfcScan> {
@override @override
void initState() { void initState() {
super.initState(); super.initState();
UnikLibFlutter.initUnikLib(); //initial library String mid = "1234567abc";
int env = 0; // 0 = dev, 1 = prod
UnikLibFlutter.initUnikLib(mid, env); //initial library
} }
//function to get card info //function to get card info
......
...@@ -212,6 +212,13 @@ packages: ...@@ -212,6 +212,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.3" version: "1.0.3"
prepaid_lib_flutter:
dependency: "direct main"
description:
name: prepaid_lib_flutter
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.2"
process: process:
dependency: transitive dependency: transitive
description: description:
...@@ -315,13 +322,6 @@ packages: ...@@ -315,13 +322,6 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.3.0" version: "1.3.0"
unik_lib_flutter:
dependency: "direct main"
description:
name: unik_lib_flutter
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.2"
uuid: uuid:
dependency: transitive dependency: transitive
description: description:
......
...@@ -32,7 +32,7 @@ dependencies: ...@@ -32,7 +32,7 @@ dependencies:
flutter_nfc_kit: ^2.2.1 flutter_nfc_kit: ^2.2.1
flutter_gifimage: ^1.0.1 flutter_gifimage: ^1.0.1
intl: ^0.16.1 intl: ^0.16.1
unik_lib_flutter: ^0.0.2 prepaid_lib_flutter: ^0.0.2
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment