I don't think `appName` (used for `Application.name`) should be used for `Application.id` too. The value `loopback-push-notification-app` is hardcoded in the iOS and Android clients. If your patch was applied,  they won't work with the server OOTB.

A better solution is to create `config.appId` with `loopback-push-notification-app` value as the default.

Why do you need a different application id? What's your use case?

/cc @raymondfeng