Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

web scraping on react native iOS app using recurring background service [closed]

$
0
0

I have been working on a project which requires me to scrape myactivity.google.com and show the data in a dashboard. This entire process needs to be done on the client(mobile app). Developing a React Native an iOS app, which would implement a webview where I can open myactivity.google.com, inject javascript code to scrape data, theoretically. Also, I need this to run every one hour in the background(as a background service or someting) without any user intervention so that the data on dashboard is always updated.

I want to load a webview in the background, without the app even been open, and schedule a background service to do all the process. But I cannot find a way to load a web page in the background and scrape data.

I have found a few libraries in React Native, which help in running background services. But they are all for app data refresh or a simple API call. My requirement, however, is different. I also tried accessing cookies in UI webview and pass them to a background service to load the HTML from myactivity.google.com using those cookies. But this approach did not work either.

To all the React Native/ iOS developers, I need help and suggestions to get this done. Any guidance is highly appreciated. This is my approach if someone can suggest some other way, I am open to discussions.


Viewing all articles
Browse latest Browse all 16552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>