Skip to content

Commit

Permalink
Merge pull request #364 from iamriajul/master
Browse files Browse the repository at this point in the history
fix(android): [Bug]: getAcceptPendingIntent is not working when app is in foreground.
  • Loading branch information
hiennguyen92 authored Sep 23, 2023
2 parents b8d385d + e2c4eeb commit 7777d6b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ class TransparentActivity : Activity() {
intent.putExtra("data", data)
intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION)
intent.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY)
intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT)
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)
intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP)
return intent
}
}
Expand Down

0 comments on commit 7777d6b

Please sign in to comment.