Android push notification not working through FCM

Please provide the following:

  1. SDK Version: 39
  2. Platforms(Android/iOS/web/all): Android stand alone (.apk)
  3. Managed work flow

Hello, recently push notification of our App on android devices totally stopped (still working on IOS devices). I followed instructions here, and got receipt like this:

    'id' => '9d5d9f4c-53a1-4ff1-9941-29245d569d74',
    'status' => 'ok',

but push notification didn’t appear on device.

Here’s the app.json:

{
  "expo": {
    "name": "xxx",
    "slug": "xxx",
    "android": {
      "googleServicesFile": "./google-services.json",
      "useNextNotificationsApi": true
    },
    "notification": {
      "icon": "./src/assets/notification_icon.png",
      "color": "#545AFA",
      "iosDisplayInForeground": true,
      "androidMode": "default"
    },
  }
}

google-service.json:

{
  "project_info": {
    "project_number": "xxxxx",
  },
  "client": [
    {
      "api_key": [
        {
          "current_key": "xxxxxxxx"
        }
      ],
    }
  ],
}

I’ve checked that api_key was not restricted, project_number as same as sender_id in cloud messaging panel, and expo push:android:show was configurated with server_key in cloud messaging. When I used a native device token and FCM directly, I got following error message:

{
    "multicast_id": 942366352803740419,
    "success": 0,
    "failure": 1,
    "canonical_ids": 0,
    "results": [
        {
            "error": "MismatchSenderId"
        }
    ]
}

We used several expo accounts to generate stand alone apps before, I guess it’s related to the issue, but anyone knows how to fix it? Thanks a lot!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.