Skip to content

Commit

Permalink
Releases/1.3.0 (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
daytime-em authored Aug 2, 2024
1 parent 6707306 commit dd17c52
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
8 changes: 2 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '8.3.2' apply false
id 'com.android.library' version '8.3.2' apply false
id 'com.android.application' version '8.4.2' apply false
id 'com.android.library' version '8.4.2' apply false
id 'org.jetbrains.kotlin.android' version '1.9.24' apply false
id 'com.mux.gradle.android.mux-android-distribution' version '1.1.2' apply false
}

task clean(type: Delete) {
delete rootProject.buildDir
}
2 changes: 1 addition & 1 deletion core-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ muxDistribution {
dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3"

api "com.mux:stats.muxcore:8.0.2"
api "com.mux:stats.muxcore:8.1.0"

debugImplementation project(':mux-kt-utils')
afterEvaluate { // The version isn't computed until after this file is finalized thanks to agp 8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,21 @@ abstract class MuxDataSdk<Player, PlayerView : View> @JvmOverloads protected con
open fun presentationChange(presentation: MuxSDKViewPresentation) =
muxStats.presentationChange(presentation)

/**
* Disables event collection for this MuxDataSdk. The current view will be ended, and any pending
* events will be sent to the dashboard
*/
open fun disable() = muxStats.disable()

/**
* Enables event collection after previously disabling it. A new view will be started with the
* provided [CustomerData]
*
* @param customerData [CustomerData] with metadata about the new view
* @see CustomerData
*/
open fun enable(customerData: CustomerData) = muxStats.enable(customerData)

/**
* Dispatch a raw event to the View. Please use this method with caution, as unexpected events can
* lead to broken views
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Apr 05 14:21:27 PDT 2024
#Thu Aug 01 16:07:05 PDT 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit dd17c52

Please sign in to comment.