It would be great if an Newpipe can auto update itself when a new version is released.
I can volunteer writing code for this functionality If someone is able to given me pointers on how to get started on this.
This truly seems like a feature F-droid should contain instead of each individual app.
At the most NewPipe should notify when a new version is available, but not take the responsibility of upgrading itself IMO.
F-Droid is already able to auto-update your apps, when you flash the OTA package.
I think atleast it should notify when a new version is available, because all users like me do not use F-Droid. F-Droid seems very slow to me. I can go ahead and implement this notify feature.
Alright then, just make it optional. Here's a similiar issue you might want to look at beforehand: #1520
@pranavg189 +1
To remedy this issue, I have a tab open on my phone's browser to the releases page, which I check semi-regularly.
It would be amazing if I could just get updates through the app. I also don't like F-droid due to it taking weeks or more sometimes to update an app.
I'm working on this as mentioned in #1520. Should have a working version by the end of next weekend.
Some of you apparently don't know how F-Droid works. All versions of Newpipe where available within 24 hours after release. If a maintainer doesn't properly tag releases, F-Droid can't properly provide the latest versions of an app.
Back on topic. The release notifications should be opt-in and/or only available in the version available from the GitHub-Downloadpage and not the one from F-Droid IMHO.
Btw. GitHub provides a newsfeef for releases. For Newpipe you just have to add this URL to the RSS-Reader of you liking:
The release notifications should be opt-in..
Agreed.
As decided in #1520, we'll integrate the https://newpipe.schabi.org/api/data.json API. This will provide the option to download the github or F-droid apk. The RSS option is good but having an option to download from within the app will be convenient.
Can you decide which version to download based on the build type? So a version downloaded from github would redirect the user automatically to github while a version downloaded from fdroid would auomatically redirect the user there.
If the apks on F-Droid and Github are identical I don't think there is way to identify the source of download. Or are they different?
The signature differs. I don't know if that can be checked. If that does not help a flavour or a buildtype might.
F-Droid builds the apk from the source. Also the signing-key is different afaik. So F-Droid users should never be bothered with this, since they can't upgrade their F-Droid version with the one from GitHub. Furthermore does F-Droid handle the notification and upgrade process.
The entire notification and download of the apk should solely be available for users who decide to manually download the apk.
Furthermore does F-Droid handle the notification and upgrade process.
Kind of true, honestly I'd be bothered if two applications are actually notifying me. ... especially because I have privileged extension, and therefore don't even notice when my apps get updated.
So Maybe we should only add this on the github version. @krtkush what's your opinion.
Notification only for github apk sounds good. I concur about the logic behind it.
Things we have decided on, yet -
Some more suggestions -
What do you guys think?
>
- We can show a notification on a F-Droid version too if F-Droid is not installed on the device. We can check that by getting the installed app package list.
I would not do this. Since we needed aditional permissions.
- A one time pop-up on the main activity to take the user to update notification opt-in under settings.
I would make this opt in for github users anyway. No pupup needed.
I don't think we need any permission. Refer here.
However, it can be privacy issue for some; but then the code is open sourced.
It's a minor thing. We can drop it, though.
I would make this opt in for github users anyway. No pupup needed.
You mean make the user opted-in by default, right?
I'd make a different build flavor that contains the notification for a new
version. Then use that flavor for the GitHub builds and use the normal one
on F-Droid.
Op vr 27 jul. 2018 17:52 schreef Kartikey Kushwaha <[email protected]
:
I would make this opt in for github users anyway. No pupup needed.
You mean make the user opted-in by default, right?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/TeamNewPipe/NewPipe/issues/1531#issuecomment-408460793,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJU76VLgq9nSztzk2xOkdRqY8cNorqw6ks5uKzcngaJpZM4VP1Hq
.
@wb9688 Sounds Good.
I'd make a different build flavor that contains the notification for a new
version.
+1
Update on the feature -
github and fdroidWhat is left is a minor change in API as requested in #1520. Once that is done and I include those changes in the app we'll be ready for deployment.
@theScrabi from my comment on https://github.com/TeamNewPipe/NewPipe/pull/1608#pullrequestreview-147030435
My biggest concern about these changes are the additional build flavors. When someone installs NewPipe from F-Droid, he/she will always be forced to use this source to update the application.
Additionally, with this new config every user needs to uninstall the current version of the app.
Not only for this reason, but also as update notifications can be disturbing from time to time, I suggest to add a setting which handles the update options:
- Enable / Disable search for new updates
- Preferred download mirror (applies when F-Droid and GitHub versions are the same, see below).
To identify whether the app is from F-Droid or GitHub we need to check the app's signature. A guide how this can be achieved can be found here.
IMHO we should come back to one release apk using F-Droid's reproducible builds feature.
I personally think we should stick F-droid's apks in the release tab and use this if the user doesn't have F-droid installed : https://gitlab.com/fdroid/update-channels/tree/master/appupdater#f-droid-update-detector
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
Btw. GitHub provides a newsfeef for releases. For Newpipe you just have to add this URL to the RSS-Reader of you liking:
https://github.com/TeamNewPipe/NewPipe/releases.atom