[英]React Native make running services
此應用已關閉,但服務正在運行。 我該如何在本機上執行此操作? 我想提供監聽我的應用程序通知的服務。
您可以將react-native-firebase軟件包用於此特定目的。
react-native-firebase
方式1- 僅數據通知
在此處查看僅數據通知部分的文檔。 請注意,這僅適用於android 。
方式2- 通知+數據
發送通知,當用戶按下通知時,更新應用程序的數據。 這應該適用於android和iOS。 您可以在通知中發送鍵/值對,並發送類型作為鍵/值對之一。 現在,當您基於這種類型處理通知時,您可以根據需要API和更新數據。 您可以在這里了解更多信息
[英]Accessibility services for android in react native
[英]Running React Native Application
[英]make browsers with react native
[英]React Native Location Services “nearby” Implementation
[英]React native running on the device error
[英]React native expo not running in Simulator
[英]Problem running React Native on the device
[英]React-Native metro not running
[英]Error with react native running android
[英]React native: Always running component
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.