Skip to content

Releases: ArunaUd92/MVVM-CleanArchitecture

V1.0.0

30 Aug 02:01
Compare
Choose a tag to compare

Implement API request handling with Alamofire Session and token refresh

  • Added APIService class to manage API requests with retry logic using Alamofire's Session.
  • Introduced a RetryPolicy interceptor to handle automatic retries up to 3 times with exponential backoff.
  • Implemented token management, including handling token expiration and refreshing the token using a refresh token.
  • Ensured secure and robust error handling, retrying requests when the token expires, and updating the access token.
  • Improved API request execution flow by decoupling the token refresh mechanism from the core request process.