Yes there is actually. At least on iOS. For Android and Windows Phone I haven’t seen any updates.
With iOS 10 you have the ability to encrypt the payload before you send it from the server and then there is a hook to decrypt it on the phone before it is being displayed in the lock screen/notification center/etc
More details can be found in this presentation from WWDC 2016.
Push and locally scheduled notifications can provide people with timely information and provide them with the ability…developer.apple.com
I have a plan to create a new article around this with some example. But still on the todo-list :)