Skip to content

captdeys/react-native-helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

react-native-helpers

API

  1. ApiPreCheck.js: Checks auth token expiry before every api call and renews token
  2. ApiPostCheck.js: Checks auth token expiry status in api response to renew token and retry
  3. ApiPrePostCheck.js: Checks auth token expiry before every api call and after checks it in the api response before renewing the token and retrying

Each API method already includes, automatic retries, exponential backoffs, exponential timeout increase.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published