A tool to display logs within a floating bubble.
- Display logs within a floating bubble.
- Filter items with mulitiple keywords.
- System dark mode support of Android 10+.
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.
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'
}
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.
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.