https://www.electronjs.org/docs/api/ipc-renderer https://www.electronjs.org/docs/api/ipc-main
我看到一篇文章说 invoke/handle 是异步的,但是可以使用旧的 send/on。很容易返回返回值。从 Main 发送到渲染器时,您不需要指定 webcontents。好处是可以理解的
https://medium.com/@nornagon/electrons-remote-module-thinked-harmful-70d69500f31 我不认为本文中写的远程模块与发送/上有关
我正在使用 flutter 为 Android 和 iOS 创建跨平台应用程序。由于两个操作系统之间存在巨大差异,我在使用推送通知设置功能时遇到了问题。
Android 将通知分类为通道,并允许用户切换每个通道上是否存在音频,或者通知本身是否存在, https://developer.android.com/develop/ui/views/notifications/channels
iOS 没有通道的概念,只允许用户切换应用程序中所有通知的外观和存在或不存在。
如果您想使用Android的频道功能,您是否接受iOS没有频道功能的事实,这会降低频道功能,使您只能打开/关闭整个通知?或者我是否必须经历创建一个与 Android 通知设置等效的屏幕的麻烦?