Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indirect notification activity start (trampoline) from com.applive.app blocked #12

Closed
thanhnvpk01168 opened this issue Nov 11, 2022 · 7 comments

Comments

@thanhnvpk01168
Copy link

--------- beginning of system
2022-11-11 10:43:08.220 1894-3591/? I/ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10680000 pkg=com.applive.app cmp=com.applive.app/.MainActivity} from uid 12075
2022-11-11 10:43:08.221 1894-3591/? E/NotificationService: Indirect notification activity start (trampoline) from com.applive.app blocked
2022-11-11 10:43:08.221 1894-3591/? W/ActivityTaskManager: Background activity start [callingPackage: com.applive.app; callingUid: 12075; appSwitchAllowed: true; isCallingUidForeground: false; callingUidHasAnyVisibleWindow: false; callingUidProcState: SERVICE; isCallingUidPersistentSystemProcess: false; realCallingUid: 12075; isRealCallingUidForeground: false; realCallingUidHasAnyVisibleWindow: false; realCallingUidProcState: SERVICE; isRealCallingUidPersistentSystemProcess: false; originatingPendingIntent: null; allowBackgroundActivityStart: false; intent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10680000 pkg=com.applive.app cmp=com.applive.app/.MainActivity }; callerApp: ProcessRecord{4c5f08b 27473:com.applive.app/u0a2075}; inVisibleTask: false]
2022-11-11 10:43:08.222 1894-3591/? I/ActivityTaskManager: Ignoring FLAG_ACTIVITY_NEW_DOCUMENT, launchMode is "singleInstance" or "singleTask"
2022-11-11 10:43:08.222 1894-3591/? E/ActivityTaskManager: Abort background activity starts from 12075
2022-11-11 10:43:08.226 2453-2453/? W/TouchableRegionManager: onHeadsUpPinnedModeChanged
2022-11-11 10:43:08.228 2453-2512/? D/PeopleSpaceWidgetMgr: Sbn doesn't contain valid PeopleTileKey: null/0/com.applive.app
2022-11-11 10:43:08.483 1894-2391/? D/ConnectivityService: NetReassign [no changes] [c 1] [a 0] [i 1]

@thanhnvpk01168
Copy link
Author

thanhnvpk01168 commented Nov 11, 2022

bác @linhvovan29546 ơi, khi mà mình accept trên notification incoming thì nó ko có open app lên bác

@linhvovan29546
Copy link
Owner

@thanhnvpk01168 cái này mình sài function backToForeground của https://github.com/react-native-webrtc/react-native-callkeep nha, do t chưa có time để làm function open app

@thanhnvpk01168
Copy link
Author

@linhvovan29546 ko đc luôn bác, mình cũng có thử luôn rồi

@linhvovan29546
Copy link
Owner

linhvovan29546 commented Nov 11, 2022

thử giúp t notification bình thường của firebase có đang open app dc ko nha @thanhnvpk01168 , hoặc có thể sử dụng example để xem có gặp vấn đề đó ko

@thanhnvpk01168
Copy link
Author

hiểu rồi bác @linhvovan29546 , nó bị trên android 12 bác, mấy android dưới 12 thì ko sao

@linhvovan29546
Copy link
Owner

ukm do config android targetSdk31 của app, không phải issue của library này đúng ko @thanhnvpk01168

linhvovan29546 added a commit that referenced this issue Nov 12, 2022
fix: #11, #12
feat: Auto launch app when pressed notification, prevent click notification action
@linhvovan29546
Copy link
Owner

@thanhnvpk01168 check version mới nhất nha

linhvovan29546 added a commit that referenced this issue Jan 3, 2023
fix: #11, #12
feat: Auto launch app when pressed notification, prevent click notification action
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants