I recently started using React Native to work on an app that involves web scraping. We've been using a component called the React Native WebView Bridge, which is similar to the UIWebViewBridge library in Obj-C but has some problems. Since React Native is asynchronous, we've been having trouble returning info in that the App calls the render function with the WebView Bridge often and unpredictably. Sometimes the WebView Bridge module will call our injected javascript 1 time, and sometimes it will call 3 times.
Is there a better way to scrape info and inject javascript effectively in React Native?
Here's a link to the WebViewBridge for React Native that we used.
Aucun commentaire:
Enregistrer un commentaire