Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the stream-log-android-init to stream-log-android-file #9

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies {
implementation(project(":stream-log"))
implementation(project(":stream-log-file"))
implementation(project(":stream-log-android"))
implementation(project(":stream-log-android-init"))
implementation(project(":stream-log-android-file"))

// compose
implementation(Dependencies.composeUi)
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ include ':app'
include ':stream-log'
include ':stream-log-file'
include ':stream-log-android'
include ':stream-log-android-init'
include ':stream-log-android-file'
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
public final class io/getstream/log/android/init/BuildConfig {
public final class io/getstream/log/android/file/BuildConfig {
public static final field BUILD_TYPE Ljava/lang/String;
public static final field DEBUG Z
public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String;
public fun <init> ()V
}

public final class io/getstream/log/android/init/StreamLogFileManager {
public static final field INSTANCE Lio/getstream/log/android/init/StreamLogFileManager;
public final class io/getstream/log/android/file/StreamLogFileManager {
public static final field INSTANCE Lio/getstream/log/android/file/StreamLogFileManager;
public final fun clear ()V
public final fun init (Lio/getstream/log/android/init/StreamLogFileManager$ShareManager;Lio/getstream/log/android/init/StreamLogFileManager$ClearManager;)V
public final fun init (Lio/getstream/log/android/file/StreamLogFileManager$ShareManager;Lio/getstream/log/android/file/StreamLogFileManager$ClearManager;)V
public final fun share ()V
}

public abstract interface class io/getstream/log/android/init/StreamLogFileManager$ClearManager {
public abstract interface class io/getstream/log/android/file/StreamLogFileManager$ClearManager {
public abstract fun clear ()V
}

public abstract interface class io/getstream/log/android/init/StreamLogFileManager$ShareManager {
public abstract interface class io/getstream/log/android/file/StreamLogFileManager$ShareManager {
public abstract fun share ()V
}

public final class io/getstream/log/android/init/StreamLogFileProvider : androidx/core/content/FileProvider {
public final class io/getstream/log/android/file/StreamLogFileProvider : androidx/core/content/FileProvider {
public fun <init> ()V
public fun onCreate ()Z
}

public final class io/getstream/log/android/init/StreamLogFileService : android/app/Service {
public final class io/getstream/log/android/file/StreamLogFileService : android/app/Service {
public fun <init> ()V
public fun onBind (Landroid/content/Intent;)Landroid/os/IBinder;
public fun onStartCommand (Landroid/content/Intent;II)I
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ apply plugin: 'de.mannodermaus.android-junit5'

ext {
PUBLISH_GROUP_ID = Configuration.artifactGroup
PUBLISH_ARTIFACT_ID = 'stream-log-android-init'
PUBLISH_ARTIFACT_ID = 'stream-log-android-file'
PUBLISH_VERSION = rootVersionName
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.getstream.log.android.init"
package="io.getstream.log.android.file"
>

<application>

<service
android:name="io.getstream.log.android.init.StreamLogFileService"
android:name=".StreamLogFileService"
android:enabled="true"
android:exported="true"
>
Expand All @@ -37,7 +37,7 @@
</service>

<provider
android:name="io.getstream.log.android.init.StreamLogFileProvider"
android:name=".StreamLogFileProvider"
android:authorities="${applicationId}.streamlogfileprovider"
android:exported="false"
android:grantUriPermissions="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package io.getstream.log.android.init
package io.getstream.log.android.file

import io.getstream.log.android.init.StreamLogFileManager.ClearManager
import io.getstream.log.android.init.StreamLogFileManager.ShareManager
import io.getstream.log.android.file.StreamLogFileManager.ClearManager
import io.getstream.log.android.file.StreamLogFileManager.ShareManager

/**
* An entry point to share/clear a log file.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.getstream.log.android.init
package io.getstream.log.android.file

import android.app.Application
import android.content.Context
Expand All @@ -25,7 +25,7 @@ import androidx.core.content.FileProvider
import io.getstream.log.CompositeStreamLogger
import io.getstream.log.StreamLog
import io.getstream.log.android.AndroidStreamLogger
import io.getstream.log.android.init.impl.LifecycleAwareLogFileManager
import io.getstream.log.android.file.impl.LifecycleAwareLogFileManager
import io.getstream.log.file.FileStreamLogger

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.getstream.log.android.init
package io.getstream.log.android.file

import android.app.Service
import android.content.Intent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.getstream.log.android.init.impl
package io.getstream.log.android.file.impl

import android.app.Activity
import android.app.Application
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
* limitations under the License.
*/

package io.getstream.log.android.init.impl
package io.getstream.log.android.file.impl

import android.app.Activity
import android.content.Intent
import android.os.Handler
import android.os.Looper
import android.widget.Toast
import androidx.core.content.FileProvider
import io.getstream.log.android.init.StreamLogFileManager.ClearManager
import io.getstream.log.android.init.StreamLogFileManager.ShareManager
import io.getstream.log.android.file.StreamLogFileManager.ClearManager
import io.getstream.log.android.file.StreamLogFileManager.ShareManager
import io.getstream.log.file.FileStreamLogger
import java.io.File

Expand Down