Skip to content

Commit

Permalink
* Fix log file provider authorities.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bojan committed Aug 28, 2023
1 parent 91e2e6b commit 362a400
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 24 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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_
Expand Down
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion config.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ext {
def major = 1
def minor = 3
def patch = 0
def patch = 1

buildConfig = [
"minSdk" : 21,
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
}
Expand Down

0 comments on commit 362a400

Please sign in to comment.