Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

NotificationBuilder.Notify under Android 12 crashes

Open
#181 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
50/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, csharp
Domain
mobile

Research direction

Start at NotificationBuilder.Notify and reproduce the crash on Android 12 or inspect how it creates PendingIntent instances. Compare the exception's requirement for Android 12 with the current notification flow; done means Notify no longer throws this IllegalArgumentException for applications targeting version 31 or above.

Written by the indexing model from the issue text.

Description

NotificationBuilder.Notify (Android.App.Activity activity, Plugin.Toasts.INotificationOptions options)
Java.Lang.IllegalArgumentException: com.ist.saleboard.mobile: 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.

Dominant language
C#
Stars
275
Forks
81
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from EgorBo/Toasts.Forms.Plugin

All issues in EgorBo/Toasts.Forms.Plugin

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.