diff --git a/CHANGELOG.md b/CHANGELOG.md index 06353d6..edd319d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ Change Log ========== +## Version 1.3.1 + +_2023-08-28_ + +* Fix log file provider authorities in code. + ## Version 1.3.0 _2023-07-21_ diff --git a/README.md b/README.md index eceff25..555af4f 100644 --- a/README.md +++ b/README.md @@ -57,15 +57,15 @@ Then add the following dependencies in your app `build.gradle` or `build.gradle. **Groovy** ```groovy -debugImplementation "com.infinum.sentinel:sentinel:1.3.0" -releaseImplementation "com.infinum.sentinel:sentinel-no-op:1.3.0" +debugImplementation "com.infinum.sentinel:sentinel:1.3.1" +releaseImplementation "com.infinum.sentinel:sentinel-no-op:1.3.1" ``` **KotlinDSL** ```kotlin -debugImplementation("com.infinum.sentinel:sentinel:1.3.0") -releaseImplementation("com.infinum.sentinel:sentinel-no-op:1.3.0") +debugImplementation("com.infinum.sentinel:sentinel:1.3.1") +releaseImplementation("com.infinum.sentinel:sentinel-no-op:1.3.1") ``` Basic tools are provided inside the main package but depending on requirements you might want to add @@ -74,27 +74,27 @@ specific tools: **Groovy** ```groovy -debugImplementation "com.infinum.sentinel:tool-chucker:1.3.0" -debugImplementation "com.infinum.sentinel:tool-collar:1.3.0" -debugImplementation "com.infinum.sentinel:tool-dbinspector:1.3.0" -debugImplementation "com.infinum.sentinel:tool-leakcanary:1.3.0" -debugImplementation "com.infinum.sentinel:tool-appgallery:1.3.0" -debugImplementation "com.infinum.sentinel:tool-googleplay:1.3.0" -debugImplementation "com.infinum.sentinel:tool-thimble:1.3.0" -debugImplementation "com.infinum.sentinel:tool-timber:1.3.0" +debugImplementation "com.infinum.sentinel:tool-chucker:1.3.1" +debugImplementation "com.infinum.sentinel:tool-collar:1.3.1" +debugImplementation "com.infinum.sentinel:tool-dbinspector:1.3.1" +debugImplementation "com.infinum.sentinel:tool-leakcanary:1.3.1" +debugImplementation "com.infinum.sentinel:tool-appgallery:1.3.1" +debugImplementation "com.infinum.sentinel:tool-googleplay:1.3.1" +debugImplementation "com.infinum.sentinel:tool-thimble:1.3.1" +debugImplementation "com.infinum.sentinel:tool-timber:1.3.1" ``` **KotlinDSL** ```kotlin -debugImplementation("com.infinum.sentinel:tool-chucker:1.3.0") -debugImplementation("com.infinum.sentinel:tool-collar:1.3.0") -debugImplementation("com.infinum.sentinel:tool-dbinspector:1.3.0") -debugImplementation("com.infinum.sentinel:tool-leakcanary:1.3.0") -debugImplementation("com.infinum.sentinel:tool-appgallery:1.3.0") -debugImplementation("com.infinum.sentinel:tool-googleplay:1.3.0") -debugImplementation("com.infinum.sentinel:tool-thimble:1.3.0") -debugImplementation("com.infinum.sentinel:tool-timber:1.3.0") +debugImplementation("com.infinum.sentinel:tool-chucker:1.3.1") +debugImplementation("com.infinum.sentinel:tool-collar:1.3.1") +debugImplementation("com.infinum.sentinel:tool-dbinspector:1.3.1") +debugImplementation("com.infinum.sentinel:tool-leakcanary:1.3.1") +debugImplementation("com.infinum.sentinel:tool-appgallery:1.3.1") +debugImplementation("com.infinum.sentinel:tool-googleplay:1.3.1") +debugImplementation("com.infinum.sentinel:tool-thimble:1.3.1") +debugImplementation("com.infinum.sentinel:tool-timber:1.3.1") ``` Now you can sync your project. diff --git a/config.gradle b/config.gradle index 3c05f27..23b316c 100644 --- a/config.gradle +++ b/config.gradle @@ -1,7 +1,7 @@ ext { def major = 1 def minor = 3 - def patch = 0 + def patch = 1 buildConfig = [ "minSdk" : 21, diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 01168e5..9e26b6d 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -sentinel = "1.3.0" +sentinel = "1.3.1" gradle = "8.0.2" desugar = "2.0.3" kotlin = "1.8.21" diff --git a/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logger/LoggerActivity.kt b/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logger/LoggerActivity.kt index 754a5d8..d3267f0 100644 --- a/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logger/LoggerActivity.kt +++ b/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logger/LoggerActivity.kt @@ -190,7 +190,7 @@ public class LoggerActivity : AppCompatActivity() { val uri: Uri = withContext(Dispatchers.IO) { FileProvider.getUriForFile( this@LoggerActivity, - "com.infinum.sentinel.logprovider", + "${this@LoggerActivity.packageName}.sentinel.logprovider", logFile ) } diff --git a/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logs/LogsActivity.kt b/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logs/LogsActivity.kt index 032472c..65a0da0 100644 --- a/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logs/LogsActivity.kt +++ b/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logs/LogsActivity.kt @@ -140,7 +140,7 @@ public class LogsActivity : AppCompatActivity() { val uri: Uri = withContext(Dispatchers.IO) { FileProvider.getUriForFile( this@LogsActivity, - "com.infinum.sentinel.logprovider", + "${this@LogsActivity.packageName}.sentinel.logprovider", logFile ) }