Skip to content

Commit f7ea7fe

Browse files
authored
Merge pull request #426 from TeamNewPipe/KeepAndroidOpen
Keep android open
2 parents 358a22b + 5abfc16 commit f7ea7fe

File tree

7 files changed

+78
-6
lines changed

7 files changed

+78
-6
lines changed

_data/images.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,12 @@ froscon:
9090
type: jpg
9191
size: 500
9292
author: Stypox
93-
attributeAuthor: false
93+
attributeAuthor: false
94+
95+
altered_deal:
96+
url: altered-deal.png
97+
type: jpg
98+
size: 500
99+
author: marcprux
100+
attributeAuthor: false
101+

_includes/head.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,7 @@
123123

124124
</head>
125125
<body{% if include.bodyID %} id="{{ include.bodyID }}"{% endif %}>
126+
<!-- temporary KeepAndroidOpen banner -->
127+
<script src="https://keepandroidopen.org/banner.js"></script>
128+
<script src="{{ site.baseurl }}/js/keepAndroidOpenHelper.js"></script>
126129
{% if include.page == "False" %}{% else %}<div id="page">{% endif %}

_includes/release_data.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
}}
1111
{%- capture releaseChangelog -%}
1212
<ul>
13-
<li>[YouTube] Support more channel URL formats</li>
14-
<li>[YouTube] Support more video metainfo formats</li>
15-
<li>Fixed resuming streams at the last playback position</li>
16-
<li>Updated translations</li>
13+
<li>Warning about ongoing google certification</li>
14+
<li>Fixed not stacking comment pages</li>
15+
<li>Fixed click through clicks though unavailable content screen</li>
1716
</ul>
1817
{%- endcapture -%}
1918

2019
{%- capture releasePostUrl -%}
20+
{{ site.baseurl }}/blog/pinned/announcement/keepAndroidOpen/
2121
{%- endcapture -%}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
layout: post
3+
title: "Google will lock-down Android in September 2026 and NewPipe 0.28.4 release"
4+
short: "Google will lock-down Android"
5+
date: 2026-02-23 21:00:00 + 01:00
6+
categories: [pinned, announcement]
7+
author: <a href="https://github.com/poolitzer">@poolitzer</a>
8+
image: altered_deal
9+
excerpt_separator: <!-- more -->
10+
---
11+
12+
As you have no doubt noticed, we have a banner with an ominous countdown now prominent on our website: Google will lock-down Android, and we need to raise awareness.
13+
<!-- more -->
14+
Coinciding with this blog posts, we released a new update to NewPipe, where we introduced a pop up also notifying users there that they will need to take steps in order to keep using NewPipe.
15+
16+
## About Google
17+
This is not a fun blog post to write, believe me. Androids future is dear to our heart, and we believe that one of its main aspects was its openness, clearly separating it from Apple's iOS as the better choice for every tinkerer and developer. For the past few years Google has continuously taken steps to remove this openness, and now it hit us. Google plans to force developers to become registered developers and submit their personal data during the registration process. By doing so, Google does no only collect data, but more importantly can decide who is allowed to create and publish apps for "registered" devices or not.
18+
19+
We will not enroll in this privacy violating program and give up the anonymity of our developers. We do not want to be at the mercy of Google to allow our app to work. And you should not be content with this restriction either. Follow the steps outlined at [keepandroidopen.com](https://keepandroidopen.org/) and resist this further lock-down of your device.
20+
21+
## Highlights of the new release
22+
Getting back to the fun part of having a new NewPipe version, we have on our hand, lets have a look at the highlights of this release. In order to improve the loading of the subscription feed, the order in which they are fetched is now randomized. That should also help against fingerprinting users. Comment pages which could be stacked infinitely via reopening videos from channels, not anymore. And in certain parts of the app, e.g. the _content unavailable_ screen, click throughs could happen through that screen in whatever lies underneath. This was done by [@jpds](https://github.com/), [@aivelon](https://github.com/aivelon) and [@dustdfg](https://github.com/dustdfg) respectively thank you very much.
23+
24+
## Wanna Contribute?
25+
26+
If you like the app enough to want to make it even better, or you noticed some glaring error that you can't help but want to fix, you can [read our contribution guidelines](https://github.com/TeamNewPipe/NewPipe/blob/dev/.github/CONTRIBUTING.md#bug-fixing) and do a Fix-It Felix.
27+
28+
Or, if you're bilingual (or even multilingual), you could help [translate the app](https://hosted.weblate.org/engage/newpipe/).
29+
30+
**Feature additions** to the old codebase have been put on hold for now. We're pretty swamped as it is, and are working to clear our large (and critical) backlog first. Our next priority is to finish the rewrite of the codebase. We are making progress - slowly, but steadily - and you can help out on that too (and learn modern Android development practices along the way).

css/style.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,4 +745,8 @@ div.fdroid-col-right .break-line {
745745
.break-line {
746746
word-wrap: anywhere;
747747
line-break: anywhere;
748-
}
748+
}
749+
750+
.kao-banner {
751+
z-index: 2000;
752+
}

img/altered-deal.png

371 KB
Loading

js/keepAndroidOpenHelper.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
let kaoBanner, navbar;
2+
document.addEventListener('DOMContentLoaded', () => {
3+
kaoBanner = document.getElementsByClassName('kao-banner');
4+
navbar = document.getElementById('header');
5+
if (kaoBanner.length === 0 || navbar === null || !navbar.classList.contains('navbar-fixed-top')) {
6+
return;
7+
}
8+
kaoBanner = kaoBanner[0];
9+
if (kaoBanner.style.display === 'none') {
10+
return;
11+
}
12+
document.addEventListener('scroll', scrollSpy);
13+
14+
kaoBanner.getElementsByClassName('kao-banner-close')[0].addEventListener('click', () => {
15+
document.removeEventListener('scroll', scrollSpy);
16+
navbar.style.top = '0';
17+
});
18+
scrollSpy()
19+
20+
})
21+
function scrollSpy() {
22+
if (window.scrollY < kaoBanner.offsetHeight) {
23+
navbar.style.top = kaoBanner.offsetHeight - window.scrollY + 'px';
24+
} else {
25+
navbar.style.top = '0';
26+
}
27+
}

0 commit comments

Comments
 (0)