Giter Club home page Giter Club logo

Comments (22)

rRemix avatar rRemix commented on July 16, 2024 1

android.permission.MANAGE_EXTERNAL_STORAGE, such as reading lyric file, blacklist
android.permission.SYSTEM_ALERT_WINDOW, desktop lyric
android.permission.REQUEST_INSTALL_PACKAGES, in-app upgrade, but it's only available in non-google channel

from aplayer.

Henry-ZHR avatar Henry-ZHR commented on July 16, 2024 1

MANAGE_EXTERNAL_STORAGE is initially for "Manual scan" function (users may want to scan files outside standard directories), and it may also solve some permission-related issues on some Chinese systems. It's not necessary for everyone.

from aplayer.

Henry-ZHR avatar Henry-ZHR commented on July 16, 2024 1

DEPENDENCY_INFO_BLOCK excluded in b1f9901

from aplayer.

Henry-ZHR avatar Henry-ZHR commented on July 16, 2024 1

I suggest adding a new flavor which disables the self-updater (and maybe the non-free dependencies?)

Anyway, @rRemix is the only owner of this repo :)

from aplayer.

Henry-ZHR avatar Henry-ZHR commented on July 16, 2024 1

READ_MEDIA_IMAGES may be needed to read the cover image of music

We need @rRemix or someone else who is familiar with Android permission system to check whether it's really necessary

from aplayer.

IzzySoft avatar IzzySoft commented on July 16, 2024

in-app upgrade, but it's only available in non-google channel

It's been reported for the APK used in my repo. And self-updater are not in accordance with the repo's inclusion criteria – as those updates would bypass the checks performed in the repo. May I ask how it is configured? Enabled by default? Opt-in (so with clear consent)? Explaining the source of the update and the implications (such as bypassing repo-checks)?

from aplayer.

IzzySoft avatar IzzySoft commented on July 16, 2024

Wonderful, thanks! So what's with REQUEST_INSTALL_PACKAGES now (see my last comment)?

from aplayer.

IzzySoft avatar IzzySoft commented on July 16, 2024

Thanks Henry! OK, so let's see what the owner says 😄

from aplayer.

rRemix avatar rRemix commented on July 16, 2024

i'll add it

from aplayer.

IzzySoft avatar IzzySoft commented on July 16, 2024

Thanks, @rRemix! Please let me know when that flavor is available. I'd suggest to switch your app to that in my repo then. If it involves a new applicationId/packageName, is there a "migration path" (e.g. export/import settings)?

from aplayer.

rRemix avatar rRemix commented on July 16, 2024

@IzzySoft you can use flavor 'noUpdater'

from aplayer.

Henry-ZHR avatar Henry-ZHR commented on July 16, 2024

@rRemix 等下 我说开flavor是方便你那边直接release加一个 因为我以为他们是直接用你的apk 但是他们好像是自己build 那感觉不如开buildConfigField

@IzzySoft Are you building the app from source or using the binary from GitHub Release?

from aplayer.

rRemix avatar rRemix commented on July 16, 2024

先看他们怎么说,感觉是要自己build

from aplayer.

IzzySoft avatar IzzySoft commented on July 16, 2024

Are you building the app from source or using the binary from GitHub Release?

I use the APKs provided by their authors – so yes, I'd need the corresponding APK at releases. Thanks!

from aplayer.

Henry-ZHR avatar Henry-ZHR commented on July 16, 2024

@rRemix 那就还是放flavor吧

但是还有些小问题

  1. 大小写不能随便动 如果要动源码目录得跟着改

  2. 现在命名有点怪 感觉这仨flavor不是同级的 以及可以放另外的dimension?

from aplayer.

rRemix avatar rRemix commented on July 16, 2024

@rRemix 那就还是放flavor吧

但是还有些小问题

  1. 大小写不能随便动 如果要动源码目录得跟着改
  2. 现在命名有点怪 感觉这仨flavor不是同级的 以及可以放另外的dimension?

@Henry-ZHR
1.大小写的问题我已经改回去了
2.是有那么点怪,但是google渠道的又不存在是否有自动更新

from aplayer.

Henry-ZHR avatar Henry-ZHR commented on July 16, 2024

@rRemix

  1. 其实我也觉得用大小写分隔单词更合理 只是提醒你记得改源码目录 Linux文件系统一般区分大小写(

  2. https://developer.android.com/build/build-variants#filter-variants 可以filter掉google+updater组合?

以及 忘说了 应该其他都算非google渠道 如果在同一个dimension应该不用依赖billingclient?(在新的dimension就没有这个问题

from aplayer.

IzzySoft avatar IzzySoft commented on July 16, 2024

Today's release still has my scanner report

android.permission.REQUEST_INSTALL_PACKAGES android.permission.READ_MEDIA_IMAGES

So what did I miss concerning the latter? And will there be an APK for the NoUpdater flavor?

from aplayer.

Henry-ZHR avatar Henry-ZHR commented on July 16, 2024

Sorry, I forgot android.permission.REQUEST_INSTALL_PACKAGES. It will be included whether self-updater is enabled or not until #248 is merged.

from aplayer.

IzzySoft avatar IzzySoft commented on July 16, 2024

Thanks! So that means after that PR is merged, android.permission.REQUEST_INSTALL_PACKAGES will be gone? And what about android.permission.READ_MEDIA_IMAGES?

from aplayer.

IzzySoft avatar IzzySoft commented on July 16, 2024

That would be one way to find out. If you have the chance, you could just compile an APK with that permission commented out and try that on-device (or EMU). AFAIK READ_MEDIA_IMAGES refers to photos (DCIM) and maybe screenshots, but not to images embedded in IDv3 or such – but I'm not 100% sure and thus would appreciate if someone could "tell definitely". Thanks for taking care!

from aplayer.

Henry-ZHR avatar Henry-ZHR commented on July 16, 2024

APlayer does read the cover not only directly from ID3 tag but also from MediaStore. For example:

Uri.parse("content://media/external/audio/albumart/"),

It should require READ_MEDIA_AUDIO only, but I'm not sure.

from aplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.