-
Notifications
You must be signed in to change notification settings - Fork 28
Offline Support using Core Data #146
Comments
@anitab-org/mentorship-ios-maintainers before making it available, I'd like to get your approval. |
@sunjunkie should I make this issue available for contributors? |
hey @yugantarjain , i would like to work on this issue 1.ill make the coredata context to store data , and also include realm if needed |
Hi @paraschhugani, thanks a lot for your interest in working on this issue! Assigned. |
hey @yugantarjain I am unable to test my code, can you please provide with some login test Credentials to test the code data And there is some issue in signup screen, the text field becomes yellow when trying to enter the password, is that intentional or a bug |
@paraschhugani You can sign up using mentorship rest API backend link: https://mentorship-backend-temp.herokuapp.com
|
thanks @vatsalkul that helped a lot , goona make pr soon, just some doubt on the workflow of app , can you please explain that , i am connected to you on LinkedIn . Coredata added ,, |
I have made a pr, it took me some time to understand the work flow of the app. |
Is your feature request related to a problem? Please describe.
Currently the offline support in Mentorship iOS app is very limited (only for user profile). This makes it difficult for a user to be able to access their data at all the time, as it is not possible with wifi/data. Also, since the same data is fetched from the server again and again, user's data also gets wasted which can be conserved with offline support.
Describe the solution you'd like
Core Data framework must be used to enable offline support in the app. The boilerplate code for core data is present in the project. We have implemented repository pattern in the app (as a Service layer) which allows for which data sources to be used for the data model. The offline data source should ideally follow this paradigm.
Describe alternatives you've considered
The profile uses UserDefaults for offline support. However, I feel that core data would be the better option for the whole app.
Additional context
We can be flexible on the scope of this issue and only implement offline support for the home screen for now (instead of the whole app).
Note: This issue may also require a little refactoring during the process.
The text was updated successfully, but these errors were encountered: