-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce owncloud-library as module #3962
Comments
Hi @hannesa2, what do you think about this change? Have u worked with the library outside of the android app? |
No, I never used it outside. And to be honest, if I would use it outside, it would make no pain to use it from inside of main repo as well |
Thanks for asking. You have my bless 😉 |
There are some facade classes that could be removed as soon as the All the Services could be removed and the remote datasource would call the remote operation directly instead of using this facade https://github.com/owncloud/android-library/blob/master/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/Service.kt Also, there are some intermediary classes like RemoteShare and RemoteCapability that are redundant and could be removed too. The response classes from Moshi could be mapped directly to model instead of the current |
If you want, I can do this without loosing the history |
Hi @hannesa2! That would be great! We need to do a quick revision of the whole |
@hannesa2 are you still interested/available to do this one? |
Yes, I could do this with ease |
that'd be fantastic. |
Is now the right time ? |
you're right. Team is now working full-time on new release. We can wait till release is done to review the PR as soon as it is ready. I will ping you at this point. |
@hannesa2 all the team is now available for reviewing as soon as you send the code (if you are still interested in). |
so fast, thanks, reviewing by the team |
Is your feature request related to a problem? Please describe.
At the moment, the android library is exported as a project and included in the app as a submodule.
https://github.com/owncloud/android-library
The android-library is kind of coupled to android code and accounts from AccountManager and it is not easy to work with it outside of the android app.
Dependencies need to be maintained in both projects, PR on both projects...
Describe the solution you'd like
The library could be included as an additional module same as
owncloudDomain
orowncloudData
.Could be called
owncloudNetwork
since it takes care of every single network requestAdditional context
There is not much interest in the android-library project https://github.com/owncloud/android-library/forks
TASKS
PR
The text was updated successfully, but these errors were encountered: