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. * 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. // Platform messages are asynchronous, so we initialize in an async method.
Future<void> init() async { Future<void> init() async {
if (Platform.isIOS) { if (Platform.isIOS) {
//com.finogeeks.mopExample
final res = await Mop.instance.initialize( final res = await Mop.instance.initialize(
'22LyZEib0gLTQdU3MUauARlLry7JL/2fRpscC9kpGZQA', '1c11d7252c53e0b6', '22LyZEib0gLTQdU3MUauARlLry7JL/2fRpscC9kpGZQA', '1c11d7252c53e0b6',
apiServer: 'https://mp.finogeeks.com', apiPrefix: '/api/v1/mop'); apiServer: 'https://mp.finogeeks.com', apiPrefix: '/api/v1/mop');
print(res); print(res);
} else if (Platform.isAndroid) { } else if (Platform.isAndroid) {
//com.finogeeks.mopexample
final res = await Mop.instance.initialize( final res = await Mop.instance.initialize(
'22LyZEib0gLTQdU3MUauARjmmp6QmYgjGb3uHueys1oA', '98c49f97a031b555', '22LyZEib0gLTQdU3MUauARjmmp6QmYgjGb3uHueys1oA', '98c49f97a031b555',
apiServer: 'https://mp.finogeeks.com', apiPrefix: '/api/v1/mop'); apiServer: 'https://mp.finogeeks.com', apiPrefix: '/api/v1/mop');

View File

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

View File

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