Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track GitLive Master #75

Merged
merged 330 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
330 commits
Select commit Hold shift + click to select a range
2e736d4
Merge pull request #489 from splendo/fix-js-document-id
nbransby Apr 4, 2024
56a17e2
Merge remote-tracking branch 'GitLiveApp/master' into feature/firesto…
Daeda88 Apr 4, 2024
7c1beea
Initial commit
Qw4z1 Apr 10, 2024
0e53ad3
Temp encoding test
Daeda88 Apr 10, 2024
06dd193
Adding fixes for OnDisconnect
Daeda88 Apr 11, 2024
194e802
EncodedObject to make encoding more robust
Daeda88 Apr 11, 2024
dc54714
More stable implementation of Firestore encoding
Daeda88 Apr 11, 2024
7941f11
Cleanup & reenable tests
Daeda88 Apr 12, 2024
32ac02f
Fixing some JS issues
Daeda88 Apr 12, 2024
5dc2e4b
Restricted access to creating an EncodedObject
Daeda88 Apr 13, 2024
29cb3bd
Update README.md
nbransby Apr 13, 2024
b3e08e9
Update README.md
nbransby Apr 13, 2024
90e1bd6
Merge pull request #495 from GitLiveApp/nbransby-patch-1
nbransby Apr 13, 2024
a371444
EncodedObject as interface
Daeda88 Apr 13, 2024
828cd98
Merge remote-tracking branch 'GitLiveApp/master' into fix-on-disconnect
Daeda88 Apr 13, 2024
9f7d3cb
Move parts of the firebase-common module to new firebase-common-internal
Daeda88 Apr 13, 2024
a629f9a
moved EncodedData to internal
Daeda88 Apr 14, 2024
6ba3fa0
Merge pull request #70 from splendo/split-common-into-internals
Daeda88 Apr 14, 2024
f063b30
Merge remote-tracking branch 'GitLiveApp/master' into feature/firesto…
Daeda88 Apr 14, 2024
93d88f4
Use API aligned with Android specifications
Daeda88 Apr 15, 2024
473e9ba
Make iOS emulator track settings correctly
Daeda88 Apr 15, 2024
d7b3719
Minor cleanup/platform consistency fixes
Daeda88 Apr 15, 2024
83f0192
Make raw internal/Disable Android DB test
Daeda88 Apr 15, 2024
96df881
PR remarks
Daeda88 Apr 17, 2024
f6b41ca
Removed IllegalStateException
Daeda88 Apr 18, 2024
8d43e47
Added cache tests
Qw4z1 Apr 18, 2024
ad577b3
Merge pull request #491 from Qw4z1/set-source
nbransby Apr 18, 2024
a535e95
Fixed missing revert
Daeda88 Apr 18, 2024
844f0b4
Merge remote-tracking branch 'GitLiveApp/master' into feature/firesto…
Daeda88 Apr 18, 2024
5a28653
Fixed failing test
Daeda88 Apr 19, 2024
8daf907
Merge pull request #450 from splendo/feature/firestore-settings
nbransby Apr 20, 2024
f615bc3
Merge remote-tracking branch 'GitLiveApp/master' into fix-on-disconnect
Daeda88 Apr 21, 2024
cce8b82
Moved Firestore internals to different package
Daeda88 Apr 21, 2024
d465d72
Add some iOS readme details
Daeda88 May 3, 2024
a6a5344
Merge pull request #502 from splendo/ios-setup-readme
nbransby May 3, 2024
9fe68c2
Merge pull request #494 from splendo/fix-on-disconnect
nbransby May 4, 2024
c0463cd
refactor .js property to an extension
nbransby May 4, 2024
8d9ec91
Update firebase-java to 0.4.2
nbransby May 8, 2024
e26b7fa
Merge pull request #507 from GitLiveApp/nbransby-patch-1
nbransby May 8, 2024
cf6f093
Kotlin 1.9.23
Daeda88 May 15, 2024
d0fd99e
Merge pull request #508 from splendo/feature/kotlin-1.9.23
nbransby May 15, 2024
deb38b5
Firebase messaging frame
mr-kew May 16, 2024
5d789b5
add metadata to storage
BasBuijsen May 23, 2024
92277bf
fix for ios metadata crash
BasBuijsen May 23, 2024
698e222
firebase java sdk version change
taetae98coding May 24, 2024
10e6c04
Merge pull request #516 from taetae98coding/firebase_java_sdk_0.4.3
nbransby May 24, 2024
4ca3751
Merge branch 'master' into messaging-api-frame
nbransby May 26, 2024
b1fec12
Messaging added to the rest of the required places
mr-kew May 26, 2024
bc02afe
add ktx syntax for storage metadata
BasBuijsen May 27, 2024
0634b17
Merge branch 'master' into feat/firebaseStorageMetadata
BasBuijsen May 27, 2024
17f1ba7
add getter for metadata
BasBuijsen Jun 3, 2024
2ad430d
Merge branch 'feat/firebaseStorageMetadata' of https://github.com/deB…
BasBuijsen Jun 3, 2024
0ef2797
Basic initialization test added
mr-kew Jun 4, 2024
d765d74
add tests
BasBuijsen Jun 6, 2024
e5d103d
setup analytics
BasBuijsen Jun 6, 2024
c6c591c
add ktx syntax and publishing config
BasBuijsen Jun 6, 2024
2f74492
Merge branch 'master' into feat/Analytics
BasBuijsen Jun 6, 2024
8bf6b6b
Merge branch 'master' of https://github.com/GitLiveApp/firebase-kotli…
BasBuijsen Jun 6, 2024
c080015
Merge branch 'feat/Analytics' of https://github.com/deBasMan21/fireba…
BasBuijsen Jun 6, 2024
2350152
add analytics to readme
BasBuijsen Jun 6, 2024
744b704
add all constants
BasBuijsen Jun 7, 2024
35df799
add setConsent
BasBuijsen Jun 7, 2024
65ab6cc
add builders as extensions
BasBuijsen Jun 7, 2024
3861ba1
support more types for logging events
BasBuijsen Jun 7, 2024
ee13682
fix build for jvm
BasBuijsen Jun 7, 2024
80ac5aa
FIRAuthUIDelegateProtocol is not available outside of the firebase li…
kristohear Jun 10, 2024
ae457ac
Support for Kotlin 2.0
Daeda88 Jun 11, 2024
680aa45
Add linting/api validation
Daeda88 Jun 11, 2024
d5d9a46
Run linter
Daeda88 Jun 11, 2024
e727265
Correct JS dependency version
Daeda88 Jun 11, 2024
7b45467
Merge branch 'feature/kotlin-2.0' into feature/api-validation
Daeda88 Jun 11, 2024
03e8702
Removed the UNCHANGED logic from update profile
Daeda88 Jun 11, 2024
33e2a8a
Merge branch 'feature/kotlin-2.0' into feature/api-validation
Daeda88 Jun 11, 2024
4a27646
Fixes for JVM
Daeda88 Jun 11, 2024
28fc8d4
Merge branch 'feature/kotlin-2.0' into feature/api-validation
Daeda88 Jun 11, 2024
6b24b87
Make delegate optional
kristohear Jun 12, 2024
1e3c733
Proper PhoneAuthProvider fix
kristohear Jun 12, 2024
705c337
Merge branch 'feature/api-validation' into feature/gitlive-master-tra…
Daeda88 Jun 11, 2024
3c13869
Linting
Daeda88 Jun 12, 2024
c91f6c2
API Dump
Daeda88 Jun 12, 2024
0dd4516
Fixed tests
Daeda88 Jun 12, 2024
27c990f
Fixed jvMain also
kristohear Jun 13, 2024
f0d4dcc
Reverted back AuthCredential logic
kristohear Jun 13, 2024
54740d7
Merge pull request #509 from mr-kew/messaging-api-frame
nbransby Jun 14, 2024
eb45b5d
Merge branch 'master' into master
Reedyuk Jun 14, 2024
0f55751
fix js build
BasBuijsen Jun 14, 2024
3186355
Merge branch 'master' into feat/firebaseStorageMetadata
BasBuijsen Jun 14, 2024
44bcd46
Merge branch 'master' into feat/Analytics
nbransby Jun 14, 2024
ef4fdab
fix js build
BasBuijsen Jun 14, 2024
bb61386
Merge pull request #514 from deBasMan21/feat/firebaseStorageMetadata
nbransby Jun 14, 2024
ba3d156
Merge pull request #528 from kiiskristo/master
nbransby Jun 15, 2024
084635f
skip ios tests for analytics
BasBuijsen Jun 15, 2024
fb79f41
Merge branch 'master' into feat/Analytics
BasBuijsen Jun 15, 2024
05d6649
Merge branch 'master' of https://github.com/GitLiveApp/firebase-kotli…
BasBuijsen Jun 16, 2024
bf112f7
Merge pull request #525 from deBasMan21/feat/Analytics
nbransby Jun 16, 2024
a3cd5fa
Merge branch 'master' into feature/kotlin-2.0
nbransby Jun 16, 2024
c189411
Moved dependency declarations to TOML file
siarhei-luskanau Jun 14, 2024
82c8747
Merge branch 'master' of https://github.com/GitLiveApp/firebase-kotli…
BasBuijsen Jun 16, 2024
95e11ec
add messaging functionality
BasBuijsen Jun 16, 2024
ddb283f
fix js implementation
BasBuijsen Jun 16, 2024
24268d5
small testing improvement
BasBuijsen Jun 16, 2024
096f468
Merge pull request #532 from siarhei-luskanau/toml
nbransby Jun 18, 2024
29000d2
throw error for subscribing on js
BasBuijsen Jun 18, 2024
911b97f
Merge branch 'master' of https://github.com/GitLiveApp/firebase-kotli…
BasBuijsen Jun 18, 2024
b6ccc3e
remove unavailable external functions
BasBuijsen Jun 19, 2024
90fba35
Run android emulator on ubuntu build agent. `gradle-managed-devices` …
siarhei-luskanau Jun 19, 2024
b94b324
Merge branch 'master' into feat/MessagingImprovements
Reedyuk Jun 19, 2024
339dbd6
Merge pull request #536 from deBasMan21/feat/MessagingImprovements
nbransby Jun 20, 2024
0376989
Documentation with Dokka and KDoc (#537)
BasBuijsen Jun 20, 2024
12b0d74
add storage with custom url
BasBuijsen Jun 20, 2024
7a985ea
Adjusted documentation scripts
Reedyuk Jun 21, 2024
e0ebbce
Merge branch 'master' into feat/StorageWithUrl
Reedyuk Jun 21, 2024
ee64e87
Update README.md
Reedyuk Jun 21, 2024
bbdd98c
Update README.md
Reedyuk Jun 21, 2024
8e900e8
bump minor version
nbransby Jun 21, 2024
e54c12e
Merge pull request #540 from deBasMan21/feat/StorageWithUrl
nbransby Jun 21, 2024
837daa7
Merge branch 'master' into feature/kotlin-2.0
Daeda88 Jun 23, 2024
150ebda
Fixed missing publish script (#545)
Daeda88 Jun 23, 2024
5c3ac45
Support skipping JVM tests
Daeda88 Jun 23, 2024
e1acf13
Merge remote-tracking branch 'GitLiveApp/master' into feature/kotlin-2.0
Daeda88 Jun 23, 2024
ff3b36c
Update README.md
nbransby Jun 24, 2024
efba3c7
Move cocoapods versioning to version catalog
Daeda88 Jun 24, 2024
01983d3
Merge branch 'master' into feature/kotlin-2.0
Daeda88 Jun 24, 2024
5a06df6
Upgrade to latest github actions
Daeda88 Jun 24, 2024
470fcc4
Merge branch 'feature/kotlin-2.0' into feature/api-validation
Daeda88 Jun 24, 2024
9d3708e
temp skip storage tests on iOS to see if it explains hanging
Daeda88 Jun 24, 2024
52f37b8
Adding explicit API
Daeda88 Jun 24, 2024
e337d0a
API dump
Daeda88 Jun 24, 2024
3d41683
Try running Storage on X64 target
Daeda88 Jun 24, 2024
ad0d12b
Set CI to latest
Daeda88 Jun 24, 2024
9d21644
Added params for screen_name and screen_class
griffinsorrentino Jun 24, 2024
a41aa20
Attempt to stabilize Crashlytics tests
Daeda88 Jun 24, 2024
7b353d8
Add test
shepeliev Jun 24, 2024
2da8cac
Re-work boolean decoder
shepeliev Jun 24, 2024
053c6fc
Add one more test
shepeliev Jun 24, 2024
1ab5cb5
Remove redundant type conversion
shepeliev Jun 24, 2024
0112654
Fixed 547
Daeda88 Jun 25, 2024
9639a5d
Cleanup of test
Daeda88 Jun 25, 2024
fbb34c7
Merge branch 'feature/kotlin-2.0' into feature/api-validation
Daeda88 Jun 25, 2024
a85efaa
Fixed Storage for JS
Daeda88 Jun 25, 2024
b5614d3
Merge branch 'feature/kotlin-2.0' into feature/api-validation
Daeda88 Jun 25, 2024
f0c0777
Merge pull request #549 from shepeliev/boolean-decoder
nbransby Jun 25, 2024
5504c0d
Merge branch 'master' into feature/kotlin-2.0
nbransby Jun 25, 2024
4bf9531
Code inspection cleanup
Daeda88 Jun 25, 2024
e78daed
Merge pull request #548 from griffinsorrentino/patch-1
nbransby Jun 25, 2024
bc46dad
Merge remote-tracking branch 'GitLiveApp/master' into feature/kotlin-2.0
Daeda88 Jun 25, 2024
7ce7eb9
Fixed broken iOS test
Daeda88 Jun 25, 2024
0892b49
Merge branch 'feature/kotlin-2.0' into feature/api-validation
Daeda88 Jun 25, 2024
9eddf2d
Added readme
Daeda88 Jun 25, 2024
26d518d
Improvement to Uploading artifacts
Daeda88 Jun 25, 2024
7b6007a
Merge branch 'feature/kotlin-2.0' into feature/api-validation
Daeda88 Jun 25, 2024
40da2d2
Merge branch 'feature/api-validation' into feature/gitlive-master-tra…
Daeda88 Jun 25, 2024
50b373c
Move API Check to JVM block
Daeda88 Jun 25, 2024
a9cd686
Merge branch 'feature/api-validation' into feature/gitlive-master-tra…
Daeda88 Jun 25, 2024
0c085fe
Using proper Android task name
Daeda88 Jun 25, 2024
7886f0f
Attempting to fix iOS auth tests
Daeda88 Jun 25, 2024
da96818
Trying to fix Android name
Daeda88 Jun 25, 2024
473872b
Another syntax
Daeda88 Jun 25, 2024
8cae779
Without cut
Daeda88 Jun 25, 2024
2555ae8
IN quotes
Daeda88 Jun 25, 2024
6e3772b
Test again
Daeda88 Jun 25, 2024
ac899e3
Retry with cut
Daeda88 Jun 25, 2024
6ef4f30
Cut at right position
Daeda88 Jun 25, 2024
775659b
Yet another attempt
Daeda88 Jun 25, 2024
a0599d7
Merge pull request #529 from splendo/feature/kotlin-2.0
nbransby Jun 25, 2024
20d4b71
Merge remote-tracking branch 'GitLiveApp/master' into feature/api-val…
Daeda88 Jun 25, 2024
115f841
Merge branch 'master' into make-android-ios-js-properties-extensions
nbransby Jun 25, 2024
b72a3cf
Fixed latest api chabges
Daeda88 Jun 25, 2024
c426c5c
Update analytics.kt
nbransby Jun 26, 2024
6b1571a
Merge pull request #550 from splendo/feature/api-validation
nbransby Jun 26, 2024
93e5233
Changes the use of timestamps as long into Kotlin Duration
Daeda88 Jun 26, 2024
6b9cb80
Fixed JS crash
Daeda88 Jun 26, 2024
8acaa41
Remove Native classes from Public API
Daeda88 Jun 26, 2024
bcdf8e3
Fixed broken test
Daeda88 Jun 26, 2024
e0a0339
Move Config to use Instant
Daeda88 Jun 26, 2024
e996b7c
Merge pull request #553 from splendo/feature/kotlin-duration
nbransby Jun 27, 2024
6439a1c
Merge pull request #555 from splendo/feature/make-native-classes-interna
nbransby Jun 27, 2024
5b0c17b
Update README.md
nbransby Jun 29, 2024
f6e4393
Merge remote-tracking branch 'GitLiveApp/master' into feature/gitlive…
Daeda88 Jul 2, 2024
a9086b8
Fixed a crash for settings when iOS would access the same Firebase in…
Daeda88 Jul 9, 2024
457926f
Linting
Daeda88 Jul 9, 2024
be243a9
Fix for #551
Daeda88 Jul 9, 2024
09c1e71
Properly retain setting on JS
Daeda88 Jul 9, 2024
fef2847
Fix for test
Daeda88 Jul 9, 2024
4be99fd
PR remarks: Replaced readable settings with write only method
Daeda88 Jul 10, 2024
c987bea
Settings as write only property
Daeda88 Jul 11, 2024
101869c
Merge pull request #562 from splendo/feature/552-ios-settings-crash
nbransby Jul 11, 2024
2401330
Split tests by modules in Github Actions
siarhei-luskanau Jul 1, 2024
1abbb9b
Merge pull request #558 from siarhei-luskanau/github-actions-matrix
nbransby Jul 12, 2024
d7e88f5
Make setUserId accept nullable user id to clear user id.
Qw4z1 Jul 24, 2024
d358e7d
Added support for deleting FCM token
griffinsorrentino Jul 24, 2024
5122332
Format kotlin files in Github Actions
siarhei-luskanau Jul 24, 2024
39b829f
Apply automatic changes
siarhei-luskanau Jul 25, 2024
e175fc0
Merge pull request #570 from Qw4z1/nullableuserid
nbransby Jul 25, 2024
ecfee38
Added js impl
griffinsorrentino Jul 25, 2024
c19aebb
Added API declarations
griffinsorrentino Jul 25, 2024
219bd60
Merge branch 'master' into master
griffinsorrentino Jul 25, 2024
d80a467
Merge pull request #572 from griffinsorrentino/master
nbransby Jul 26, 2024
037a403
Merge branch 'master' into lintKotlin
nbransby Jul 26, 2024
70d0514
Merge pull request #571 from siarhei-luskanau/lintKotlin
nbransby Jul 27, 2024
1c151da
Merge remote-tracking branch 'origin/master' into make-android-ios-js…
nbransby Aug 2, 2024
71a8395
fix dup line after merge
nbransby Aug 2, 2024
c55ae6a
Apply automatic changes
nbransby Aug 2, 2024
51d0dfa
fix public api issues
nbransby Aug 2, 2024
8b12f21
Added platform extensions for ios and android
Reedyuk Aug 15, 2024
476a9b6
Apply automatic changes
Reedyuk Aug 15, 2024
f45d508
Corrected lint mistakes.
Reedyuk Aug 16, 2024
988336d
Corrected ktlint mistakes.
Reedyuk Aug 16, 2024
8308f0b
Corrected ktlint mistakes.
Reedyuk Aug 16, 2024
b7fd918
Regenerated new apis
Reedyuk Aug 16, 2024
9bb7ea9
Regenerated new apis
Reedyuk Aug 16, 2024
62571b5
Added more extensions for other classes.
Reedyuk Aug 16, 2024
2e5eb27
Added new api docs
Reedyuk Aug 16, 2024
c800594
Ran api docs for firebase auth
Reedyuk Aug 16, 2024
ff61dd2
Changed firebase app to use extension method with same name
Reedyuk Aug 17, 2024
8de4047
Updated api docs.
Reedyuk Aug 17, 2024
dc342c2
Adjusted public imports
Reedyuk Aug 18, 2024
855107b
api updated
Reedyuk Aug 18, 2024
b761a67
Added internal for native types.
Reedyuk Aug 22, 2024
5817981
Merge pull request #504 from GitLiveApp/make-android-ios-js-propertie…
nbransby Aug 23, 2024
a331c4c
Update README.md
nbransby Aug 23, 2024
b5b5e73
Bumped dependencies and Gradle wrapper
siarhei-luskanau Aug 23, 2024
0b0cee3
Merge pull request #589 from siarhei-luskanau/deps_update
nbransby Aug 27, 2024
a2baf53
Added dependabot config
siarhei-luskanau Aug 27, 2024
685417e
Revert to API 21 as minSDK for all but Auth
Daeda88 Aug 27, 2024
aecc0b2
Merge pull request #594 from splendo/feature/591-api-21
nbransby Aug 28, 2024
650ff89
Merge pull request #593 from siarhei-luskanau/dependabot-config
nbransby Aug 28, 2024
2b64e5d
Bump kotlin from 2.0.0 to 2.0.20
dependabot[bot] Aug 28, 2024
f77b5ac
Bump com.adarshr.test-logger from 3.2.0 to 4.0.0
dependabot[bot] Aug 28, 2024
e563423
Merge remote-tracking branch 'GitLiveApp/dependabot/gradle/kotlin-2.0…
Daeda88 Aug 28, 2024
3fe4b1e
Bump org.jmailen.kotlinter from 4.4.0 to 4.4.1
dependabot[bot] Aug 28, 2024
5ec13a5
Bump org.jetbrains.kotlinx.binary-compatibility-validator
dependabot[bot] Aug 28, 2024
6592ed3
Bump gradle/gradle-build-action from 2 to 3
dependabot[bot] Aug 28, 2024
73147a1
Bump dev.gitlive:firebase-java-sdk from 0.4.3 to 0.4.5
dependabot[bot] Aug 28, 2024
f31881c
Fixes for Kotlin 2.0.20
Daeda88 Aug 28, 2024
6220163
Added fixes for imports.
Reedyuk Aug 28, 2024
2f56a62
Adjusted api dump.
Reedyuk Aug 28, 2024
0c6f408
Merge pull request #601 from splendo/feature/dependabot-combined
nbransby Aug 29, 2024
a033138
Adjusted import to import as
Reedyuk Aug 29, 2024
f8ae8dd
Merge branch 'master' into android-imports
Reedyuk Aug 29, 2024
1ad7fef
Added import as Platform
Reedyuk Aug 29, 2024
8310e6c
Apply automatic changes
Reedyuk Aug 29, 2024
6251476
Moves ValueWithSerializer back into public API
Daeda88 Aug 29, 2024
8e2d6a0
Adjusted readme
Reedyuk Aug 29, 2024
53ad156
Merge branch 'master' into feature/gitlive-master-tracking
Daeda88 Aug 29, 2024
39c0243
Merge branch 'feature/public-ValueWithSerializer' into feature/gitliv…
Daeda88 Aug 29, 2024
0dc5fd0
Lint
Daeda88 Aug 29, 2024
a1c9f57
Merge pull request #603 from GitLiveApp/android-imports
nbransby Aug 29, 2024
64073d4
Fix api
Daeda88 Aug 29, 2024
b0b7c53
Merge remote-tracking branch 'GitLiveApp/master' into feature/gitlive…
Daeda88 Aug 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
root = true

[*.{kt,kts}]
ktlint_code_style = intellij_idea
ktlint_ignore_back_ticked_identifier = true

ktlint_standard = enabled
ktlint_standard_no-wildcard-imports = disabled
ktlint_standard_filename = disabled
ktlint_standard_import-ordering = disabled
ktlint_standard_function-naming = disabled

ktlint_experimental = disabled

6 changes: 3 additions & 3 deletions .github/actions/setup_test_action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ runs:
using: "composite"
steps:
- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
Expand All @@ -18,7 +18,7 @@ runs:
shell: bash
run: npm update
- name: Gradle cache
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v4
- name: Grant execute permission for gradlew
shell: bash
run: chmod +x gradlew
Expand All @@ -29,4 +29,4 @@ runs:
shell: bash
run: |
firebase emulators:start --config=./test/firebase.json &
wait-on http://127.0.0.1:9099
wait-on http://127.0.0.1:9099
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
41 changes: 36 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,29 @@ env:

jobs:
build:
runs-on: macos-13
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- uses: gradle/gradle-build-action@v2
- uses: gradle/actions/setup-gradle@v4
- name: Setup versions
run: ./gradlew :updateVersions
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish Firebase Analytics
run: ./gradlew :firebase-analytics:publish
- name: Publish Firebase App
run: ./gradlew :firebase-app:publish
- name: Publish Firebase Auth
run: ./gradlew :firebase-auth:publish
- name: Publish Firebase Common
run: ./gradlew :firebase-common:publish
- name: Publish Firebase Common Internal
run: ./gradlew :firebase-common-internal:publish
- name: Publish Firebase Config
run: ./gradlew :firebase-config:publish
- name: Publish Firebase Database
Expand All @@ -42,11 +46,38 @@ jobs:
run: ./gradlew :firebase-firestore:publish
- name: Publish Firebase Functions
run: ./gradlew :firebase-functions:publish
- name: Publish Firebase Messaging
run: ./gradlew :firebase-messaging:publish
- name: Publish Firebase Storage
run: ./gradlew :firebase-storage:publish
- name: Publish Firebase Installations
run: ./gradlew :firebase-installations:publish
- name: Publish Firebase Performance
run: ./gradlew :firebase-perf:publish
- name: Publish Firebase Crashlytics
run: ./gradlew :firebase-crashlytics:publish
run: ./gradlew :firebase-crashlytics:publish
documentation:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- uses: gradle/gradle-build-action@v3
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Generate documentation
run: ./gradlew dokkaHtmlMultiModule
- name: Uploading build folder
uses: actions/upload-artifact@v4
with:
name: artefact
path: build/dokka/htmlMultiModule
- name: Deploy API documentation to Github Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build/dokka/htmlMultiModule
target-folder: docs
174 changes: 118 additions & 56 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,109 +8,171 @@ on:
branches: [ master, prerelease ]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: ktLint
run: ./gradlew lintKotlin
- name: run apiCheck
run: ./gradlew apiCheck
jobMatrixSetup:
runs-on: ubuntu-latest
outputs:
emulator_jobs_matrix: ${{ steps.dataStep.outputs.emulator_jobs_matrix }}
ios_test_jobs_matrix: ${{ steps.dataStep.outputs.ios_test_jobs_matrix }}
js_test_jobs_matrix: ${{ steps.dataStep.outputs.js_test_jobs_matrix }}
jvm_test_jobs_matrix: ${{ steps.dataStep.outputs.jvm_test_jobs_matrix }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: gradle
- name: Prepare the matrix JSON
run: ./gradlew ciJobsMatrixSetup
- id: dataStep
run: |
echo "
emulator_jobs_matrix=$(jq -c . < ./build/emulator_jobs_matrix.json)
ios_test_jobs_matrix=$(jq -c . < ./build/ios_test_jobs_matrix.json)
js_test_jobs_matrix=$(jq -c . < ./build/js_test_jobs_matrix.json)
jvm_test_jobs_matrix=$(jq -c . < ./build/jvm_test_jobs_matrix.json)
" >> $GITHUB_OUTPUT
build-android:
runs-on: macos-13
needs: jobMatrixSetup
runs-on: ubuntu-latest
strategy:
matrix:
api-level: [ 34 ]
fail-fast: false
matrix: ${{ fromJson(needs.jobMatrixSetup.outputs.emulator_jobs_matrix) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Enable KVM group perms
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Setup test environment
uses: ./.github/actions/setup_test_action
- name: AVD cache
uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ matrix.api-level }}-${{ runner.os }}-${{ runner.arch }}
- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
arch: x86_64
target: google_apis
avd-name: pixel6_API${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."
- name: Set Artifact Name
run: |
echo "ARCHIVE_KEY=$(echo ${{ matrix.gradle_tasks }} | cut -d: -f2)" >> $GITHUB_ENV
- name: Apply Android licenses
run: ./gradlew ciSdkManagerLicenses
- name: Run Android Instrumented Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
arch: x86_64
target: google_apis
avd-name: pixel6_API${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: ./gradlew connectedAndroidTest
run: ./gradlew ${{ matrix.gradle_tasks }}
- name: Upload Android test artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: "Android Test Report HTML"
name: Android ${{ env.ARCHIVE_KEY }} Test Report HTML
path: "**/build/reports/androidTests/"
- name: Upload Firebase Debug Log
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: "Firebase Debug Log"
name: Android ${{ env.ARCHIVE_KEY }} Firebase Debug Log
path: "**/firebase-debug.log"
build-js:
needs: jobMatrixSetup
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.jobMatrixSetup.outputs.js_test_jobs_matrix) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup test environment
uses: ./.github/actions/setup_test_action
timeout-minutes: 10
- name: Set Artifact Name
run: |
echo "ARCHIVE_KEY=$(echo ${{ matrix.gradle_tasks }} | cut -d: -f2)" >> $GITHUB_ENV
- name: Run JS Tests
run: ./gradlew cleanTest jsTest
run: ./gradlew ${{ matrix.gradle_tasks }}
- name: Upload JS test artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: "JS Test Report HTML"
name: JS ${{ env.ARCHIVE_KEY }} Test Report HTML
path: |
**/build/reports/tests/jsTest/
**/build/reports/tests/jsBrowserTest/
**/build/reports/tests/jsNodeTest/
- name: Upload Firebase Debug Log
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: "Firebase Debug Log"
name: JS ${{ env.ARCHIVE_KEY }} Firebase Debug Log
path: "**/firebase-debug.log"
build-ios:
runs-on: macos-13
needs: jobMatrixSetup
runs-on: macos-latest
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.jobMatrixSetup.outputs.ios_test_jobs_matrix) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cocoapods cache
uses: actions/cache@v3
id: cocoapods-cache
uses: actions/cache@v4
with:
path: |
~/.cocoapods
~/Library/Caches/CocoaPods
*/build/cocoapods
*/build/classes
key: cocoapods-cache
key: cocoapods-cache-v2
- name: Setup test environment
uses: ./.github/actions/setup_test_action
- name: Set Artifact Name
run: |
echo "ARCHIVE_KEY=$(echo ${{ matrix.gradle_tasks }} | cut -d: -f2)" >> $GITHUB_ENV
- name: Run iOS Tests
run: ./gradlew cleanTest iosX64Test
run: ./gradlew ${{ matrix.gradle_tasks }}
- name: Upload iOS test artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: "iOS Test Report HTML"
path: "**/build/reports/tests/iosX64Test/"
name: iOS ${{ env.ARCHIVE_KEY }} Test Report HTML
path: "**/build/reports/tests/iosSimulatorArm64Test/"
- name: Upload Firebase Debug Log
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: "Firebase Debug Log"
name: iOS ${{ env.ARCHIVE_KEY }} Firebase Debug Log
path: "**/firebase-debug.log"

build-jvm:
needs: jobMatrixSetup
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.jobMatrixSetup.outputs.jvm_test_jobs_matrix) }}
steps:
- uses: actions/checkout@v4
- name: Setup test environment
uses: ./.github/actions/setup_test_action
timeout-minutes: 10
- name: Set Artifact Name
run: |
echo "ARCHIVE_KEY=$(echo ${{ matrix.gradle_tasks }} | cut -d: -f2)" >> $GITHUB_ENV
- name: Run JVM Tests
run: ./gradlew ${{ matrix.gradle_tasks }}
- name: Upload JVM test artifact
uses: actions/upload-artifact@v4
if: failure()
with:
name: JVM ${{ env.ARCHIVE_KEY }} Test Report HTML
path: |
**/build/reports/tests/jvmTest/
- name: Upload Firebase Debug Log
uses: actions/upload-artifact@v4
if: failure()
with:
name: JVM ${{ env.ARCHIVE_KEY }} Firebase Debug Log
path: "**/firebase-debug.log"
23 changes: 23 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Push

on: [ push ]

jobs:
formatKotlin:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: formatKotlin
run: ./gradlew formatKotlin
- uses: stefanzweifel/git-auto-commit-action@v5
- name: lintKotlin
run: ./gradlew lintKotlin
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Project exclude paths
/.gradle/
/**/.gradle/
/**/build/
/.idea/
local.properties
Expand All @@ -11,3 +11,5 @@ Firebase*.zip
*.log
/kotlin-js-store/
/kotlin-js-store/yarn.lock

.kotlin/
Loading
Loading