javiersantos / AppUpdater

A library that checks for your apps' updates on Google Play, GitHub, Amazon, F-Droid or your own server. API 9+ required.
Apache License 2.0
1.98k stars 410 forks source link

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. #229

Open morfeo777 opened 1 year ago

morfeo777 commented 1 year ago
Details
Builder
new AppUpdater(this)
   ...
   .start();
Reproduction Steps

1. 2. 3.

Expected Result
Actual Result
morfeo777 commented 1 year ago

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles. This error is in Android 13, the PendingIntent needs a different flag than actual the library is using.

tylers24877 commented 1 year ago

We're having the same issue.

Kalbra commented 8 months ago

I have the same issue as well.