-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
832869d
commit 8907f3b
Showing
126 changed files
with
957 additions
and
915 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,4 +40,7 @@ object Versions { | |
|
||
@JvmField | ||
val openTelemetry = "1.29.0" | ||
|
||
@JvmField | ||
val moshi = "1.12.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
embrace-android-sdk/src/main/java/io/embrace/android/embracesdk/comms/api/ApiRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
...-android-sdk/src/main/java/io/embrace/android/embracesdk/comms/delivery/PendingApiCall.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
package io.embrace.android.embracesdk.comms.delivery | ||
|
||
import com.google.gson.annotations.SerializedName | ||
import com.squareup.moshi.Json | ||
import com.squareup.moshi.JsonClass | ||
import io.embrace.android.embracesdk.comms.api.ApiRequest | ||
|
||
/** | ||
* A pending API call. | ||
*/ | ||
@JsonClass(generateAdapter = true) | ||
internal data class PendingApiCall( | ||
@SerializedName("apiRequest") val apiRequest: ApiRequest, | ||
@SerializedName("cachedPayload") val cachedPayloadFilename: String, | ||
@SerializedName("queueTime") val queueTime: Long? = null | ||
@Json(name = "apiRequest") val apiRequest: ApiRequest, | ||
@Json(name = "cachedPayload") val cachedPayloadFilename: String, | ||
@Json(name = "queueTime") val queueTime: Long? = null | ||
) |
6 changes: 4 additions & 2 deletions
6
...android-sdk/src/main/java/io/embrace/android/embracesdk/comms/delivery/PendingApiCalls.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
...ce-android-sdk/src/main/java/io/embrace/android/embracesdk/config/local/AnrLocalConfig.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
package io.embrace.android.embracesdk.config.local | ||
|
||
import com.google.gson.annotations.SerializedName | ||
import com.squareup.moshi.Json | ||
import com.squareup.moshi.JsonClass | ||
|
||
@JsonClass(generateAdapter = true) | ||
internal class AnrLocalConfig( | ||
@SerializedName("capture_google") | ||
@Json(name = "capture_google") | ||
val captureGoogle: Boolean? = null, | ||
|
||
@SerializedName("capture_unity_thread") | ||
@Json(name = "capture_unity_thread") | ||
val captureUnityThread: Boolean? = null | ||
) |
8 changes: 5 additions & 3 deletions
8
...id-sdk/src/main/java/io/embrace/android/embracesdk/config/local/AppExitInfoLocalConfig.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
package io.embrace.android.embracesdk.config.local | ||
|
||
import com.google.gson.annotations.SerializedName | ||
import com.squareup.moshi.Json | ||
import com.squareup.moshi.JsonClass | ||
|
||
@JsonClass(generateAdapter = true) | ||
internal class AppExitInfoLocalConfig( | ||
/** | ||
* Defines the max size of bytes to allow capturing AppExitInfo ndk/anr traces | ||
*/ | ||
@SerializedName("app_exit_info_traces_limit") | ||
@Json(name = "app_exit_info_traces_limit") | ||
val appExitInfoTracesLimit: Int? = null, | ||
|
||
@SerializedName("aei_enabled") | ||
@Json(name = "aei_enabled") | ||
val aeiCaptureEnabled: Boolean? = null | ||
) |
6 changes: 4 additions & 2 deletions
6
...ce-android-sdk/src/main/java/io/embrace/android/embracesdk/config/local/AppLocalConfig.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
package io.embrace.android.embracesdk.config.local | ||
|
||
import com.google.gson.annotations.SerializedName | ||
import com.squareup.moshi.Json | ||
import com.squareup.moshi.JsonClass | ||
|
||
@JsonClass(generateAdapter = true) | ||
internal class AppLocalConfig( | ||
|
||
@SerializedName("report_disk_usage") | ||
@Json(name = "report_disk_usage") | ||
val reportDiskUsage: Boolean? = null | ||
) |
12 changes: 7 additions & 5 deletions
12
...c/main/java/io/embrace/android/embracesdk/config/local/AutomaticDataCaptureLocalConfig.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
package io.embrace.android.embracesdk.config.local | ||
|
||
import com.google.gson.annotations.SerializedName | ||
import com.squareup.moshi.Json | ||
import com.squareup.moshi.JsonClass | ||
|
||
@JsonClass(generateAdapter = true) | ||
internal class AutomaticDataCaptureLocalConfig( | ||
@SerializedName("memory_info") | ||
@Json(name = "memory_info") | ||
val memoryServiceEnabled: Boolean? = null, | ||
|
||
@SerializedName("power_save_mode_info") | ||
@Json(name = "power_save_mode_info") | ||
val powerSaveModeServiceEnabled: Boolean? = null, | ||
|
||
@SerializedName("network_connectivity_info") | ||
@Json(name = "network_connectivity_info") | ||
val networkConnectivityServiceEnabled: Boolean? = null, | ||
|
||
@SerializedName("anr_info") | ||
@Json(name = "anr_info") | ||
val anrServiceEnabled: Boolean? = null | ||
) |
12 changes: 7 additions & 5 deletions
12
...src/main/java/io/embrace/android/embracesdk/config/local/BackgroundActivityLocalConfig.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
package io.embrace.android.embracesdk.config.local | ||
|
||
import com.google.gson.annotations.SerializedName | ||
import com.squareup.moshi.Json | ||
import com.squareup.moshi.JsonClass | ||
|
||
/** | ||
* Represents the background activity configuration element specified in the Embrace config file. | ||
*/ | ||
@JsonClass(generateAdapter = true) | ||
internal class BackgroundActivityLocalConfig( | ||
@SerializedName("capture_enabled") | ||
@Json(name = "capture_enabled") | ||
val backgroundActivityCaptureEnabled: Boolean? = null, | ||
|
||
@SerializedName("manual_background_activity_limit") | ||
@Json(name = "manual_background_activity_limit") | ||
val manualBackgroundActivityLimit: Int? = null, | ||
|
||
@SerializedName("min_background_activity_duration") | ||
@Json(name = "min_background_activity_duration") | ||
val minBackgroundActivityDuration: Long? = null, | ||
|
||
@SerializedName("max_cached_activities") | ||
@Json(name = "max_cached_activities") | ||
val maxCachedActivities: Int? = null | ||
) |
Oops, something went wrong.