ScerIO/packages.flutter

[pdfx] Update to `device_info_plus` >= 10.0.1

Opened this issue ยท 15 comments

Is your feature request related to a problem? Please describe.
Apple has listed device_info_plus as a privacy impacting SDK which will require a privacy manifest and signature. The device_info_plus maintainers have added an (empty) Privacy Manifest in 10.0.1.
It is, at least to my knowledge, unclear when Apple will start enforcing the presence of the manifests (other than required reason APIs need to be included until May 1st 2024 - which device_info_plus does not use).

Describe the solution you'd like
Update the device_info_plus dependency.

Describe alternatives you've considered

  • Use less strict version requirements for the dependency.
  • As far as I can see it is only used for the Android sdkInt. Alternatively the dependency could be dropped altogether and the value could be fetched via native code.

Additional context
The device_info_plus changelog indicates updated requirements for Android and Flutter:

  • Flutter >=3.19.0
  • Dart >=3.3.0
  • compileSDK 34 for Android part
  • Java 17 for Android part
  • Gradle 8.4 for Android part

I guess Flutter and Dart should be updated in the pdfxs pubspec.yaml, however I'm not sure how the other updates would need to be applied to the plugin, if at all.

@SergeShkurko This is some kind of important, would be nice if it can get your attention.

@SergeShkurko I hope this can get on your radar. It became a rly needed enhancement. Please take a look into it.

@SergeShkurko Could you add a second maintainer, someone that is actually active on the project ?

Someone already made a MR #506 waiting for approval.. ๐Ÿ™‚

it's already ^10, no need to specify minor version (e.g. ^10.1)
what's needed - is to publish pdfx update (e.g. 2.7.0)

Serge hasn't committed anything since end of April. Doesn't sound well.
Is there someone else who could perform that release or temporarily takeover the project?

i switched to pdfrx