Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork735
The Android SDK for Parse Platform
License
parse-community/Parse-SDK-Android
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A library that gives you access to the powerful Parse Server backend from your Android app. For more information about Parse and its features, seethe website,getting started, andblog.
The Parse Android SDK has the following Android API andGradle 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 the linemaven { url 'https://www.jitpack.io' } to yoursettings.gradle file, inside therepositories 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 onHelp > About in the top menu.
Arctic Fox | 2020.3.1 or older
Add this in your root
build.gradlefile,not your modulebuild.gradlefile:allprojects { repositories {... maven { url"https://jitpack.io" } }}Then, add the library to your project
build.gradlefile.
Then, add the library to your (module:app)build.gradle file, replacinglatest.version.here with the version of the Parse Android SDK you would like to use. We commend always updating your app to use thelatest 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"}
Initialize Parse in a custom class that extendsApplication:
importcom.parse.Parse;importandroid.app.Application;publicclassAppextendsApplication {@OverridepublicvoidonCreate() {super.onCreate();Parse.initialize(newParse.Configuration.Builder(this) .applicationId("YOUR_APP_ID")// if desired .clientKey("YOUR_CLIENT_KEY") .server("https://your-server-address/parse/") .build() ); }}
The customApplication class must be registered inAndroidManifest.xml:
<applicationandroid:name=".App" ...> ...</application>
Note that if you are testing with a server usinghttp, you will need to addandroid:usesCleartextTraffic="true" to your above<application> definition, but you should only do this while testing and should usehttps for your final product.
See theguide for the rest of the SDK usage.
We want to make contributing to this project as easy and transparent as possible. Please refer to theContribution Guidelines.
These are other official libraries we made that can help you create your Parse app.
- ParseGoogleUtils - Google login/signup.
- ParseFacebookUtils - Facebook login/signup.
- ParseTwitterUtils - Twitter login/signup.
- Parse FCM -Firebase Cloud Messaging support for sending push notifications.
- Parse KTX - Kotlin extensions for ease of developer use.
- Parse Coroutines - Kotlin Coroutines support for various Parse async operations
- Parse RxJava - Transform Parse
Tasks to RxJavaCompletables andSingles - ParseLiveQuery - Realtime query subscription.
- ParseUI - Prebuilt UI elements.
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.
About
The Android SDK for Parse Platform
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
