When building a custom version of the Mattermost mobile app, you will also need to host your own Mattermost Push Notification Service and make a few modifications to your Mattermost mobile app to be able to get push notifications.
Setup the custom mobile apps to receive push notifications