Skip to content

Push is sent but no device is reached #445

Closed
@flamesoft

Description

@flamesoft

I installed Parse Dashboard on my local computer and configured it to connect to my Parse Server on Heroku server. I put the xxx.p12 file for iOS push on the root path and configured it in the index.js. The Core works well with data changes. But the push notification sending is not working well.

I sent push message to a specific channel for both iOS and Android devices in the Push panel in the Parse Dashboard. It shows that the messages are sent to 2 devices but no devices have received them. My apps have work with the old Parse server with push notifications.

Have I missed anything or Parse dashboard doesn't support push to specific channel?

I configued my index.js for Parse Server like this:

var api = new ParseServer({
  databaseURI: databaseUri || 'mongodb://localhost:27017/dev',
  cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
  appId: process.env.APP_ID || 'xxxx',
  masterKey: process.env.MASTER_KEY || 'xxxx', 
  serverURL: process.env.SERVER_URL || 'http://localhost:1337/parse',  
  clientKey: 'xxxx',
  push: {
      android: {
        senderId: '11111111',
        apiKey: 'xxxxxxxxxxxxxxxx'
      },
      ios: {
        pfx: 'Certificates_1.p12',
        bundleId: 'xx.xxxx.xxxx',
        production: true
      }
    }

});
  • I am running version >=2.1.4 of Parse Server.
  • I've searched through existing issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions