Move DebugLogsDialog to separate module
This commit is contained in:
parent
f5e87a08e6
commit
0cea029f36
|
|
@ -2,7 +2,6 @@ apply from: "../android-configs/lib-config.gradle"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation "androidx.recyclerview:recyclerview"
|
implementation "androidx.recyclerview:recyclerview"
|
||||||
implementation "androidx.coordinatorlayout:coordinatorlayout"
|
|
||||||
implementation "androidx.fragment:fragment-ktx"
|
implementation "androidx.fragment:fragment-ktx"
|
||||||
implementation project(path: ':logging')
|
implementation project(path: ':logging')
|
||||||
|
|
||||||
|
|
@ -13,12 +12,6 @@ dependencies {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
implementation("androidx.coordinatorlayout:coordinatorlayout") {
|
|
||||||
version {
|
|
||||||
require '1.1.0'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
implementation("androidx.fragment:fragment-ktx") {
|
implementation("androidx.fragment:fragment-ktx") {
|
||||||
version {
|
version {
|
||||||
require '1.2.1'
|
require '1.2.1'
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,8 @@ apply from: "../android-configs/lib-config.gradle"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation "androidx.annotation:annotation"
|
implementation "androidx.annotation:annotation"
|
||||||
implementation "com.google.firebase:firebase-crashlytics"
|
|
||||||
|
|
||||||
implementation "androidx.recyclerview:recyclerview"
|
implementation "com.google.firebase:firebase-crashlytics"
|
||||||
implementation "androidx.constraintlayout:constraintlayout"
|
|
||||||
|
|
||||||
constraints {
|
constraints {
|
||||||
implementation("androidx.annotation:annotation") {
|
implementation("androidx.annotation:annotation") {
|
||||||
|
|
@ -19,17 +17,5 @@ dependencies {
|
||||||
require '17.1.0'
|
require '17.1.0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
implementation("androidx.recyclerview:recyclerview") {
|
|
||||||
version {
|
|
||||||
require '1.1.0'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
implementation("androidx.constraintlayout:constraintlayout"){
|
|
||||||
version {
|
|
||||||
require '2.2.0-alpha03'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1 @@
|
||||||
<manifest
|
<manifest package="ru.touchin.roboswag.core.log" />
|
||||||
package="ru.touchin.roboswag.core.log"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<application>
|
|
||||||
<provider
|
|
||||||
android:name="androidx.core.content.FileProvider"
|
|
||||||
android:authorities="ru.touchin.roboswag.core.log.fileprovider"
|
|
||||||
android:exported="false"
|
|
||||||
android:grantUriPermissions="true">
|
|
||||||
<meta-data
|
|
||||||
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
||||||
android:resource="@xml/provider_paths" />
|
|
||||||
</provider>
|
|
||||||
</application>
|
|
||||||
</manifest>
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
/build
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
logging_reader
|
||||||
|
=====
|
||||||
|
|
||||||
|
### Общее описание
|
||||||
|
|
||||||
|
Модуль служит для получания на устройстве файла с логами разного приоритета, их анализа и возможности отправить файл через стандартный шеринг.
|
||||||
|
``
|
||||||
|
|
||||||
|
|
||||||
|
### Пример
|
||||||
|
|
||||||
|
Для вызова диалогового окна, позволяющего схоранять, читать и отправлять логи, достаточно вызвать:
|
||||||
|
```kotlin
|
||||||
|
DebugLogsDialogFragment().show(parentFragmentManager, null)
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
apply from: "../android-configs/lib-config.gradle"
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation "androidx.recyclerview:recyclerview"
|
||||||
|
implementation "androidx.constraintlayout:constraintlayout"
|
||||||
|
|
||||||
|
constraints {
|
||||||
|
implementation("androidx.recyclerview:recyclerview") {
|
||||||
|
version {
|
||||||
|
require '1.1.0'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
implementation("androidx.constraintlayout:constraintlayout"){
|
||||||
|
version {
|
||||||
|
require '2.2.0-alpha03'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
<manifest
|
||||||
|
package="ru.touchin.roboswag.logging_reader"
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<application>
|
||||||
|
<provider
|
||||||
|
android:name="androidx.core.content.FileProvider"
|
||||||
|
android:authorities="ru.touchin.roboswag.core.log.fileprovider"
|
||||||
|
android:exported="false"
|
||||||
|
android:grantUriPermissions="true">
|
||||||
|
<meta-data
|
||||||
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
||||||
|
android:resource="@xml/provider_paths" />
|
||||||
|
</provider>
|
||||||
|
</application>
|
||||||
|
</manifest>
|
||||||
Loading…
Reference in New Issue