Skip to content

Commit

Permalink
修复华为推送拉起页面问题
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisavx committed Sep 14, 2021
1 parent 6dd1e0e commit 0a5a3d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void onMessage(Context context, CustomMessage customMessage) {
public void onNotifyMessageOpened(Context context, NotificationMessage msg) {
Log.i(TAG, "onNotifyMessageOpened:" + msg);
Intent intent = new Intent();
intent.setClassName(context.getPackageName(), context.getPackageName() + "me.youchai.bmb.MainActivity");
intent.setClassName(context.getPackageName(), "me.youchai.bmb.MainActivity");
intent.setFlags(
Intent.FLAG_ACTIVITY_NEW_TASK |
Intent.FLAG_ACTIVITY_CLEAR_TOP);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yocdev/react-native-notification",
"version": "1.0.27",
"version": "1.0.28",
"author": "npm@youchai.me",
"license": "MIT",
"description": "react-native notification",
Expand Down

0 comments on commit 0a5a3d0

Please sign in to comment.