I want to send data between the app and the Safari extension, I don't found any helpful resources for that.
How to communicate between the Safari extension and it's application?
You can send messages between a Safari Web Extension and native app by leveraging the nativeMessaging permission. A sample project is available for you to reference here.