File tree Expand file tree Collapse file tree 5 files changed +29
-4
lines changed Expand file tree Collapse file tree 5 files changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ buildscript {
5
5
if (project == rootProject) {
6
6
repositories {
7
7
google()
8
- jcenter ()
8
+ mavenCentral ()
9
9
}
10
10
11
11
dependencies {
12
- classpath(" com.android.tools.build:gradle:3.5 .2" )
12
+ classpath(" com.android.tools.build:gradle:7.4 .2" )
13
13
}
14
14
}
15
15
}
@@ -30,8 +30,9 @@ project.ext {
30
30
buildTools : " 28.0.3"
31
31
],
32
32
33
- firebase : [
34
- bom : " 24.1.0" ,
33
+ firebase : [
34
+ // https://firebase.google.com/support/release-notes/android#bom_v32-7-2
35
+ bom : " 32.7.2" ,
35
36
],
36
37
],
37
38
])
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Get the instance ID
3
+ */
4
+ export function getId ( ) : string ;
5
+ export default FirebaseAppInstanceId ;
6
+ declare const FirebaseAppInstanceId : {
7
+ /**
8
+ * Get the instance ID
9
+ */
10
+ getId ( ) : string ;
11
+ } ;
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ import { NativeModules } from 'react-native'
2
2
3
3
const { FirebaseAppInstanceId } = NativeModules
4
4
5
+ /**
6
+ * Get the instance ID
7
+ * @return string
8
+ */
5
9
export function getId ( ) {
6
10
return FirebaseAppInstanceId . getId ( )
7
11
}
Original file line number Diff line number Diff line change 4
4
"version" : " 1.0.0" ,
5
5
"description" : " Access the firebase app instance ID" ,
6
6
"main" : " index.js" ,
7
+ "types" : " index.d.ts" ,
7
8
"scripts" : {
8
9
"test" : " echo \" Error: no test specified\" && exit 1"
9
10
},
Original file line number Diff line number Diff line change
1
+ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
+ # yarn lockfile v1
3
+
4
+
5
+ typescript@^5.5.4 :
6
+ version "5.5.4"
7
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba"
8
+ integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==
You can’t perform that action at this time.
0 commit comments