Skip to content

Push is sent but no device is reached #445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
flamesoft opened this issue Jul 4, 2016 · 0 comments
Closed
2 tasks done

Push is sent but no device is reached #445

flamesoft opened this issue Jul 4, 2016 · 0 comments

Comments

@flamesoft
Copy link

flamesoft commented Jul 4, 2016

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants