From bd751bed196e5938068fe11a6d081f50e4633177 Mon Sep 17 00:00:00 2001 From: John Carlson Date: Mon, 10 Feb 2020 12:05:18 -0600 Subject: [PATCH 1/2] Updates to dependencies and README --- README.md | 30 ++++++++++++++++++------------ build.gradle | 2 +- fcm/build.gradle | 2 +- parse/build.gradle | 4 ++-- 4 files changed, 22 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 87baa2704..6bdd3c2aa 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ [![License](https://img.shields.io/badge/license-BSD-lightgrey.svg)](https://github.com/parse-community/Parse-SDK-Android/blob/master/LICENSE) [![Build Status](https://travis-ci.org/parse-community/Parse-SDK-Android.svg?branch=master)](https://travis-ci.org/parse-community/Parse-SDK-Android) [![](https://jitpack.io/v/parse-community/Parse-SDK-Android.svg)](https://jitpack.io/#parse-community/Parse-SDK-Android) -[![Join The Conversation](https://img.shields.io/discourse/https/community.parseplatform.org/topics.svg)](https://community.parseplatform.org/c/parse-server) [![Backers on Open Collective](https://opencollective.com/parse-server/backers/badge.svg)][open-collective-link] [![Sponsors on Open Collective](https://opencollective.com/parse-server/sponsors/badge.svg)][open-collective-link] [![Twitter Follow](https://img.shields.io/twitter/follow/ParsePlatform.svg?label=Follow%20us%20on%20Twitter&style=social)](https://twitter.com/intent/follow?screen_name=ParsePlatform) @@ -25,6 +24,7 @@ allprojects { ``` Then, add the library to your project `build.gradle` + ```gradle dependencies { implementation "com.github.parse-community.Parse-SDK-Android:parse:latest.version.here" @@ -34,10 +34,13 @@ dependencies { implementation "com.github.parse-community.Parse-SDK-Android:ktx:latest.version.here" } ``` + replacing `latest.version.here` with the latest released version (see JitPack badge above). ### Setup + Initialize Parse in a custom class that extends `Application`: + ```java import com.parse.Parse; import android.app.Application; @@ -71,20 +74,23 @@ The custom `Application` class must be registered in `AndroidManifest.xml`: See the [guide][guide] for the rest of the SDK usage. ## How Do I Contribute? + We want to make contributing to this project as easy and transparent as possible. Please refer to the [Contribution Guidelines](CONTRIBUTING.md). ## Other Parse Projects +These are other official libraries we made that can help you create your Parse app. - - [Parse FCM](/fcm) - - [Parse KTX](/ktx) - - [Parse Coroutines](/coroutines) - - [ParseUI](https://github.com/parse-community/ParseUI-Android) - - [ParseLiveQuery](https://github.com/parse-community/ParseLiveQuery-Android) - - [ParseGoogleUtils](/google) - - [ParseFacebookUtils](https://github.com/parse-community/ParseFacebookUtils-Android) - - [ParseTwitterUtils](https://github.com/parse-community/ParseTwitterUtils-Android) +- [Parse FCM](/fcm) - [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging) support for sending push notifications. +- [Parse KTX](/ktx) - Kotlin extensions for ease of developer use. +- [Parse Coroutines](/coroutines) - Kotlin Coroutines support for various Parse async operations +- [ParseLiveQuery](https://github.com/parse-community/ParseLiveQuery-Android) - Realtime query subscription. +- [ParseGoogleUtils](/google) - Google login/signup. +- [ParseFacebookUtils](https://github.com/parse-community/ParseFacebookUtils-Android) - Facebook login/signup. +- [ParseTwitterUtils](https://github.com/parse-community/ParseTwitterUtils-Android) - Twitter login/signup. +- [ParseUI](https://github.com/parse-community/ParseUI-Android) - Prebuilt UI elements. ## License + Copyright (c) 2015-present, Parse, LLC. All rights reserved. @@ -92,9 +98,9 @@ We want to make contributing to this project as easy and transparent as possible LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. ------ +--- 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. - [guide]: http://docs.parseplatform.org/android/guide/ - [open-collective-link]: https://opencollective.com/parse-server +[guide]: http://docs.parseplatform.org/android/guide/ +[open-collective-link]: https://opencollective.com/parse-server diff --git a/build.gradle b/build.gradle index 9aadda3e1..15fe5957c 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { jcenter() } dependencies { - classpath "com.android.tools.build:gradle:3.5.2" + classpath "com.android.tools.build:gradle:3.5.3" classpath "org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.3" classpath "com.github.dcendents:android-maven-gradle-plugin:2.1" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" diff --git a/fcm/build.gradle b/fcm/build.gradle index 37da5fe7d..f9576d6e0 100644 --- a/fcm/build.gradle +++ b/fcm/build.gradle @@ -31,7 +31,7 @@ android { } dependencies { - api "com.google.firebase:firebase-messaging:20.0.1" + api "com.google.firebase:firebase-messaging:20.1.0" implementation project(":parse") } diff --git a/parse/build.gradle b/parse/build.gradle index aaf0de6c1..4489471be 100644 --- a/parse/build.gradle +++ b/parse/build.gradle @@ -28,12 +28,12 @@ android { } ext { - okhttpVersion = "3.14.4" + okhttpVersion = "3.14.6" } dependencies { api "androidx.annotation:annotation:1.1.0" - api "androidx.core:core:1.1.0" + api "androidx.core:core:1.2.0" api "com.parse.bolts:bolts-tasks:1.4.0" api "com.squareup.okhttp3:okhttp:$okhttpVersion" From 0520aea80ead6f9a9dedf0701e1508d35a96edf2 Mon Sep 17 00:00:00 2001 From: John Carlson Date: Mon, 10 Feb 2020 12:08:59 -0600 Subject: [PATCH 2/2] Add more notice to GCM module --- gcm/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcm/README.md b/gcm/README.md index 4d9077445..fba6b7661 100644 --- a/gcm/README.md +++ b/gcm/README.md @@ -2,7 +2,7 @@ GCM support for Parse Android apps ## Deprecated -Please note that GCM is deprecated in favor of FCM. This module exists as a backwards compatible solution for projects already using GCM. New apps should instead use FCM. +Please note that GCM is deprecated in favor of FCM. This module exists as a backwards compatible solution for projects already using GCM. New apps should instead use FCM. Note that if your app targets Android Q or later, [GCM will not function](https://developers.google.com/cloud-messaging/faq) ## Setup