BraveNewPipe: use BraveNewPipe's apk fingerprint, new release update json data and crashreport address

This commit is contained in:
evermind 2022-05-02 00:35:10 +02:00
parent e5c2e2bcd9
commit fe07995ec9
3 changed files with 5 additions and 4 deletions

View file

@ -135,7 +135,8 @@ class NewVersionWorker(
companion object {
private val DEBUG = MainActivity.DEBUG
private val TAG = NewVersionWorker::class.java.simpleName
private const val NEWPIPE_API_URL = "https://newpipe.net/api/data.json"
private const val NEWPIPE_API_URL =
"https://raw.githubusercontent.com/bravenewpipe/bnp-r-mgr/master/api/data.json"
/**
* Start a new worker which

View file

@ -62,11 +62,11 @@ public class ErrorActivity extends AppCompatActivity {
// BUNDLE TAGS
public static final String ERROR_INFO = "error_info";
public static final String ERROR_EMAIL_ADDRESS = "crashreport@newpipe.schabi.org";
public static final String ERROR_EMAIL_ADDRESS = "crashreport@gmx.com";
public static final String ERROR_EMAIL_SUBJECT = "Exception in ";
public static final String ERROR_GITHUB_ISSUE_URL
= "https://github.com/TeamNewPipe/NewPipe/issues";
= "https://github.com/bravenewpipe/NewPipeExtractor/issues";
public static final DateTimeFormatter CURRENT_TIMESTAMP_FORMATTER
= DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm");

View file

@ -22,7 +22,7 @@ import java.time.format.DateTimeFormatter
object ReleaseVersionUtil {
// Public key of the certificate that is used in NewPipe release versions
private const val RELEASE_CERT_PUBLIC_KEY_SHA1 =
"B0:2E:90:7C:1C:D6:FC:57:C3:35:F0:88:D0:8F:50:5F:94:E4:D2:15"
"C3:96:13:CD:13:92:3F:37:EE:B6:9F:7A:0D:EA:7C:70:E0:7A:73:D8"
@JvmStatic
fun isReleaseApk(): Boolean {