Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[android] Lint error about notifications permissions #8142

Open
biodranik opened this issue May 11, 2024 · 0 comments
Open

[android] Lint error about notifications permissions #8142

biodranik opened this issue May 11, 2024 · 0 comments
Labels
Android Android development

Comments

@biodranik
Copy link
Member

Can be seen here: https://github.com/organicmaps/organicmaps/actions/runs/9043924559/job/24852030289#step:5:436

CC @rtsisyk

  Lint found 2 errors, 438 warnings. First failure:
  
  /home/runner/work/organicmaps/organicmaps/android/app/src/main/java/app/organicmaps/downloader/DownloaderNotifier.java:80: Error: When targeting Android 13 or higher, posting a permission requires holding the POST_NOTIFICATIONS permission [NotificationPermission]
      notificationManager.notify(NOTIFICATION_ID, notification);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  The full lint text report is located at:
    /home/runner/work/organicmaps/organicmaps/android/app/build/intermediates/lint_intermediate_text_report/fdroidDebug/lintReportFdroidDebug/lint-results-fdroidDebug.txt
@biodranik biodranik added the Android Android development label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Android development
Projects
None yet
Development

No branches or pull requests

1 participant