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

Notification service is dying #136

Closed
Rstment25 opened this issue Jul 7, 2022 · 11 comments
Closed

Notification service is dying #136

Rstment25 opened this issue Jul 7, 2022 · 11 comments
Labels
bug Something isn't working deployed This issue has been fixed/implmented and has been released

Comments

@Rstment25
Copy link

Rstment25 commented Jul 7, 2022

Notif keeps dying even when ignore battery optimization is applied :/

Enable sound while playing video.

Play/Stop button doesn't work , sometimes pictures freeze too ( it takes fast forwarding through 2/3 songs for it to start loading pictures again ). In video you will see that forwarding to another song starts the playback of that song but that's not the usual behavior... Usually notification service dies , play/stop button only retains ability to pause music and forward/backwards button switches songs but the playback never starts.

Other than that all works fine , this is just inconvenience that has me force closing app every hour or two x: ( On your device might take longer to reproduce ).

I'm also curious if there's any plan to add seek bar to notifications?
(Control music playback by dragging slider to adjust time)

Like button would also be appreciated so you can favourite a song from the notifications , right now you can only do this by closing whatever you're doing and opening the spotube app which outright kills adding songs to favourite for me

Repeat toggle is missing too both inside the app and notification

this.mp4
@Rstment25 Rstment25 added the bug Something isn't working label Jul 7, 2022
@KRTirtho
Copy link
Owner

KRTirtho commented Jul 8, 2022

The "running in background" notification issue is harmless & after stopping music Spotube doesn't run in the background at all. Its just a healthy notification from Android to let the user know that some app could be running in the background (since you Allowed the App to run in the background) but it doesn't mean the App is running

The Notification Panel Controls glitch is resolved already & will be available from the next update

But the Seekbar support in Notification panel will take sometime to land

@Rstment25
Copy link
Author

@KRTirtho what I mean is I enabled run in the background but the notification controls keep dying despite that... That's what you call notification glitch I guess zzz

Anyways can't wait to see seekbar ! If you have time please add favourite/repeat sometime ( favourite is much needed in the notification window, repeat option idk is nice to have but you can live without it )

@KRTirtho
Copy link
Owner

KRTirtho commented Jul 9, 2022

It's kind of funny but I managed implement SeekBar for Notification Panel in no time. But the Favorite & Repeat button can be time consuming. There's currently no API exposed to Flutter for adding custom buttons to Notification/Lockscreen MediaControls

@KRTirtho
Copy link
Owner

Requested features implemented & issued bug got fixed in the latest release

Please create a separate issue for Favorite & Repeat Button

Close this issue if your requested feature/bug is implemented/fixed + released

@Rstment25
Copy link
Author

Requested features implemented & issued bug got fixed in the latest release

Please create a separate issue for Favorite & Repeat Button

Close this issue if your requested feature/bug is implemented/fixed + released

Was gonna try but do you know why this happens?
Screenshot_20220711-085119_Package installer
Screenshot_20220711-085356_SAI

@Rstment25
Copy link
Author

My current version is 2.21 also from github

@Rstment25
Copy link
Author

New bug from installing it too

screen-20220711-085930.mp4

Did the uninstall before - notice greyscreen + cut icon in the top left corner. Status bar is cutting the icon off because the app as rendering as if in full screen but isn't telling the phone to status bar.

@KRTirtho
Copy link
Owner

My current version is 2.21 also from github

That's because previous versions were not signed thus Android shows this annoying pop up. From v2.3.0 Spotube will always be signed & from the next update nobody have to uninstall before installing the update

@KRTirtho
Copy link
Owner

New bug from installing it too
screen-20220711-085930.mp4

Did the uninstall before - notice greyscreen + cut icon in the top left corner. Status bar is cutting the icon off because the app as rendering as if in full screen but isn't telling the phone to status bar.

Well the Logo issue can be fixed easily (its actually my mistake) but the grey out screen on Lyrics Tab must be a edge case for high resolution mobile displays. I've to dig deeper for it

@Rstment25
Copy link
Author

My current version is 2.21 also from github

That's because previous versions were not signed thus Android shows this annoying pop up. From v2.3.0 Spotube will always be signed & from the next update nobody have to uninstall before installing the update

Let me tell you another tip for how to keep app open for longer - use android take audio focus permission. That's what Spotify uses , yt music too and they never get closed even without battery optimizations enabled.

Spotube never pauses other audio sources which itself is nice but it doesn't help it stay alive if you don't even declare permission ... You can just declare audio focus I think , or use it bogusly on when starting the app and later don't use it ( that's how games nowadays stay alive in background although it might not be necessary to even use audio focus as long as it declared. That's to be tested further I guess... )

@KRTirtho
Copy link
Owner

KRTirtho commented Sep 9, 2022

This issue has been fixed now and available in the latest v2.4.0

@KRTirtho KRTirtho added the deployed This issue has been fixed/implmented and has been released label Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working deployed This issue has been fixed/implmented and has been released
Projects
None yet
Development

No branches or pull requests

2 participants