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
My app is running on an Expo dev build on an Android device. I am registering a foreground service at the very top of my index.jsx (not in a component) and attaching trigger (alarm) notifications to it. My notification arrives as a normal notification that I can swipe away etc instead of an on-going/long-running task. Is there some permission I need to use? (I didn't include EXACT_ALARM in the manifest yet, but I used openAlarmPermissionSettings() to switch the permission on during testing.) Is it a problem that I'm using triggers and/or the AlarmManager? Here is my out-of-context notification code, but I can provide better details if there isn't a glaring issue with what I'm doing or that I'm totally misunderstanding what a foreground service does:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My app is running on an Expo dev build on an Android device. I am registering a foreground service at the very top of my index.jsx (not in a component) and attaching trigger (alarm) notifications to it. My notification arrives as a normal notification that I can swipe away etc instead of an on-going/long-running task. Is there some permission I need to use? (I didn't include EXACT_ALARM in the manifest yet, but I used openAlarmPermissionSettings() to switch the permission on during testing.) Is it a problem that I'm using triggers and/or the AlarmManager? Here is my out-of-context notification code, but I can provide better details if there isn't a glaring issue with what I'm doing or that I'm totally misunderstanding what a foreground service does:
And here is the registering of my service at the top of index.jsx:
Beta Was this translation helpful? Give feedback.
All reactions