HBiSoft / HBRecorder

Lightweight screen recording Android library
MIT License
402 stars 137 forks source link

Recording notification persists after recording has stopped and until app quits #141

Closed johnboy00 closed 1 year ago

johnboy00 commented 1 year ago

Describe the bug After screen recording has stopped, the default "Recording your screen" notification persists. It doesn't matter if recording is stopped by the application directly with stopScreenRecording() or if the user taps the "STOP RECORDING" button in the default notification. Either way, recording is in fact stopped, but the "Recording your screen" notification is not removed until the application quits.

Log n/a

Can it be reproduced in demo app I did not try the demo app.

HBRecorder version 3.0.1

Device information

Screenshots n/a

johnboy00 commented 1 year ago

The notification persistence is due to HBRecorder using the same notification channel ID (int) as the app. Perhaps a method to set the notification channel ID that HBRecorder uses would be a good idea.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed if no further activity occurs within the next 3 days. Thank you for your contributions.