onMessage not working
See original GitHub issueI have component: https://stackblitz.com/edit/react-zk4ukn
if WebView import from react-native
function onMessage
will log Hello React
but when change it with WebView import from 'react-native-autoheight-webview'
it not show console.log Hello React
.
How I can get event click button from html in your WebView autoheight?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Web firebase.messaging().onMessage not fired, but ...
Simple solution to this is update your Firebse to latest version.
Read more >messaging.onMessage not firing when in foreground ... - GitHub
When the app is in background, it works flawlessly, however when in foreground, the onMessage is not being fired. const firebaseConfig = {...
Read more >Cloud Messaging | React Native Firebase
When the application is in a background or quit state, the onMessage handler will not be called when receiving messages. Instead, you need...
Read more >EventSource: message event - Web APIs | MDN
The message event of the EventSource API is fired when data is received through an event source. This event is not cancelable and...
Read more >Receive messages in a JavaScript client - Firebase - Google
In order to receive the onMessage event, your app must define the Firebase messaging service worker in firebase-messaging-sw.js . Alternatively, you can provide ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
please try @0.10.0
@iou90 I think you need add https://stackblitz.com/edit/react-hb1gqj?file=Hello.js It will support
onMessage
event