score:4
The "click"
event is fine. Problem is that, RN core's <WebView>
implementation for Android is flawed at polyfilling window.postMessage()
. This issue has been well discussed in this github issue.
So it seems the nature of problem, is RN has to polyfill the native window.postMessage
for some reason, but the override didn't take place timely, causing window.postMessage
calls still made to the native one.
One solution (for Android) proposed in that github issue, is simply stop using the native window.postMessage
, and directly use the internal interface, which is the actual polyfill function.
// in place of `window.postMessage(data)`, use:
window.__REACT_WEB_VIEW_BRIDGE.postMessage(String(data))
One heads-up though, this API is not public and might be subject to change in future.
Source: stackoverflow.com
Related Query
- How can I make React Native in Android aware of a click event in a tooltip in a Highcharts chart?
- Highcharts : How do I keep the marker formatting and make the click event fire with a 5K+ point scatter plot?
- How can I pass values from Highcharts event callbacks (click, mouseOver, mouseOut) back to React component member function?
- Highcharts - How can I get the nearest point on click event
- How can I use data.table or data.csv and extra data for click event handling
- How do I catch a click event on a polygon in HighCharts without having the tooltip popping up
- How can i make my gnatt highcharts tooltip in this shape
- How can I make HighCharts 4.2.5 with boost.js invoke the tooltip formatter?
- How can I unclick an event in highcharts on the second click
- How to get the X axis value from HighChart on android on click event
- How can I load a custom popup on a click event in Highcharts?
- How to make click on area above / below small column, in unstacked column chart, fire the point click event
- How can I use chart tooltip formatter in react-highcharts?
- Highcharts : Chart with drilldown how to obtain click event of drill up button
- highcharts how to catch and insert logic in click reset zoom button event
- In high chart how to add event for label click
- How to pass custom data into Highcharts graph click event
- Highcharts: How to make Tooltip position to be visible in the Viewport
- Click event not fire in highcharts tooltip
- How to call typescript function inside High chart click event
- HighCharts: How to Determine on Click Event what Data Grouping the Chart is Currently In?
- How to catch the click event from the axis ticks jqplot, highcharts,flot
- How to attach click event function in Highcharts
- highcharts- stacked bar, how can I make the chart cover the width 100%?
- Highcharts : How can i move the tooltip to external DIV?
- How to add series after click event in HighCharts
- How can I make a graph with highcharts from csv file?
- Highcharts: How to change or redraw a chart when a click event occurs on an another chart?
- How can I make preset json data ready to be used in my highchart?
- With HighCharts, how can I have the same tooltip formatter as my y axis
More Query from same tag
- How to push Json data to line chart function
- Highcharts rose diagram with json
- UseHTML property in XAxisTitle or YAxisTitle
- Highcharts Render Text after animation
- how to make bubble chart in highchart selected a bubble on load
- Highcharts with Rails
- Highcharts Onclick a PieChart slice should refresh the chart
- Unable to Create Chart in Highcharts and id is undefined
- Highcharts with ajax/ json and SQL Server ASP.NET
- Highcharts- show all days even if there are no values
- Highcharts: Dynamically change / add axis attributes
- Highcharts : point.key is too long and make chart small
- Angular Highcharts - chart reference is gone after click
- how to use function (chart) in react?
- Highchart data does not start with 0 gives error
- Unit test for Highcharts tooltip in Angular
- HighChart highlight point
- Highchart is not occupying entire div in Shiny app
- unable to get highcharts working in Rails
- Need to draw arrow line from bubble chart to another div using css3
- Highchart tooltip value should be format based on locale
- Php and PhantomJS
- Highcharts Line Charts Out of memory
- Highchart Maps (Highmaps)- data
- Trouble importing Highcharts Gauge with NPM/Webpack
- Dynamically graph points with Highcharts
- ( Highcharts ) How to make dataLabels disappear if there is, a higher column?
- Resolve Conflict When Using Highchart and Treemap together ( f.inArray is not a function)
- median and standard deviation chart using highcharts
- Highmaps min/max color not working as expected