anboralabs / spatia-room

Implementation of spatia lite database to android component Room
MIT License
41 stars 4 forks source link

Add a createFromFile method #40

Closed akelian closed 10 months ago

akelian commented 10 months ago

Hi! Can you please add a createFromFile method to databaseBuilder? We are working in no internet enviroment for mobile devices so only way to synchronize data with server is load sqlite file into device directly via PC. Unfortunately createFromAsset method isn't suitable.

dalgarins commented 10 months ago

@akelian I'll be working on that.

dalgarins commented 10 months ago

@akelian new version 0.2.8, has the method you need.

akelian commented 10 months ago

@dalgarins Thank you! You helped me a lot