Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
react-native-fcm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ym
react-native-fcm
Commits
4bcc5d1b
Commit
4bcc5d1b
authored
Jul 30, 2018
by
Libin Lu
Committed by
GitHub
Jul 30, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #999 from mikelee-osmo/master
Separates versioning for firebase-core and firebase-messaging. These…
parents
fa17149d
11362169
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
android/build.gradle
android/build.gradle
+6
-2
No files found.
android/build.gradle
View file @
4bcc5d1b
...
...
@@ -4,6 +4,8 @@ def DEFAULT_COMPILE_SDK_VERSION = 26
def
DEFAULT_BUILD_TOOLS_VERSION
=
"25.0.2"
def
DEFAULT_TARGET_SDK_VERSION
=
26
def
DEFAULT_GOOGLE_PLAY_SERVICES_VERSION
=
"12.+"
def
DEFAULT_FIREBASE_CORE_VERSION
=
"12.+"
def
DEFAULT_FIREBASE_MESSAGING_VERSION
=
"12.+"
android
{
compileSdkVersion
project
.
hasProperty
(
'compileSdkVersion'
)
?
project
.
compileSdkVersion
:
DEFAULT_COMPILE_SDK_VERSION
...
...
@@ -23,11 +25,13 @@ repositories {
dependencies
{
def
googlePlayServicesVersion
=
project
.
hasProperty
(
'googlePlayServicesVersion'
)
?
project
.
googlePlayServicesVersion
:
DEFAULT_GOOGLE_PLAY_SERVICES_VERSION
def
firebaseCoreVersion
=
project
.
hasProperty
(
'firebaseCoreVersion'
)
?
project
.
firebaseCoreVersion
:
DEFAULT_FIREBASE_CORE_VERSION
def
firebaseMessagingVersion
=
project
.
hasProperty
(
'firebaseMessagingVersion'
)
?
project
.
firebaseMessagingVersion
:
DEFAULT_FIREBASE_MESSAGING_VERSION
compile
fileTree
(
include:
[
'*.jar'
],
dir:
'libs'
)
compile
'com.facebook.react:react-native:+'
compile
"com.google.firebase:firebase-core:$
googlePlayServices
Version"
compile
"com.google.firebase:firebase-messaging:$
googlePlayServices
Version"
compile
"com.google.firebase:firebase-core:$
firebaseCore
Version"
compile
"com.google.firebase:firebase-messaging:$
firebaseMessaging
Version"
compile
'me.leolin:ShortcutBadger:1.1.17@aar'
compile
"com.android.support:support-core-utils:26.1.0"
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment