flutter_parse 0.1.2

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 69

flutter_parse #

Flutter plugin for managing Parse SDK for both Android and iOS.

Features:

  • ParseObject
  • ParseUser
  • ParseQuery

Installation #

Add to pubspec.yaml:

dependencies:
  flutter_parse: ^0.1.1

Initializing Library #

void main() async {
  await FlutterParse.initialize(
      server: 'YOUR_PARSE_SERVER_URL',
      applicationId: 'YOUR_PARSE_APPLICATION_ID',
      clientKey: 'YOUR_PARSE_CLIENT_KEY');
  
  // initialize parse libraru before running your app
  runApp(MyApp());
}

Create Object #

final object = ParseObject('Beacon')
      ..set('proximityUUID', 'CB10023F-A318-3394-4199-A8730C7C1AEC')
      ..set('major', 1)
      ..set('enabled', true)
      ..set('timestamp', DateTime.now());
await object.saveInBackground();

Register User #

final user = ParseUser()
  ..username = 'alan'
  ..password = 'maulana';
await user.register();

Query Object #

final query = ParseQuery('Beacon')
  ..whereEqualTo('proximityUUID', 'CB10023F-A318-3394-4199-A8730C7C1AEC')
  ..whereLessThanOrEqualTo('major', 10);
final listObjects = await query.findAsync();

Author #

Flutter Parse plugin is developed by Alann Maulana. You can contact me at kangmas.alan@gmail.com.

License #

BSD License

0.1.2 #

  • Fix homepage url
  • Bug fix

0.1.1 #

  • Add internal query encoder
  • Fix create parse object with dictionary/map

0.1.0 #

  • Adding iOS function :
    • ParseObject
    • ParseUser
    • ParseQuery
  • Fix bug Android code

0.0.1 #

  • Initial release.
  • Android :
    • ParseObject
    • ParseUser
    • ParseQuery

example/README.md

Initializing Library #

void main() async {
  await FlutterParse.initialize(
      server: 'YOUR_PARSE_SERVER_URL',
      applicationId: 'YOUR_PARSE_APPLICATION_ID',
      clientKey: 'YOUR_PARSE_CLIENT_KEY');
  
  // initialize parse libraru before running your app
  runApp(MyApp());
}

Create Object #

final object = ParseObject('Beacon')
      ..set('proximityUUID', 'CB10023F-A318-3394-4199-A8730C7C1AEC')
      ..set('major', 1)
      ..set('enabled', true)
      ..set('timestamp', DateTime.now());
await object.saveInBackground();

Register User #

final user = ParseUser()
  ..username = 'alan'
  ..password = 'maulana';
await user.register();

Query Object #

final query = ParseQuery('Beacon')
  ..whereEqualTo('proximityUUID', 'CB10023F-A318-3394-4199-A8730C7C1AEC')
  ..whereLessThanOrEqualTo('major', 10);
final listObjects = await query.findAsync();

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_parse: ^0.1.2

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_parse/flutter_parse.dart';
  
Version Uploaded Documentation Archive
0.1.2 Jan 6, 2019 Go to the documentation of flutter_parse 0.1.2 Download flutter_parse 0.1.2 archive
0.1.1 Jan 2, 2019 Go to the documentation of flutter_parse 0.1.1 Download flutter_parse 0.1.1 archive
0.1.0 Dec 30, 2018 Go to the documentation of flutter_parse 0.1.0 Download flutter_parse 0.1.0 archive
0.0.1 Dec 28, 2018 Go to the documentation of flutter_parse 0.0.1 Download flutter_parse 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
38
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
69
Learn more about scoring.

We analyzed this package on Apr 23, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14
  • Flutter: 1.4.7

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Format lib/parse/parse_decoder.dart.

Run flutter format to format lib/parse/parse_decoder.dart.

Format lib/parse/parse_encoder.dart.

Run flutter format to format lib/parse/parse_encoder.dart.

Format lib/parse/parse_exception.dart.

Run flutter format to format lib/parse/parse_exception.dart.

Fix additional 5 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/parse/parse_file.dart (Run flutter format to format lib/parse/parse_file.dart.)
  • lib/parse/parse_geo_point.dart (Run flutter format to format lib/parse/parse_geo_point.dart.)
  • lib/parse/parse_object.dart (Run flutter format to format lib/parse/parse_object.dart.)
  • lib/parse/parse_query.dart (Run flutter format to format lib/parse/parse_query.dart.)
  • lib/parse/parse_user.dart (Run flutter format to format lib/parse/parse_user.dart.)

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8