Redirection to corresponding details page on Local notification tap

AswathiPSAswathiPS USMember ✭✭

I am using cross platforms for generating local notification . am stuck on local notification tap
I want to show the corresponding page on Local notification tap or click. (each notification contains different id's ).

Thank's

Best Answer

  • AswathiPSAswathiPS USMember ✭✭
    Accepted Answer

    I got the answer

    var notIntent = new Intent(context, typeof(MainActivity));
    contentIntent = PendingIntent.GetActivity(Application.Context, 0, notIntent, PendingIntentFlags.CancelCurrent);

    am using this code on my BroadcastReceiver (),OnReceive

Answers

  • AswathiPSAswathiPS USMember ✭✭
    Accepted Answer

    I got the answer

    var notIntent = new Intent(context, typeof(MainActivity));
    contentIntent = PendingIntent.GetActivity(Application.Context, 0, notIntent, PendingIntentFlags.CancelCurrent);

    am using this code on my BroadcastReceiver (),OnReceive

Sign In or Register to comment.