question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[10.1.4] warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Plugin.LocalNotification'. Value must be "True"

See original GitHub issue

I’m getting this warning when building my app on android with version 10.1.4 of the plugin: warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Plugin.LocalNotification'. Value must be "True"

I’m building with full mode of dotnet trimmer (net7.0): <TrimMode>full</TrimMode>

I didn’t have any issue previously, no warning with 10.1.3.

Could you please take a look? Thanks

Issue Analytics

  • State:closed
  • Created 6 months ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
thudugalacommented, May 20, 2023

@tranb3r Please try Version 10.1.5

cc @Brionvega @wcoder @GitBOUF

FYI v10.1.5 has a breaking change Android permission must be specified at the application level now.

0reactions
tranb3rcommented, May 22, 2023

LGTM. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · thudugala/Plugin.LocalNotification
The local notification plugin provides a way to show local notifications from .Net MAUI and Xamarin Forms apps . - Issues · thudugala/Plugin...
Read more >
IL2102: Invalid 'Reflection.AssemblyMetadataAttribute' ...
Cause. AssemblyMetadataAttribute may be used at the assembly level to turn on trimming for the assembly. The attribute contains an unsupported ...
Read more >
Plugin.LocalNotification how disable notification
I'm having trouble disabling app notifications. I use this method to set the notification: public async void Createnotification(DateTime dt) ...
Read more >
awesome_notifications | Flutter Package
A complete solution to create Local and Push Notifications, customizing buttons, images, sounds, emoticons and applying many different layouts for Flutter ...
Read more >
Plugin.LocalNotification 10.1.8
The local notification plugin provides a way to show local notifications from Xamarin and MAUI apps.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found