diff --git a/build.gradle.kts b/build.gradle.kts index bb2f6a4..a2d7247 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -21,7 +21,7 @@ plugins { allprojects { group = "io.github.mirzemehdi" - version = "1.2.0-alpha" + version = "1.2.0-alpha02" val sonatypeUsername = gradleLocalProperties(rootDir).getProperty("sonatypeUsername") val sonatypePassword = gradleLocalProperties(rootDir).getProperty("sonatypePassword") val gpgKeySecret = gradleLocalProperties(rootDir).getProperty("gpgKeySecret") diff --git a/kmpnotifier/api/android/kmpnotifier.api b/kmpnotifier/api/android/kmpnotifier.api index 6675781..4349729 100644 --- a/kmpnotifier/api/android/kmpnotifier.api +++ b/kmpnotifier/api/android/kmpnotifier.api @@ -114,12 +114,12 @@ public final class com/mmk/kmpnotifier/permission/AndroidPermissionUtilKt { } public abstract interface class com/mmk/kmpnotifier/permission/PermissionUtil { - public abstract fun askNotificationPermission (Lkotlin/jvm/functions/Function0;)V + public abstract fun askNotificationPermission (Lkotlin/jvm/functions/Function1;)V public abstract fun hasNotificationPermission (Lkotlin/jvm/functions/Function1;)V } public final class com/mmk/kmpnotifier/permission/PermissionUtil$DefaultImpls { - public static synthetic fun askNotificationPermission$default (Lcom/mmk/kmpnotifier/permission/PermissionUtil;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V + public static synthetic fun askNotificationPermission$default (Lcom/mmk/kmpnotifier/permission/PermissionUtil;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V public static synthetic fun hasNotificationPermission$default (Lcom/mmk/kmpnotifier/permission/PermissionUtil;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V } diff --git a/kmpnotifier/api/jvm/kmpnotifier.api b/kmpnotifier/api/jvm/kmpnotifier.api index b12e7ca..b3903fe 100644 --- a/kmpnotifier/api/jvm/kmpnotifier.api +++ b/kmpnotifier/api/jvm/kmpnotifier.api @@ -104,12 +104,12 @@ public final class com/mmk/kmpnotifier/notification/configuration/NotificationPl } public abstract interface class com/mmk/kmpnotifier/permission/PermissionUtil { - public abstract fun askNotificationPermission (Lkotlin/jvm/functions/Function0;)V + public abstract fun askNotificationPermission (Lkotlin/jvm/functions/Function1;)V public abstract fun hasNotificationPermission (Lkotlin/jvm/functions/Function1;)V } public final class com/mmk/kmpnotifier/permission/PermissionUtil$DefaultImpls { - public static synthetic fun askNotificationPermission$default (Lcom/mmk/kmpnotifier/permission/PermissionUtil;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V + public static synthetic fun askNotificationPermission$default (Lcom/mmk/kmpnotifier/permission/PermissionUtil;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V public static synthetic fun hasNotificationPermission$default (Lcom/mmk/kmpnotifier/permission/PermissionUtil;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V }