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
[question]: Hi I'm trying to handle push notification events coming from a messaging service of my company, what happens is that the push arrives and I want that when I click it redirects my app to the main screen, ActivityStart example??
#2206
Closed
1 task done
RuHuaytaMars opened this issue
Oct 21, 2024
· 1 comment
Hello @RuHuaytaMars, if I understand correctly, you want to start a specific activity when the notification is clicked. If that's the case, I believe you can add a foregroundLifecycleListener to the notification and implement the 'onWillDisplay' method. This way, when your app is opened upon clicking the notification, you can start the desired activity.
How can we help?
@keep
public class OSDataReceiver implements INotificationServiceExtension, HttpObtenerServiciosV3.InterfaceNotification {
// *****************************************
// ***************** PUSH NOTIFICACIONES ******************
// *****************************************
private final int PROCESS_CERRAR_SESSION = 101;
My Notification Service
SDK version : One Signal 5.1.20
Code of Conduct
The text was updated successfully, but these errors were encountered: