I was wondering if there is a way to turn off push notifications. In other words I want the user to be able to turn off notifications in the apps settings
To deactivate push notifications on the app level, I think it's impossible, since you are connect API keys or Push enabled certificate into your exported binary package.
But you can delete the users Device ID, so that he won't receive any pushes from your app push console inside builder.
DeviceID populates into devices collection automatically on every app launch. So you don't need to add this processing.
So if you don't want to receive PUSH you need to delete current device deviceID from "devices" collection by invoke "unregister" service.
See more about "unregister" service here: https://devcenter.appery.io/documenta...
Note: you should to add "unregister" service manually. This service could not be added by import DB processing.