Skip to content

Commit

Permalink
Fixes for Kotlin 2.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Daeda88 committed Aug 28, 2024
1 parent 73147a1 commit f31881c
Show file tree
Hide file tree
Showing 16 changed files with 6 additions and 104 deletions.
2 changes: 0 additions & 2 deletions firebase-app/api/android/firebase-app.api
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ public final class dev/gitlive/firebase/Firebase {
}

public final class dev/gitlive/firebase/FirebaseApp {
public final fun copy (Lcom/google/firebase/FirebaseApp;)Ldev/gitlive/firebase/FirebaseApp;
public static synthetic fun copy$default (Ldev/gitlive/firebase/FirebaseApp;Lcom/google/firebase/FirebaseApp;ILjava/lang/Object;)Ldev/gitlive/firebase/FirebaseApp;
public final fun delete (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public fun equals (Ljava/lang/Object;)Z
public final fun getName ()Ljava/lang/String;
Expand Down
2 changes: 0 additions & 2 deletions firebase-app/api/jvm/firebase-app.api
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ public final class dev/gitlive/firebase/Firebase {
}

public final class dev/gitlive/firebase/FirebaseApp {
public final fun copy (Lcom/google/firebase/FirebaseApp;)Ldev/gitlive/firebase/FirebaseApp;
public static synthetic fun copy$default (Ldev/gitlive/firebase/FirebaseApp;Lcom/google/firebase/FirebaseApp;ILjava/lang/Object;)Ldev/gitlive/firebase/FirebaseApp;
public final fun delete (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public fun equals (Ljava/lang/Object;)Z
public final fun getName ()Ljava/lang/String;
Expand Down
1 change: 1 addition & 0 deletions firebase-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ kotlin {
@OptIn(ExperimentalKotlinGradlePluginApi::class)
compilerOptions {
freeCompilerArgs.add("-Xexpect-actual-classes")
freeCompilerArgs.add("-Xconsistent-data-class-copy-visibility")
}
targets.configureEach {
compilations.configureEach {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public actual class FirebaseAuth internal constructor(internal val android: com.

public actual suspend fun <T : ActionCodeResult> checkActionCode(code: String): T {
val result = android.checkActionCode(code).await()
@Suppress("UNCHECKED_CAST")
return when (result.operation) {
SIGN_IN_WITH_EMAIL_LINK -> ActionCodeResult.SignInWithEmailLink
VERIFY_EMAIL -> ActionCodeResult.VerifyEmail(result.info!!.email)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ public final class dev/gitlive/firebase/internal/EncodeDecodeSettingsKt {
public final class dev/gitlive/firebase/internal/EncodeSettingsImpl : dev/gitlive/firebase/EncodeSettings {
public final fun component1 ()Z
public final fun component2 ()Lkotlinx/serialization/modules/SerializersModule;
public final fun copy (ZLkotlinx/serialization/modules/SerializersModule;)Ldev/gitlive/firebase/internal/EncodeSettingsImpl;
public static synthetic fun copy$default (Ldev/gitlive/firebase/internal/EncodeSettingsImpl;ZLkotlinx/serialization/modules/SerializersModule;ILjava/lang/Object;)Ldev/gitlive/firebase/internal/EncodeSettingsImpl;
public fun equals (Ljava/lang/Object;)Z
public fun getEncodeDefaults ()Z
public fun getSerializersModule ()Lkotlinx/serialization/modules/SerializersModule;
Expand Down
2 changes: 0 additions & 2 deletions firebase-common-internal/api/jvm/firebase-common-internal.api
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ public final class dev/gitlive/firebase/internal/EncodeDecodeSettingsKt {
public final class dev/gitlive/firebase/internal/EncodeSettingsImpl : dev/gitlive/firebase/EncodeSettings {
public final fun component1 ()Z
public final fun component2 ()Lkotlinx/serialization/modules/SerializersModule;
public final fun copy (ZLkotlinx/serialization/modules/SerializersModule;)Ldev/gitlive/firebase/internal/EncodeSettingsImpl;
public static synthetic fun copy$default (Ldev/gitlive/firebase/internal/EncodeSettingsImpl;ZLkotlinx/serialization/modules/SerializersModule;ILjava/lang/Object;)Ldev/gitlive/firebase/internal/EncodeSettingsImpl;
public fun equals (Ljava/lang/Object;)Z
public fun getEncodeDefaults ()Z
public fun getSerializersModule ()Lkotlinx/serialization/modules/SerializersModule;
Expand Down
1 change: 1 addition & 0 deletions firebase-common-internal/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ kotlin {
@OptIn(ExperimentalKotlinGradlePluginApi::class)
compilerOptions {
freeCompilerArgs.add("-Xexpect-actual-classes")
freeCompilerArgs.add("-Xconsistent-data-class-copy-visibility")
}
targets.configureEach {
compilations.configureEach {
Expand Down
2 changes: 0 additions & 2 deletions firebase-database/api/android/firebase-database.api
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ public final class dev/gitlive/firebase/database/ChildEvent {
public final fun component1 ()Ldev/gitlive/firebase/database/DataSnapshot;
public final fun component2 ()Ldev/gitlive/firebase/database/ChildEvent$Type;
public final fun component3 ()Ljava/lang/String;
public final fun copy (Ldev/gitlive/firebase/database/DataSnapshot;Ldev/gitlive/firebase/database/ChildEvent$Type;Ljava/lang/String;)Ldev/gitlive/firebase/database/ChildEvent;
public static synthetic fun copy$default (Ldev/gitlive/firebase/database/ChildEvent;Ldev/gitlive/firebase/database/DataSnapshot;Ldev/gitlive/firebase/database/ChildEvent$Type;Ljava/lang/String;ILjava/lang/Object;)Ldev/gitlive/firebase/database/ChildEvent;
public fun equals (Ljava/lang/Object;)Z
public final fun getPreviousChildName ()Ljava/lang/String;
public final fun getSnapshot ()Ldev/gitlive/firebase/database/DataSnapshot;
Expand Down
2 changes: 0 additions & 2 deletions firebase-database/api/jvm/firebase-database.api
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ public final class dev/gitlive/firebase/database/ChildEvent {
public final fun component1 ()Ldev/gitlive/firebase/database/DataSnapshot;
public final fun component2 ()Ldev/gitlive/firebase/database/ChildEvent$Type;
public final fun component3 ()Ljava/lang/String;
public final fun copy (Ldev/gitlive/firebase/database/DataSnapshot;Ldev/gitlive/firebase/database/ChildEvent$Type;Ljava/lang/String;)Ldev/gitlive/firebase/database/ChildEvent;
public static synthetic fun copy$default (Ldev/gitlive/firebase/database/ChildEvent;Ldev/gitlive/firebase/database/DataSnapshot;Ldev/gitlive/firebase/database/ChildEvent$Type;Ljava/lang/String;ILjava/lang/Object;)Ldev/gitlive/firebase/database/ChildEvent;
public fun equals (Ljava/lang/Object;)Z
public final fun getPreviousChildName ()Ljava/lang/String;
public final fun getSnapshot ()Ldev/gitlive/firebase/database/DataSnapshot;
Expand Down
1 change: 1 addition & 0 deletions firebase-database/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ kotlin {
@OptIn(ExperimentalKotlinGradlePluginApi::class)
compilerOptions {
freeCompilerArgs.add("-Xexpect-actual-classes")
freeCompilerArgs.add("-Xconsistent-data-class-copy-visibility")
}
targets.configureEach {
compilations.configureEach {
Expand Down
Loading

0 comments on commit f31881c

Please sign in to comment.