TeamNewPipe / TeamNewPipe/NewPipeExtractor

Is proguard configuration outdated ?

Open
#1,355 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
2k
Forks
602
Avg merge
3d 6h
Merged PRs (30d)
6

Description

Checklist
  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I am aware that this issue is being opened for the NewPipe Extractor, NOT the app, and my bug report will be dismissed otherwise.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected version

v0.24.8

Steps to reproduce the bug
  1. Update newpipe to 0.24.8
  2. Build release apk with enable minifyEnabled
Expected behavior

See playlist

Actual behavior

Field browseId_ for S6.b not found. Known fields are [public static final S6.b S6.b.e, public static volatile x4.m S6.b.f]

Screenshots/Screen recordings

No response

Logs

No response

Additional information

Proguard rule is same as v0.24.6

-keep class javax.script.** { ; }
-keep class jdk.dynalink.
* { ; }
-keep class org.mozilla.javascript.
{ ; }
-keep class org.mozilla.javascript.
* { ; }
-keep class org.mozilla.javascript.engine.
* { ; }
-keep class org.schabi.newpipe.extractor.timeago.patterns.
* { ; }
-dontwarn org.mozilla.javascript.JavaToJSONConverters
-dontwarn org.mozilla.javascript.tools.
*
-dontwarn javax.script.**
-dontwarn jdk.dynalink.**

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the ProGuard configuration used when building the release APK and compare it with the v0.24.6 rules shown in the issue. Reproduce a minified release build of v0.24.8, then verify that playlist extraction no longer fails with the missing browseId_ field.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.