Automate iOS Notification Extension Service Integration in cordova
amirhmoradi opened this issue · 2 comments
To use latest iOS features, we need to implement a Notification Extension Service by following manual steps in XCODE, as explained in your documentation: https://batch.com/doc/ios/sdk-integration/rich-notifications-setup.html#_integrating-batch-extension-sdk
=> Could you please provide an automated solution to have this added automatically?
Here is some research I've done:
There is a solution to this issue provided here :
https://github.com/infobip/mobile-messaging-cordova-plugin
Which uses the following GEM:
https://github.com/infobip/mobile-messaging-mmine
There is also some work done to use cordova hooks to add the service:
apache/cordova-node-xcode#47 (comment)
apache/cordova-ios#582
Thanks for the research.
We opened an internal issue to match this one, and will consider implementing this, or at least document how to add a hook to do so.
Hello,
Thanks for looking into this.
Due to the complexity of automatically editing Xcode projects, we decided not to pursue this.
My opinion is that this is something that Cordova itself should work on. Ionic Capacitor shows that putting the native projects in the spotlight is the way to go.