master
developer 2020-02-28 12:52:27 +08:00
parent 3c39836645
commit bb9b5a7bce
4 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,3 @@
## 0.0.1
## 0.1.0
* TODO: Describe initial release.

View File

@ -20,11 +20,13 @@ class _MyAppState extends State<MyApp> {
// Platform messages are asynchronous, so we initialize in an async method.
Future<void> init() async {
if (Platform.isIOS) {
//com.finogeeks.mopExample
final res = await Mop.instance.initialize(
'22LyZEib0gLTQdU3MUauARlLry7JL/2fRpscC9kpGZQA', '1c11d7252c53e0b6',
apiServer: 'https://mp.finogeeks.com', apiPrefix: '/api/v1/mop');
print(res);
} else if (Platform.isAndroid) {
//com.finogeeks.mopexample
final res = await Mop.instance.initialize(
'22LyZEib0gLTQdU3MUauARjmmp6QmYgjGb3uHueys1oA', '98c49f97a031b555',
apiServer: 'https://mp.finogeeks.com', apiPrefix: '/api/v1/mop');

View File

@ -66,7 +66,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.2"
version: "0.1.0"
path:
dependency: transitive
description:

View File

@ -1,6 +1,6 @@
name: mop
description: A new flutter plugin project.
version: 0.0.2
version: 0.1.0
authors:
- finogeeks <finogeeks.mop@gmail.com>
homepage: https://github.com/finogeeks/flutter-mop-plugin