Closed JoeyBodnar closed 6 years ago
parse-server will still use the pinned version, not the 2.0.0. You need to pass it as a custom adapter ex:
const { ParsePushAdapter } = require('parse-server-push-adapter');
const pushOptions = {
'ios': [...],
};
const server = new ParseServer({
appId: ....,
masterKey: ....
push: {
adapter: new ParsePushAdapter(pushOptions)
}
});
I did this, but it doesn't help. The problem is that npm installs a version in which the code still has
notification.setAlertTitle(coreData.title);
Why is npm not installing the fixed version?
I saw that the error with push notifications not being sent to iOS was fixed (and dug through the source code to verify), but parse server is still pulling the buggy version of this when I try to update to 2.5.3. My package.json has
The file loaded into my node_modules still has:
How can I be sure to pull the fixed version?