Agasper / unity-android-notifications

Unity3D Plugin for Android local notifications with example project
Other
555 stars 184 forks source link

Crash when click notification #96

Open LichKin opened 6 years ago

LichKin commented 6 years ago

App crash when click notification, I found that the crash place is opening launch intent of app ("Intent notificationIntent = context.getPackageManager().getLaunchIntentForPackage(bundle);") Here is the crash log info: 06-11 04:38:24.127 12076 12665 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 12665 (UnityMain) 06-11 04:38:24.229 195 195 F DEBUG : 06-11 04:38:24.229 195 195 F DEBUG : Build fingerprint: 'google/hammerhead/hammerhead:6.0.1/MMB29K/2419427:user/release-keys' 06-11 04:38:24.229 195 195 F DEBUG : Revision: '0' 06-11 04:38:24.229 195 195 F DEBUG : ABI: 'arm' 06-11 04:38:24.229 195 195 F DEBUG : pid: 12076, tid: 12665, name: UnityMain >>> package name <<< 06-11 04:38:24.229 195 195 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 06-11 04:38:24.262 195 195 F DEBUG : r0 00000000 r1 00000001 r2 9b8779f8 r3 9b877930 06-11 04:38:24.263 195 195 F DEBUG : r4 00000001 r5 00000000 r6 00000003 r7 9b875d38 06-11 04:38:24.263 195 195 F DEBUG : r8 00000000 r9 aa0b7000 sl 9b875c80 fp aa0b7000 06-11 04:38:24.263 195 195 F DEBUG : ip 9b877a58 sp 9b875c30 lr 9e641eb0 pc 9e75bb5c cpsr 400e0010 06-11 04:38:24.268 195 195 F DEBUG : 06-11 04:38:24.268 195 195 F DEBUG : backtrace: 06-11 04:38:24.269 195 195 F DEBUG : #00 pc 004dcb5c /data/app/package name-2/lib/arm/libunity.so 06-11 04:38:24.269 195 195 F DEBUG : #01 pc 004dce8c /data/app/package name-2/lib/arm/libunity.so 06-11 04:38:24.269 195 195 F DEBUG : #02 pc 004e7688 /data/app/package name-2/lib/arm/libunity.so 06-11 04:38:24.269 195 195 F DEBUG : #03 pc 000eaa29 /system/lib/libart.so (art_quick_generic_jni_trampoline+40) 06-11 04:38:24.271 195 195 F DEBUG : #04 pc 000e6331 /system/lib/libart.so (art_quick_invoke_stub_internal+64) 06-11 04:38:24.271 195 195 F DEBUG : #05 pc 004028a5 /system/lib/libart.so (art_quick_invoke_stub+188) 06-11 04:38:24.271 195 195 F DEBUG : #06 pc 00100db4 [stack:12665]