Advertisement
devil2010

Link crash

Jan 31st, 2023
814
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.37 KB | None | 0 0
  1. Build version: 1.9.0
  2. Build date: 1981-01-01 01:01:02
  3. Current date: 2023-02-01 11:13:06
  4. Device: Samsung SM-N975F
  5. OS version: Android 12 (SDK 31)
  6.  
  7. Stack trace:  
  8. java.lang.IllegalArgumentException: com.civix.link: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
  9. 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.
  10.     at android.app.PendingIntent.checkFlags(PendingIntent.java:382)
  11.     at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:465)
  12.     at android.app.PendingIntent.getActivity(PendingIntent.java:451)
  13.     at android.app.PendingIntent.getActivity(PendingIntent.java:415)
  14.     at com.google.firebase.messaging.CommonNotificationBuilder.createContentIntent(com.google.firebase:firebase-messaging@@20.2.4:125)
  15.     at com.google.firebase.messaging.CommonNotificationBuilder.createNotificationInfo(com.google.firebase:firebase-messaging@@20.2.4:27)
  16.     at com.google.firebase.messaging.CommonNotificationBuilder.createNotificationInfo(com.google.firebase:firebase-messaging@@20.2.4:9)
  17.     at com.google.firebase.messaging.DisplayNotification.handleNotification(com.google.firebase:firebase-messaging@@20.2.4:27)
  18.     at com.google.firebase.messaging.FirebaseMessagingService.dispatchMessage(com.google.firebase:firebase-messaging@@20.2.4:76)
  19.     at com.google.firebase.messaging.FirebaseMessagingService.passMessageIntentToSdk(com.google.firebase:firebase-messaging@@20.2.4:55)
  20.     at com.google.firebase.messaging.FirebaseMessagingService.handleMessageIntent(com.google.firebase:firebase-messaging@@20.2.4:34)
  21.     at com.google.firebase.messaging.FirebaseMessagingService.handleIntent(com.google.firebase:firebase-messaging@@20.2.4:23)
  22.     at com.google.firebase.messaging.EnhancedIntentService.lambda$processIntent$0$EnhancedIntentService(com.google.firebase:firebase-messaging@@20.2.4:43)
  23.     at com.google.firebase.messaging.EnhancedIntentService$$Lambda$0.run(Unknown Source:6)
  24.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
  25.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
  26.     at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.0.0:2)
  27.     at java.lang.Thread.run(Thread.java:920)
  28.  
  29. User actions:
  30.  
Advertisement
Comments
  • TTpocToXaKep
    1 year
    # text 0.29 KB | 0 0
    1. In order to fix the errors in the code, you need to specify either the flag_immutable or flag_mutable parameter when creating the PendingIntent object. This will ensure that the PendingIntent is created correctly and any related functionality (e.g. inline replies, bubbles) will work correctly.
Add Comment
Please, Sign In to add comment
Advertisement