Skip to content

Commit

Permalink
AppLovinSdkSettings.isLocationCollectionEnabled no longer exists
Browse files Browse the repository at this point in the history
  • Loading branch information
bwised committed Jul 24, 2024
1 parent 144210e commit 682e826
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import kotlinx.coroutines.withContext
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonObject
import kotlinx.serialization.json.decodeFromJsonElement
import java.lang.Deprecated
import kotlin.coroutines.resume

/**
Expand Down Expand Up @@ -86,11 +87,12 @@ class AppLovinAdapter : PartnerAdapter {

/**
* Enable/disable AppLovin's location sharing.
* This property no longer does anything. `AppLovinSdkSettings.isLocationCollectionEnabled`
* no longer exists starting in SDK version `12.6.0`.
* @deprecated
*/
@Deprecated
fun setLocationSharing(enabled: Boolean) {
updateSdkSetting("location sharing", enabled) {
settings.isLocationCollectionEnabled = enabled
}
}

/**
Expand Down

0 comments on commit 682e826

Please sign in to comment.