腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(738)
视频
沙龙
1
回答
React
本机
呈现
模式
onMessage
Firebase
通知
javascript
、
firebase
、
react-native
、
ecmascript-6
我已经在我的应用程序的服务类(而不是
React
组件)中注册了
onMessage
()
Firebase
通知
侦听器。 在该方法中,我调用了一个
呈现
Modal的
React
组件。下面是我的监听器代码: this.notificationListener = messaging().
onMessage
(async notification => {} 根据Riwen的评论更新了类
浏览 13
提问于2020-12-30
得票数 1
1
回答
响应
本机
防火墙消息传递
通知
声音,而不是背景中的更改
react-native
、
push-notification
、
android-notifications
、
firebase-notifications
在我的应用程序中,我使用@
react
本机
-
firebase
/messaging
通知
。对于自定义的
通知
声音,我使用@notifee/
react
本机
这个。我当前的
通知
代码是:import notifee from '@notifee/<
浏览 1
提问于2021-03-15
得票数 3
2
回答
如何在单击bar
通知
后使用
react
-
本机
-
firebase
/messaging(FCM)打开特定页面的应用程序?
javascript
、
android
、
firebase
、
react-native
、
firebase-cloud-messaging
有任何方法可以打开应用程序到特定的页面后,点击
通知
使用反应-
本机
-防火墙/消息传递(FCM)? "@
react
-native-
firebase
/app": "^15.3.0", "@
react
-native-
firebase
/messaging": "^
浏览 11
提问于2022-08-26
得票数 2
1
回答
React
-Native FCM在IOS上不起作用,但Android可以
firebase
、
react-native
、
react-native-ios
、
react-native-firebase
在IOS上无法发送推送
通知
。这在android上有效,但在ios上不起作用。我生成了一个原生IOS应用程序,并检查了
firebase
和APN的入网情况。
本机
应用程序正常工作。我在配置上没有任何问题。/node_modules/@
react
-native-
firebase
/app' App.JS import
React</em
浏览 0
提问于2020-09-07
得票数 0
4
回答
无法从
react
native中的fcm获取推送
通知
react-native
、
push-notification
、
react-native-firebase
我收到了来自
firebase
的推送
通知
,但是当我在使用
react
- native -
firebase
库的
react
本机
中的android上使用"“发送推送
通知
时,我没有收到任何关于android的
通知
。但是,我可以使用"
onMessage
“方法在控制台上显示消息。而是如何在
通知
栏中获得
通知
。下面是我的代码 import
firebase<
浏览 0
提问于2018-12-13
得票数 0
2
回答
显示前台
react
本机
firebase
v6
通知
javascript
、
android
、
react-native
、
push-notification
、
react-native-firebase
我使用的是最新的
react
native版本0.62和
react
-native-
firebase
的最新版本,即v6。我能够得到
通知
,它在后台工作良好,但它不显示在前台。=> { if (fcmToken) { // this.sho
浏览 2
提问于2020-04-26
得票数 8
1
回答
getInitialNotification的getInitialNotification只为第一次推送
通知
返回
通知
对象
android
、
react-native
、
firebase-cloud-messaging
、
react-native-firebase
我有一个奇怪的问题@
react
本机
-
firebase
/消息传递。我最近更新到了v6,在iOS和安卓上一切都很好,除了一件事外,一切都很好。当获得多个推送
通知
时,情况如下:"7.4.2")
React
I移除了tree
本
浏览 8
提问于2020-07-22
得票数 1
1
回答
云消息是如何在
react
中工作的--
本机
-
firebase
v6.x.x?
javascript
、
firebase
、
react-native
、
firebase-cloud-messaging
、
react-native-firebase
我已经安装了
react
-native-
firebase
v6.2,但是现在我找不到实现云消息传递的好帮助。远程
通知
的权限和请求是可以的。
浏览 2
提问于2019-12-08
得票数 0
1
回答
react
-native-
firebase
无法处理导航到
通知
屏幕的
通知
click_action
android
、
react-native
、
react-navigation
、
react-native-firebase
、
react-native-fcm
我正在使用这个
react
-native-
firebase
和
react
导航来导航,我可以成功地从服务器或控制台推送
通知
,无论它是在前台还是后台,但我发誓文档并不是很清楚如何打开
通知
并导航到它所属的
通知
屏幕这些是我的
onMessage
代码。
fir
浏览 4
提问于2018-01-18
得票数 2
回答已采纳
1
回答
在后台收听
通知
并启动应用程序
react-native
、
react-native-firebase
正如
react
本机
防火墙文档()中所记录的那样,我们可以注册一个headlessTask并在应用程序处于后台时监听
通知
。遗憾的是,我还没有找到在前台启动应用程序的方法,一旦在后台
模式
下收到FCM
通知
,这有可能吗?下面是在
react
本机
防火墙上显示的用于侦听背景
通知
的代码。bgMessaging.jsimport
firebase
from '
react
-native-
浏览 7
提问于2019-11-22
得票数 0
2
回答
响应仅在
firebase
中调用的
本机
火基setBackgroundMessageHandler
javascript
、
firebase
、
react-native
、
firebase-cloud-messaging
、
react-native-firebase
我有一个
react
本机
应用程序,并安装了get
本机
应用程序&消息传递,并且可以接收
通知
,但我需要的是传入呼叫
通知
,所以我实现了处理程序,以便在应用程序关闭时首先捕获
通知
,但是即使我的日志没有出现在控制台和设备中
浏览 14
提问于2022-09-05
得票数 0
4
回答
React
本机
使用
Firebase
FCM不工作
firebase
、
react-native
、
push-notification
、
firebase-cloud-messaging
、
react-native-fcm
我做了以下修改:admin.messaging().sendToDevice( contentAvailable: true, });useEffect(() => {
浏览 21
提问于2022-01-07
得票数 0
回答已采纳
1
回答
如何使用
react
本机
防火墙库作为侦听器,从Salesforce MarketingCloud的推送
通知
中获取数据?
react-native
、
push-notification
、
salesforce
、
react-native-firebase
、
salesforce-marketing-cloud
我有一个使用
react
的应用程序--它的0.64.2版本是原生的。要接收推送
通知
,我使用来自
react
本机
-防火墙库的
Firebase
消息传递。,而应用程序处于前台时,
onMessage
方法工作良好,我可以获得
通知
数据,但在后台,我不能。另一点是,当从
Firebase
发送
通知
时,一切都按预期工作,我可以在前台和后台获得
通知
数据。依赖关系: "@
react
-native-
fireba
浏览 3
提问于2021-08-03
得票数 0
2
回答
Firebase
云消息
通知
-消息被多次接收
react-native
、
react-native-firebase
我正在尝试使用
react
- native -
firebase
在前台使用
react
native捕获
通知
。 如果应用程序在后台,则
通知
只显示一次(显然是因为它没有在应用程序中处理)。import messaging from '@
react
-native-
firebase
/messaging'; messagi
浏览 35
提问于2020-04-15
得票数 2
1
回答
EAS构建Android无法在10 s后到达Firestore数据库错误消息
react-native
、
google-cloud-firestore
、
notifications
、
expo
因为我想发送自定义声音
通知
,这些
通知
不适用于经典的世博构建环境。(ref:“只有在使用EAS构建时或在裸工作流中才支持自定义
通知
声音。”)我遵循了成功建立EAS系统的指导方针。
浏览 7
提问于2022-07-15
得票数 1
1
回答
响应
本机
防火墙句柄,单击推送
通知
上的操作
android
、
ios
、
react-native
我正在开发我的
react
本机
应用程序,并使用
firebase
发送推送
通知
:import
firebase
from '@
react
-native-
firebase
/app'我为IOS和Android添加了
本
浏览 3
提问于2020-02-25
得票数 1
回答已采纳
2
回答
当
通知
到达时,当app关闭时导航到特定视图
react-native
、
react-navigation
、
react-native-firebase
如何在移动应用程序中对某些视图/屏幕进行导航,当移动应用程序关闭时收到
通知
时,?Platform将响应
本机
v0.61.5
通知
包=>
react
导航版本4.0.10
浏览 1
提问于2020-05-07
得票数 0
2
回答
如何在单击
通知
后访问
通知
数据(防火墙云消息传递)
javascript
、
react-native
、
firebase-cloud-messaging
、
react-native-firebase
我已经为我的
firebase
cloud messaging实现了
react
-native app,现在我能够发送和接收
通知
。现在我的App关闭了,我收到了来自room1的Notification,然后我点击它,此时我希望它打开我的应用程序,导航到room1 chatbox,以及其他房间的
通知
。 有什么帮助吗?注意:我使用的是
react
本机
-
firebase
v6。
浏览 6
提问于2020-01-28
得票数 0
1
回答
本地
通知
未显示在
React
Native Android应用程序中
android
、
firebase
、
react-native
、
notifications
、
react-native-firebase
我的本地
通知
没有显示在Android模拟器中。我使用的是来自的
react
-native-
firebase
。我可以通过
firebase
控制台发送本地
通知
,它们可以正常显示。但是当我使用代码的时候 body: "body", priority: "high"
浏览 3
提问于2018-01-04
得票数 0
1
回答
无法使用
react
native
firebase
在真实设备上显示
通知
react-native
、
push-notification
、
firebase-cloud-messaging
、
react-native-firebase
我有一个应用程序,使用反应
本机
和
firebase
的推送
通知
。这是我发送给客户端的
通知
: 'title' : ' ' + this.currentUser.email + ' send you a message !':
浏览 4
提问于2018-07-18
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
这里有25个React Native免费教程,请您查收
21个让React 开发更高效更有趣的工具
Microsoft Teams 重生:彻底改变性能和外观的更新
MVVM双向绑定全量版整理
2018 年关于前端开发的五大发展趋势
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券