Skip to content

hiking93/android-bubble-logger

Repository files navigation

Android Bubble Logger

Build Status JitPack Codacy Badge Maintainability

A tool to display logs within a floating bubble.

Hero image

Features

  • Display logs within a floating bubble.
  • Filter items with mulitiple keywords.
  • System dark mode support of Android 10+.

Requirements

To display logs in a bubble, you need Android version that supports Bubble API.

  • Android 11 or later
  • Android 10 with Bubbles enabled in developer settings.

Screenshots

Sample Filter Customized

Add Dependency

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Then add the dependency:

dependencies {
    implementation 'com.github.hiking93:android-bubble-logger:latestVersion'
}

Usage

To add a log in the bubble:

BubbleLogger.log(
    context = context,
    title = title,
    message = message,
    notificationId = NOTIFICATION_ID,
    notificationChannelId = CHANNEL_ID_BUBBLE_LOGGER
)

See example project for full usage example.

License

Copyright Hsingchien Cheng

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

A tool for developers to display logs within device UI.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages