Skip to content
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

Could we not use ObjectBox for storing data? #15

Open
2hamed opened this issue Oct 18, 2019 · 5 comments
Open

Could we not use ObjectBox for storing data? #15

2hamed opened this issue Oct 18, 2019 · 5 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@2hamed
Copy link

2hamed commented Oct 18, 2019

Since this is a SDK and it's better for libraries and SDKs to not depend on third-party package I suggest we move away from ObjectBox to native Sqlite for storing data.

@bkhezry
Copy link
Member

bkhezry commented Oct 18, 2019

@2hamed with using native SQLite we should provide too many codes only to handle CRUD. ObjectBox is so tiny library and useful. In the end, for each solution the .so files are inevitable.

@bkhezry bkhezry added the question Further information is requested label Oct 18, 2019
@2hamed
Copy link
Author

2hamed commented Oct 18, 2019

But sqlite is provided by the OS and no additional .so file is needed. And who knows, it may lead to dependency conflicts if the users are using ObjectBox themselves.

@bkhezry
Copy link
Member

bkhezry commented Oct 18, 2019

@2hamed it's correct. It may be conflicts in creating Singleton instance of BoxStore class. I will be try to prevent from it. As you know, I use some library like retrofit & gson too in this sdk. We can't replace all of them.

@bkhezry bkhezry added the help wanted Extra attention is needed label Oct 18, 2019
@2hamed
Copy link
Author

2hamed commented Oct 19, 2019

Yes, I understand and I may be able to help developing it further but to do so I need a clear vision of this library is supposed to do and what features are planned. Is there any way we can connect?

@bkhezry
Copy link
Member

bkhezry commented Oct 19, 2019

@2hamed bkhezry at Gmail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants