Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The Android SDK for Parse Platform

License

NotificationsYou must be signed in to change notification settings

parse-community/Parse-SDK-Android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

parse-repository-header-sdk-android


Build StatusSnyk Badgecodecov

android min apiauto-release

Backers on Open CollectiveSponsors on Open CollectiveLicenseForumTwitter 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, seethe website,getting started, andblog.


Getting Started

Compatibility

The Parse Android SDK has the following Android API andGradle Plugin compatibility.

SDK versionMinimum API levelTargeting API levelGradle Plugin
1.26< API 16API 293.6.2
2.0>= API 16API 304.2.2
2.1>= API 21API 317.0.3

Add Dependency

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 rootbuild.gradle file,not your modulebuild.gradle file:

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

Then, add the library to your projectbuild.gradle file.

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"}

Setup

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.

Contributing

We want to make contributing to this project as easy and transparent as possible. Please refer to theContribution 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.

About

The Android SDK for Parse Platform

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors58

Languages


[8]ページ先頭

©2009-2025 Movatter.jp