Hi brothers,
My company has an model biz about SaaS product, we build open api for client build application. Now i have problems, I do not know how to load dynamic pushAdapter for our app and customer apps?
I mean each pushAdapder for each application (ios and android,…).
I just understand Parse only config pushAdapter when init app.
const PushAdapter = require('@parse/push-adapter').default;
const pushOptions = {
ios: { /* iOS push options */ } ,
android: { /* android push options */ }
}
// starting 3.0.0
const options = {
appId: "****",
masterKey: "****",
push: {
adapter: new PushAdapter(pushOptions),
},
/* ... */
}
const server = new ParseServer(options);
Hope brothers help me to suggest any solutions.
Many thanks,