You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
com.onesignal.GenerateNotification.getNewActionPendingIntent
GenerateNotification.java, line 195
java.lang.IllegalArgumentException: 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.
Steps to reproduce?
installed nuget Com.OneSignal v 3.10.6
What did you expect to happen?
when comes notification apps going to crash
OneSignal Xamarin SDK version
3.10.6
Which platform(s) are affected?
iOS
Android
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Hi @ermancibo, I have fixed the problem by added a package Xamarin.AndroidX.Work.Runtime 2.7.0. I think the problem come when the migrate to AndroidX has some errror.
What happened?
com.onesignal.GenerateNotification.getNewActionPendingIntent
GenerateNotification.java, line 195
java.lang.IllegalArgumentException: 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.
Steps to reproduce?
What did you expect to happen?
when comes notification apps going to crash
OneSignal Xamarin SDK version
3.10.6
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: