Running an eCommerce website along with a simple mobile app for both iOS and Android that features a basic tab bar menu, including icons like a shopping cart, profile, refresh button, etc., as well as a Webview to display the website content. The App's Webview simply loads the eCommerce URL to showcase the Website.
One key aspect is the small icon on the Website shopping cart button that displays the number of items currently stored in the cart.
My main query is: Is there a straightforward method to retrieve this item count from the Website (eCommerce) and dynamically update it in the native tab-bar menu of the iOS/Android apps? For instance, when a customer adds a product, I aim to see the updated item count simultaneously on both the eCommerce shopping cart icon (which is already functional) and the app's tab-bar shopping cart icon.
Hopefully, my explanation makes sense! Thank you in advance!