• Stars
    star
    1,878
  • Rank 24,140 (Top 0.5 %)
  • Language
    Java
  • License
    Other
  • Created almost 9 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The Android SDK for Parse Platform

parse-repository-header-sdk-android


Build Status Snyk Badge codecov

android min api auto-release

Backers on Open Collective Sponsors on Open Collective License Forum Twitter Follow


A library that gives you access to the powerful Parse Server backend from your Android app. For more information about Parse and its features, see the website, getting started, and blog.


Getting Started

Compatibility

The Parse Android SDK has the following Android API and Gradle Plugin compatibility.

SDK version Minimum API level Targeting API level Gradle Plugin
1.26 < API 16 API 29 3.6.2
2.0 >= API 16 API 30 4.2.2
2.1 >= API 21 API 31 7.0.3

Add Dependency

Add the line maven { url 'https://www.jitpack.io' } to your settings.gradle file, inside the repositories property, for example:

dependencyResolutionManagement {
    repositories {
        maven { url 'https://www.jitpack.io' }
    }
}

Older versions of Android studio require different steps. See the following list of Android Studio versions for alternative instructions. You can find the version of your Android Studio installation by clicking on Help > About in the top menu.

Arctic Fox | 2020.3.1 or older

Add this in your root build.gradle file, not your module build.gradle file:

allprojects {
   repositories {
      ...
        maven { url "https://jitpack.io" }
    }
}

Then, add the library to your project build.gradle file.

Then, add the library to your (module:app) build.gradle file, replacing latest.version.here with the version of the Parse Android SDK you would like to use. We commend always updating your app to use the latest release version.

ext {
   parseVersion = "latest.version.here"
}
dependencies {
    implementation "com.github.parse-community.Parse-SDK-Android:parse:$parseVersion"
    // for Google login/signup support (optional)
    implementation "com.github.parse-community.Parse-SDK-Android:google:$parseVersion"
    // for Facebook login/signup support (optional)
    implementation "com.github.parse-community.Parse-SDK-Android:facebook:$parseVersion"
    // for Twitter login/signup support (optional)
    implementation "com.github.parse-community.Parse-SDK-Android:twitter:$parseVersion"
    // for FCM Push support (optional)
    implementation "com.github.parse-community.Parse-SDK-Android:fcm:$parseVersion"
    // for Kotlin extensions support (optional)
    implementation "com.github.parse-community.Parse-SDK-Android:ktx:$parseVersion"
    // for Kotlin coroutines support (optional)
    implementation "com.github.parse-community.Parse-SDK-Android:coroutines:$parseVersion"
    // for RxJava support (optional)
    implementation "com.github.parse-community.Parse-SDK-Android:rxjava:$parseVersion"
}

Setup

Initialize Parse in a custom class that extends Application:

import com.parse.Parse;
import android.app.Application;

public class App extends Application {
    @Override
    public void onCreate() {
      super.onCreate();

      Parse.initialize(new Parse.Configuration.Builder(this)
        .applicationId("YOUR_APP_ID")
        // if desired
        .clientKey("YOUR_CLIENT_KEY")
        .server("https://your-server-address/parse/")
        .build()
      );
    }
}

The custom Application class must be registered in AndroidManifest.xml:

<application
    android:name=".App"
    ...>
    ...
</application>

Note that if you are testing with a server using http, you will need to add android:usesCleartextTraffic="true" to your above <application> definition, but you should only do this while testing and should use https for your final product.

See the guide for the rest of the SDK usage.

Contributing

We want to make contributing to this project as easy and transparent as possible. Please refer to the Contribution Guidelines.

More Parse Android Projects

These are other official libraries we made that can help you create your Parse app.


As of April 5, 2017, Parse, LLC has transferred this code to the parse-community organization, and will no longer be contributing to or distributing this code.

More Repositories

1

parse-server

Parse Server for Node.js / Express
JavaScript
20,674
star
2

parse-dashboard

A dashboard for managing Parse Server
JavaScript
3,728
star
3

Parse-SDK-iOS-OSX

The Apple SDK for Parse Platform (iOS, macOS, watchOS, tvOS)
Objective-C
2,803
star
4

parse-server-example

Example of Parse Server using the express framework.
JavaScript
1,879
star
5

Parse-SDK-JS

The JavaScript SDK for Parse Platform
JavaScript
1,311
star
6

ParseReact

Seamlessly bring Parse data into your React applications.
JavaScript
1,295
star
7

ParseUI-iOS

A collection of a handy user interface components to be used with the Parse iOS SDK.
Objective-C
935
star
8

parse-php-sdk

The PHP SDK for Parse Platform
PHP
812
star
9

ParseUI-Android

ParseUI contains user interface libraries for building apps with the Parse Android SDK.
Java
592
star
10

Parse-SDK-Flutter

The Dart/Flutter SDK for Parse Platform
Dart
568
star
11

Parse-SDK-dotNET

Parse SDK for .NET, Xamarin, Unity.
C#
321
star
12

docs

Parse Platform docs
SCSS
314
star
13

Parse-Swift

The Swift SDK for Parse Platform (iOS, macOS, watchOS, tvOS, Linux, Android, Windows)
Swift
299
star
14

parse-embedded-sdks

The Embedded SDKs for the Parse Platform
C
246
star
15

ParseLiveQuery-iOS-OSX

Parse LiveQuery Client for iOS/OS X.
Swift
192
star
16

parse-cli

Go
118
star
17

ParseFacebookUtils-iOS

A set of utilities to integrate Facebook with the Parse iOS/tvOS SDK.
Objective-C
92
star
18

parse-server-push-adapter

A push notification adapter for Parse Server
JavaScript
84
star
19

parse-server-simple-mailgun-adapter

Used to send Parse Server password reset and email verification emails though Mailgun
JavaScript
84
star
20

ParseLiveQuery-Android

Parse LiveQuery client for Android.
Java
84
star
21

parse-server-s3-adapter

AWS S3 file storage adapter for Parse Server
JavaScript
76
star
22

parse-react

[EXPERIMENTAL] React, React Native, and React with SSR (e.g. Next.js) packages to interact with Parse Server backend
TypeScript
70
star
23

Parse-SDK-Arduino

The Arduino SDK for the Parse Platform
C++
67
star
24

ParseFacebookUtils-Android

A utility library to authenticate ParseUsers with the Facebook SDK
Java
53
star
25

ParseTwitterUtils-iOS

A set of utilities to integrate Twitter with the Parse iOS SDK.
Objective-C
46
star
26

parse-server-fs-adapter

parse-server file system storage adapter
JavaScript
42
star
27

ParseInterceptors-Android

Parse Network Interceptor Debugging
Java
37
star
28

ParseTwitterUtils-Android

A utility library to authenticate ParseUsers with Twitter
Java
36
star
29

parse-blockchain

Blockchain (Ethereum) dApps development made easy with Parse Server (alpha)
TypeScript
36
star
30

parse-facebook-user-session

A Cloud Code module to facilitate logging into an express website with Facebook.
JavaScript
36
star
31

parse-server-gcs-adapter

parse-server adapter for Google Cloud Storage
JavaScript
29
star
32

parse-server-api-mail-adapter

API Mail Adapter for Parse Server
JavaScript
25
star
33

benchmark

Parse Server Continuous Benchmark
JavaScript
24
star
34

xctoolchain-archive

Common configuration files and scripts that are used to build our SDKs with Xcode.
Ruby
22
star
35

blog

Parse Community Blog
SCSS
18
star
36

parse-server-sqs-mq-adapter

Spread work queue accross cluster of parse servers using SQS
JavaScript
17
star
37

parse-community.github.io

Parse Platform GitHub Pages
SCSS
10
star
38

relay-examples

Parse-Server GraphQL Relay Todo
JavaScript
10
star
39

Governance

Details about the leadership & decision making process for the Parse Community
10
star
40

parse-server-conformance-tests

Conformance tests for parse-server adapters
JavaScript
7
star
41

parse-community-peril

Peril for the parse-community
TypeScript
6
star
42

.github

Default community health files for the Parse Community
4
star
43

release-automation-playground

A playground repo to experiment with release automation.
2
star
44

docs-tutorial-todoapp

A tutorial for developing a ToDo app with Parse Platform
1
star