Skip to content

Commit

Permalink
Merge pull request #6 from MyUNiDAYS/Add-stop-appsflyer
Browse files Browse the repository at this point in the history
Added stop function to appsflyer lib
  • Loading branch information
Reedyuk authored May 10, 2023
2 parents 68aae4e + 4856072 commit 2337824
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ signing.keyId=""
signing.password=""

MODULE_PACKAGE_NAME=com.myunidays
MODULE_VERSION_NUMBER=0.1.0
MODULE_VERSION_NUMBER=0.1.1
MODULE_NAME=segmenkt

OPEN_SOURCE_REPO=https://oss.sonatype.org/service/local/staging/deploy/maven2/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ actual class AppsFlyerLib internal constructor(val android: com.appsflyer.AppsFl
actual fun getAppsFlyerUID(context: Any?): String? = android.getAppsFlyerUID(context as Context)
actual fun start(context: Any?) = android.start(context as Context)
actual fun setDebug(isDebug: Boolean) = android.setDebugLog(isDebug)
actual fun stop(shouldStop: Boolean, context: Any?) = android.stop(shouldStop, context as Context)
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ expect class AppsFlyerLib {
val isStopped: Boolean
fun getAppsFlyerUID(context: Any? = null): String?
fun start(context: Any? = null)
fun stop(shouldStop: Boolean, context: Any? = null)
fun setDebug(isDebug: Boolean)
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ actual class AppsFlyerLib internal constructor(val ios: cocoapods.Analytics.Apps
actual fun getAppsFlyerUID(context: Any?): String? = ios.getAppsFlyerUID()
actual fun start(context: Any?) = ios.start()
actual fun setDebug(isDebug: Boolean) = ios.setIsDebug(isDebug)
actual fun stop(shouldStop: Boolean, context: Any?) = ios.setIsStopped(shouldStop)
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ actual class AppsFlyerLib {

actual fun setDebug(isDebug: Boolean) {
}

actual fun stop(shouldStop: Boolean, context: Any?) {
}
}

0 comments on commit 2337824

Please sign in to comment.