mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
adding push notifications for android
This commit is contained in:
parent
73b6338ff5
commit
a50287c909
@ -1,4 +1,5 @@
|
|||||||
apply plugin: "com.android.application"
|
apply plugin: "com.android.application"
|
||||||
|
apply plugin: 'com.google.gms.google-services'
|
||||||
|
|
||||||
import com.android.build.OutputFile
|
import com.android.build.OutputFile
|
||||||
import org.apache.tools.ant.taskdefs.condition.Os
|
import org.apache.tools.ant.taskdefs.condition.Os
|
||||||
|
@ -29,13 +29,29 @@ buildscript {
|
|||||||
classpath('com.android.tools.build:gradle:7.1.1')
|
classpath('com.android.tools.build:gradle:7.1.1')
|
||||||
classpath('com.facebook.react:react-native-gradle-plugin')
|
classpath('com.facebook.react:react-native-gradle-plugin')
|
||||||
classpath('de.undercouch:gradle-download-task:5.0.1')
|
classpath('de.undercouch:gradle-download-task:5.0.1')
|
||||||
|
classpath 'com.google.gms:google-services:4.3.14'
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
|
exclusiveContent {
|
||||||
|
// We get React Native's Android binaries exclusively through npm,
|
||||||
|
// from a local Maven repo inside node_modules/react-native/.
|
||||||
|
// (The use of exclusiveContent prevents looking elsewhere like Maven Central
|
||||||
|
// and potentially getting a wrong version.)
|
||||||
|
filter {
|
||||||
|
includeGroup "com.facebook.react"
|
||||||
|
}
|
||||||
|
forRepository {
|
||||||
|
maven {
|
||||||
|
url "$rootDir/../node_modules/react-native/android"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
maven {
|
maven {
|
||||||
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
||||||
|
Loading…
Reference in New Issue
Block a user