How do Apps with review functions automatically update?

Hi,

I'm new to coding. I wanted to ask a few questions as I'm currently building an app (Xcode - SwiftUI).

  • Apps such as Just-Eat and Amazon have reviews/ratings within the app for customers to submit. Once customer submits a review, is the overall score automatically updated via a Xcode/SwiftUI function or is there a separate model outside of Xcode to automatically update/feed the app?
  • If the latter, how does this live feed the app without any official update in the App Store?

Sorry if the above doesn't make sense but I guess it's clear to see I'm a newbie :)

All responses are appreciated!

Thanks

Customers can rate from the appstore, https://www.lifewire.com/how-to-rate-an-app-in-the-apple-app-store-4843954

but they mainly do it from within the app.

To see how to include in your SwiftUI app: https://www.hackingwithswift.com/quick-start/swiftui/how-to-ask-the-user-to-review-your-app

In anycase, rating on Appstore is updated automatically (in the next hours I guess).

How do Apps with review functions automatically update?
 
 
Q