禁用应用程序时,在特定时间显示本机显示消息(React Native display message at certain time when app is disabled)
如何在某个时间让React Native在设备上触发某种消息,即使该应用当前未被选中或完全关闭,该怎么办?
How is it possible to have React Native trigger some kind of message on the device at a certain time, even if the app is currently not selected or closed down altogether?
最满意答案
我只想使用推送通知。 这是你需要设置服务器端的东西,但听起来你有一个很好的用例。 您需要为此设置权限等。
也许本地通知的一个很好的用例可以看看React Native Docs
I would simply use a push notification. This is something you will need to setup server side but it sounds like you have a good use case. You will need to setup permissions etc for this.
Maybe also a good use case for local notifications take a look at React Native Docs
更多推荐
发布评论