-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add offline responses storage and retrieval
The code changes introduce the storage and retrieval of offline responses. This allows the application to save responses from API requests made while offline and retrieve them later when the device is online again. The changes include adding a new constant and implementing functions and to save and retrieve responses respectively. The function has also been updated to save the response to offline storage if a is specified in the request configuration.
- Loading branch information
Tirth Gajjar
authored and
Tirth Gajjar
committed
Aug 7, 2024
1 parent
1521924
commit 2e2c2b3
Showing
1 changed file
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters