Skip to content

Commit 63f3002

Browse files
committed
Prepare v0.1
1 parent 4bf1ed3 commit 63f3002

File tree

5 files changed

+16
-61
lines changed

5 files changed

+16
-61
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 0.1.0
2+
3+
* Adding iOS function :
4+
- ParseObject
5+
- ParseUser
6+
- ParseQuery
7+
* Fix bug Android code
8+
19
## 0.0.1
210

311
* Initial release.

example/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Initializing Library
1+
## Initializing Library
22

33
```dart
44
void main() async {

example/lib/main.dart

+5-58
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
import 'package:flutter/material.dart';
2-
import 'package:flutter/services.dart';
32

43
import 'package:flutter_parse/flutter_parse.dart';
54

65
void main() async {
7-
// await FlutterParse.initialize(
8-
// server: 'YOUR_PARSE_SERVER_URL',
9-
// applicationId: 'YOUR_PARSE_APPLICATION_ID',
10-
// clientKey: 'YOUR_PARSE_CLIENT_KEY');
11-
await FlutterParse.initialize(server: 'https://parseapi.back4app.com/',
12-
applicationId: 'YtoxICpUQVRdQT96DUAdkGuk85unFzfuOUomHALP',
13-
clientKey: '8OELUgIMBuEVNECy3jioGmDvf7QSyshVLshqNS6N');
6+
await FlutterParse.initialize(
7+
server: 'YOUR_PARSE_SERVER_URL',
8+
applicationId: 'YOUR_PARSE_APPLICATION_ID',
9+
clientKey: 'YOUR_PARSE_CLIENT_KEY');
1410
runApp(MyApp());
1511
}
1612

@@ -20,55 +16,6 @@ class MyApp extends StatefulWidget {
2016
}
2117

2218
class _MyAppState extends State<MyApp> {
23-
@override
24-
void initState() {
25-
super.initState();
26-
27-
init();
28-
}
29-
30-
init() async {
31-
try {
32-
// var object = ParseObject('Beacon')
33-
// ..set('proximityUUID', 'CB10023F-A318-3394-4199-A8730C7C1AEC')
34-
// ..set('major', 1)
35-
// ..set('enabled', true)
36-
// ..set('Position', new ParseGeoPoint())
37-
// ..set('timestamp', DateTime.now());
38-
// object = await object.saveInBackground();
39-
// print(object);
40-
41-
// var currentUser = await ParseUser.currentUser;
42-
// print(currentUser);
43-
44-
// await ParseUser.logOut();
45-
46-
// var user = ParseUser()
47-
// ..username = 'alfatih'
48-
// ..password = 'AlFatih2014';
49-
// user = await user.register();
50-
// print(user);
51-
52-
// currentUser = await ParseUser.currentUser;
53-
// print(currentUser);
54-
55-
// var user = await ParseUser.logIn(username: 'alfatih', password: 'AlFatih2014');
56-
// print(user);
57-
58-
// currentUser = await ParseUser.currentUser;
59-
// print(currentUser);
60-
61-
final query = ParseQuery('Beacon')
62-
..whereEqualTo('proximityUUID', 'CB10023F-A318-3394-4199-A8730C7C1AEC')
63-
..whereLessThanOrEqualTo('major', 10);
64-
// final listObjects = await query.findAsync();
65-
// print(listObjects);
66-
final count = await query.countAsync();
67-
print(count);
68-
} catch(e) {
69-
print(e);
70-
}
71-
}
7219

7320
@override
7421
Widget build(BuildContext context) {
@@ -83,4 +30,4 @@ class _MyAppState extends State<MyApp> {
8330
),
8431
);
8532
}
86-
}
33+
}

ios/flutter_parse.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
Pod::Spec.new do |s|
55
s.name = 'flutter_parse'
6-
s.version = '0.0.1'
6+
s.version = '0.1.0'
77
s.summary = 'Flutter plugin for managing Parse SDK for both Android and iOS.'
88
s.description = <<-DESC
99
Flutter plugin for managing Parse SDK for both Android and iOS.

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_parse
22
description: Flutter plugin for managing Parse SDK for both Android and iOS.
3-
version: 0.0.1
3+
version: 0.1.0
44
author: Alann Maulana <kangmas.alan@gmail.com>
55
homepage: https://github.com/alann-maulana/flutter_beacon
66

0 commit comments

Comments
 (0)