Skip to content

Commit ec73ad5

Browse files
authored
Merge branch 'master' into issue-731-linkDomain
2 parents ef183fc + 31a8e67 commit ec73ad5

File tree

113 files changed

+385
-588
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+385
-588
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
run: ./gradlew :updateVersions
2929
- name: Grant execute permission for gradlew
3030
run: chmod +x gradlew
31+
- uses: maxim-lobanov/setup-xcode@v1
32+
with:
33+
xcode-version: latest-stable
3134
- name: Publish Firebase Analytics
3235
run: ./gradlew :firebase-analytics:publish
3336
- name: Publish Firebase App
@@ -57,7 +60,7 @@ jobs:
5760
- name: Publish Firebase Crashlytics
5861
run: ./gradlew :firebase-crashlytics:publish
5962
documentation:
60-
runs-on: macos-13
63+
runs-on: macos-latest
6164
steps:
6265
- uses: actions/checkout@v4
6366
- name: Set up JDK
@@ -68,6 +71,9 @@ jobs:
6871
- uses: gradle/gradle-build-action@v3
6972
- name: Grant execute permission for gradlew
7073
run: chmod +x gradlew
74+
- uses: maxim-lobanov/setup-xcode@v1
75+
with:
76+
xcode-version: latest-stable
7177
- name: Generate documentation
7278
run: ./gradlew dokkaHtmlMultiModule
7379
- name: Uploading build folder

.github/workflows/pull_request.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: run apiCheck
2323
run: ./gradlew apiCheck
2424
jobMatrixSetup:
25-
runs-on: ubuntu-latest
25+
runs-on: macos-latest
2626
outputs:
2727
emulator_jobs_matrix: ${{ steps.dataStep.outputs.emulator_jobs_matrix }}
2828
ios_test_jobs_matrix: ${{ steps.dataStep.outputs.ios_test_jobs_matrix }}
@@ -128,6 +128,9 @@ jobs:
128128
*/build/cocoapods
129129
*/build/classes
130130
key: cocoapods-cache-v2
131+
- uses: maxim-lobanov/setup-xcode@v1
132+
with:
133+
xcode-version: latest-stable
131134
- name: Setup test environment
132135
uses: ./.github/actions/setup_test_action
133136
- name: Set Artifact Name

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
java-version: '17'
1919
- name: formatKotlin
2020
run: ./gradlew formatKotlin
21-
- uses: stefanzweifel/git-auto-commit-action@v5
21+
- uses: stefanzweifel/git-auto-commit-action@v6
2222
- name: lintKotlin
2323
run: ./gradlew lintKotlin

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<br/>
66
<br/>
77
The Firebase Kotlin SDK is a Kotlin-first SDK for Firebase. It's API is similar to the
8-
<a href="https://firebase.github.io/firebase-android-sdk/reference/kotlin/firebase-ktx/">Firebase Android SDK Kotlin Extensions</a>
8+
<a href="https://firebase.google.com/docs/reference/kotlin/packages">Firebase Android SDK Kotlin Extensions</a>
99
but also supports multiplatform projects, enabling you to use Firebase directly from your common source targeting
1010
<strong>iOS</strong>, <strong>Android</strong>, <strong>Desktop</strong> or <strong>Web</strong>, enabling the use of
1111
Firebase as a backend for <a href="https://www.jetbrains.com/lp/compose-multiplatform/">Compose Multiplatform</a>, for example.
@@ -16,17 +16,17 @@ The following libraries are available for the various Firebase products.
1616

1717
| Service or Product | Gradle Dependency | API Coverage |
1818
|---------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
19-
| [Analytics](https://firebase.google.com/docs/analytics) | [`dev.gitlive:firebase-analytics:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-analytics/2.1.0/pom) | [![80%](https://img.shields.io/badge/-80%25-green?style=flat-square)](/firebase-auth/src/commonMain/kotlin/dev/gitlive/firebase/auth/auth.kt) |
20-
| [Authentication](https://firebase.google.com/docs/auth) | [`dev.gitlive:firebase-auth:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-auth/2.1.0/pom) | [![80%](https://img.shields.io/badge/-80%25-green?style=flat-square)](/firebase-auth/src/commonMain/kotlin/dev/gitlive/firebase/auth/auth.kt) |
21-
| [Realtime Database](https://firebase.google.com/docs/database) | [`dev.gitlive:firebase-database:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-database/2.1.0/pom) | [![70%](https://img.shields.io/badge/-70%25-orange?style=flat-square)](/firebase-database/src/commonMain/kotlin/dev/gitlive/firebase/database/database.kt) |
22-
| [Cloud Firestore](https://firebase.google.com/docs/firestore) | [`dev.gitlive:firebase-firestore:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-firestore/2.1.0/pom) | [![60%](https://img.shields.io/badge/-60%25-orange?style=flat-square)](/firebase-firestore/src/commonMain/kotlin/dev/gitlive/firebase/firestore/firestore.kt) |
23-
| [Cloud Functions](https://firebase.google.com/docs/functions) | [`dev.gitlive:firebase-functions:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-functions/2.1.0/pom) | [![80%](https://img.shields.io/badge/-80%25-green?style=flat-square)](/firebase-functions/src/commonMain/kotlin/dev/gitlive/firebase/functions/functions.kt) |
24-
| [Cloud Messaging](https://firebase.google.com/docs/cloud-messaging) | [`dev.gitlive:firebase-messaging:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-messaging/2.1.0/pom) | [![1%](https://img.shields.io/badge/-10%25-orange?style=flat-square)](/firebase-messaging/src/commonMain/kotlin/dev/gitlive/firebase/messaging/messaging.kt) |
25-
| [Cloud Storage](https://firebase.google.com/docs/storage) | [`dev.gitlive:firebase-storage:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-storage/2.1.0/pom) | [![40%](https://img.shields.io/badge/-40%25-orange?style=flat-square)](/firebase-storage/src/commonMain/kotlin/dev/gitlive/firebase/storage/storage.kt) |
26-
| [Installations](https://firebase.google.com/docs/projects/manage-installations) | [`dev.gitlive:firebase-installations:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-installations/2.1.0/pom) | [![90%](https://img.shields.io/badge/-90%25-green?style=flat-square)](/firebase-installations/src/commonMain/kotlin/dev/gitlive/firebase/installations/installations.kt) |
27-
| [Remote Config](https://firebase.google.com/docs/remote-config) | [`dev.gitlive:firebase-config:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-config/2.1.0/pom) | [![20%](https://img.shields.io/badge/-20%25-orange?style=flat-square)](/firebase-config/src/commonMain/kotlin/dev/gitlive/firebase/remoteconfig/FirebaseRemoteConfig.kt) |
28-
| [Performance](https://firebase.google.com/docs/perf-mon) | [`dev.gitlive:firebase-perf:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-perf/2.1.0/pom) | [![1%](https://img.shields.io/badge/-10%25-orange?style=flat-square)](/firebase-perf/src/commonMain/kotlin/dev/gitlive/firebase/perf/performance.kt) |
29-
| [Crashlytics](https://firebase.google.com/docs/crashlytics) | [`dev.gitlive:firebase-crashlytics:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-crashlytics/2.1.0/pom) | [![80%](https://img.shields.io/badge/-10%25-orange?style=flat-square)](/firebase-crashlytics/src/commonMain/kotlin/dev/gitlive/firebase/crashlytics/crashlytics.kt) |
19+
| [Analytics](https://firebase.google.com/docs/analytics) | [`dev.gitlive:firebase-analytics:2.2.0`](https://search.maven.org/artifact/dev.gitlive/firebase-analytics/2.2.0/pom) | [![80%](https://img.shields.io/badge/-80%25-green?style=flat-square)](/firebase-auth/src/commonMain/kotlin/dev/gitlive/firebase/auth/auth.kt) |
20+
| [Authentication](https://firebase.google.com/docs/auth) | [`dev.gitlive:firebase-auth:2.2.0`](https://search.maven.org/artifact/dev.gitlive/firebase-auth/2.2.0/pom) | [![80%](https://img.shields.io/badge/-80%25-green?style=flat-square)](/firebase-auth/src/commonMain/kotlin/dev/gitlive/firebase/auth/auth.kt) |
21+
| [Realtime Database](https://firebase.google.com/docs/database) | [`dev.gitlive:firebase-database:2.2.0`](https://search.maven.org/artifact/dev.gitlive/firebase-database/2.2.0/pom) | [![70%](https://img.shields.io/badge/-70%25-orange?style=flat-square)](/firebase-database/src/commonMain/kotlin/dev/gitlive/firebase/database/database.kt) |
22+
| [Cloud Firestore](https://firebase.google.com/docs/firestore) | [`dev.gitlive:firebase-firestore:2.2.0`](https://search.maven.org/artifact/dev.gitlive/firebase-firestore/2.2.0/pom) | [![60%](https://img.shields.io/badge/-60%25-orange?style=flat-square)](/firebase-firestore/src/commonMain/kotlin/dev/gitlive/firebase/firestore/firestore.kt) |
23+
| [Cloud Functions](https://firebase.google.com/docs/functions) | [`dev.gitlive:firebase-functions:2.2.0`](https://search.maven.org/artifact/dev.gitlive/firebase-functions/2.2.0/pom) | [![80%](https://img.shields.io/badge/-80%25-green?style=flat-square)](/firebase-functions/src/commonMain/kotlin/dev/gitlive/firebase/functions/functions.kt) |
24+
| [Cloud Messaging](https://firebase.google.com/docs/cloud-messaging) | [`dev.gitlive:firebase-messaging:2.2.0`](https://search.maven.org/artifact/dev.gitlive/firebase-messaging/2.2.0/pom) | [![1%](https://img.shields.io/badge/-10%25-orange?style=flat-square)](/firebase-messaging/src/commonMain/kotlin/dev/gitlive/firebase/messaging/messaging.kt) |
25+
| [Cloud Storage](https://firebase.google.com/docs/storage) | [`dev.gitlive:firebase-storage:2.2.0`](https://search.maven.org/artifact/dev.gitlive/firebase-storage/2.2.0/pom) | [![40%](https://img.shields.io/badge/-40%25-orange?style=flat-square)](/firebase-storage/src/commonMain/kotlin/dev/gitlive/firebase/storage/storage.kt) |
26+
| [Installations](https://firebase.google.com/docs/projects/manage-installations) | [`dev.gitlive:firebase-installations:2.2.0`](https://search.maven.org/artifact/dev.gitlive/firebase-installations/2.2.0/pom) | [![90%](https://img.shields.io/badge/-90%25-green?style=flat-square)](/firebase-installations/src/commonMain/kotlin/dev/gitlive/firebase/installations/installations.kt) |
27+
| [Remote Config](https://firebase.google.com/docs/remote-config) | [`dev.gitlive:firebase-config:2.2.0`](https://search.maven.org/artifact/dev.gitlive/firebase-config/2.2.0/pom) | [![20%](https://img.shields.io/badge/-20%25-orange?style=flat-square)](/firebase-config/src/commonMain/kotlin/dev/gitlive/firebase/remoteconfig/FirebaseRemoteConfig.kt) |
28+
| [Performance](https://firebase.google.com/docs/perf-mon) | [`dev.gitlive:firebase-perf:2.2.0`](https://search.maven.org/artifact/dev.gitlive/firebase-perf/2.2.0/pom) | [![1%](https://img.shields.io/badge/-10%25-orange?style=flat-square)](/firebase-perf/src/commonMain/kotlin/dev/gitlive/firebase/perf/performance.kt) |
29+
| [Crashlytics](https://firebase.google.com/docs/crashlytics) | [`dev.gitlive:firebase-crashlytics:2.2.0`](https://search.maven.org/artifact/dev.gitlive/firebase-crashlytics/2.2.0/pom) | [![80%](https://img.shields.io/badge/-10%25-orange?style=flat-square)](/firebase-crashlytics/src/commonMain/kotlin/dev/gitlive/firebase/crashlytics/crashlytics.kt) |
3030

3131
Is the Firebase library or API you need missing? [Create an issue](https://github.com/GitLiveApp/firebase-kotlin-sdk/issues/new?labels=API+coverage&template=increase-api-coverage.md&title=Add+%5Bclass+name%5D.%5Bfunction+name%5D+to+%5Blibrary+name%5D+for+%5Bplatform+names%5D) to request additional API coverage or be awesome and [submit a PR](https://github.com/GitLiveApp/firebase-kotlin-sdk/fork)
3232

build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,7 @@ subprojects {
196196

197197
repositories {
198198
maven {
199-
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2")
200-
199+
url = uri("https://central.sonatype.com/repository/maven-snapshots")
201200
credentials {
202201
username = project.findProperty("sonatypeUsername") as String? ?: System.getenv("sonatypeUsername")
203202
password = project.findProperty("sonatypePassword") as String? ?: System.getenv("sonatypePassword")

convention-plugin-test-option/src/main/kotlin/EmulatorJobsMatrix.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,7 @@ class EmulatorJobsMatrix {
3636
(rootProject.property("${subProject.name}.skipIosTests") == "true").not()
3737
}.map { subProject ->
3838
when (val osArch = System.getProperty("os.arch")) {
39-
"x86", "i386", "ia-32", "i686" -> "${subProject.path}:iosX86Test"
40-
"x86_64", "amd64", "x64", "x86-64" -> "${subProject.path}:iosX64Test"
41-
"arm", "arm-v7", "armv7", "arm32",
4239
"arm64", "arm-v8", "aarch64" -> "${subProject.path}:iosSimulatorArm64Test"
43-
4440
else -> throw Error("Unexpected System.getProperty(\"os.arch\") = $osArch")
4541
}
4642
}.map { listOf("cleanTest", it) }

firebase-analytics/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ kotlin {
7777

7878
if (supportIosTarget) {
7979
iosArm64()
80-
iosX64()
8180
iosSimulatorArm64()
8281
cocoapods {
8382
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()

firebase-analytics/src/androidMain/kotlin/dev/gitlive/firebase/analytics/analytics.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ import kotlin.time.Duration
1313
public actual val Firebase.analytics: FirebaseAnalytics
1414
get() = FirebaseAnalytics(com.google.firebase.Firebase.analytics)
1515

16-
public actual fun Firebase.analytics(app: FirebaseApp): FirebaseAnalytics =
17-
FirebaseAnalytics(com.google.firebase.Firebase.analytics)
16+
public actual fun Firebase.analytics(app: FirebaseApp): FirebaseAnalytics = FirebaseAnalytics(com.google.firebase.Firebase.analytics)
1817

1918
public val FirebaseAnalytics.android: com.google.firebase.analytics.FirebaseAnalytics get() = android
2019

firebase-analytics/src/jsMain/kotlin/dev/gitlive/firebase/analytics/analytics.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ import kotlin.time.Duration
1111
public actual val Firebase.analytics: FirebaseAnalytics
1212
get() = FirebaseAnalytics(getAnalytics())
1313

14-
public actual fun Firebase.analytics(app: FirebaseApp): FirebaseAnalytics =
15-
FirebaseAnalytics(getAnalytics(app.js))
14+
public actual fun Firebase.analytics(app: FirebaseApp): FirebaseAnalytics = FirebaseAnalytics(getAnalytics(app.js))
1615

1716
public val FirebaseAnalytics.js: dev.gitlive.firebase.analytics.externals.FirebaseAnalytics get() = js
1817

firebase-app/build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ kotlin {
7878

7979
if (supportIosTarget) {
8080
iosArm64()
81-
iosX64()
8281
iosSimulatorArm64()
8382

8483
cocoapods {
@@ -138,7 +137,7 @@ kotlin {
138137

139138
getByName("androidMain") {
140139
dependencies {
141-
api(libs.google.firebase.common.ktx)
140+
api(libs.google.firebase.common)
142141
}
143142
}
144143

0 commit comments

Comments
 (0)