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
24e8fe70
Commit
24e8fe70
authored
Mar 21, 2018
by
Libin Lu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/evollu/react-native-fcm
parents
34ed55b1
5c56c7aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
android/build.gradle
android/build.gradle
+12
-5
No files found.
android/build.gradle
View file @
24e8fe70
apply
plugin:
'com.android.library'
apply
plugin:
'com.android.library'
def
DEFAULT_COMPILE_SDK_VERSION
=
25
def
DEFAULT_BUILD_TOOLS_VERSION
=
"25.0.2"
def
DEFAULT_TARGET_SDK_VERSION
=
25
def
DEFAULT_GOOGLE_PLAY_SERVICES_VERSION
=
"11.+"
android
{
android
{
compileSdkVersion
25
compileSdkVersion
project
.
hasProperty
(
'compileSdkVersion'
)
?
project
.
compileSdkVersion
:
DEFAULT_COMPILE_SDK_VERSION
buildToolsVersion
"25.0.2"
buildToolsVersion
project
.
hasProperty
(
'buildToolsVersion'
)
?
project
.
buildToolsVersion
:
DEFAULT_BUILD_TOOLS_VERSION
defaultConfig
{
defaultConfig
{
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
25
targetSdkVersion
project
.
hasProperty
(
'buildToolsVetargetSdkVersionrsion'
)
?
project
.
buildToolsVersion
:
DEFAULT_TARGET_SDK_VERSION
versionCode
1
versionCode
1
versionName
"1.0"
versionName
"1.0"
}
}
...
@@ -17,10 +22,12 @@ repositories {
...
@@ -17,10 +22,12 @@ repositories {
}
}
dependencies
{
dependencies
{
def
googlePlayServicesVersion
=
project
.
hasProperty
(
'googlePlayServicesVersion'
)
?
project
.
googlePlayServicesVersion
:
DEFAULT_GOOGLE_PLAY_SERVICES_VERSION
compile
fileTree
(
include:
[
'*.jar'
],
dir:
'libs'
)
compile
fileTree
(
include:
[
'*.jar'
],
dir:
'libs'
)
compile
'com.facebook.react:react-native:+'
compile
'com.facebook.react:react-native:+'
compile
'com.google.firebase:firebase-core:+'
compile
"com.google.firebase:firebase-core:$googlePlayServicesVersion"
compile
'com.google.firebase:firebase-messaging:+'
compile
"com.google.firebase:firebase-messaging:$googlePlayServicesVersion"
compile
'me.leolin:ShortcutBadger:1.1.17@aar'
compile
'me.leolin:ShortcutBadger:1.1.17@aar'
}
}
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