an-rahulpandey / cordova-plugin-dbcopy

Copy SQLite Database from www folder to default app database location
Apache License 2.0
89 stars 47 forks source link

Include copy to another path #20

Closed speduardo closed 8 years ago

speduardo commented 8 years ago

include copy to another path

an-rahulpandey commented 8 years ago

@speduardo Thanks for the pull request. Can you give me the usage example? Like if the db is in the www directory what will be the path or if the db is at some other location then what will be the path?

speduardo commented 8 years ago

por exemplo: eu coloco o db fora do projeto, um dos motivos é pra diminuir o tamanho do apk e outro flexibilidade para o usuário.

outro ponto é copiar o db interno da aplicacao para uma pasta externa

speduardo commented 8 years ago

sory

for example : I put the db out of the project , one reason is to reduce the apk size and other flexibility for the user .

another point is to copy the internal db of application to an external folder

an-rahulpandey commented 8 years ago

Can you show me the code, also I think the Pull request is incomplete, I do not see the usage of path variable in copyDBFrom function.

speduardo commented 8 years ago

I`m commit all

speduardo commented 8 years ago

i finish the code, but i don't get commit the code

speduardo commented 8 years ago

tell me your email to sent the code

an-rahulpandey commented 8 years ago

Yes, this is my email rahul.p@applicationnexus.com

faridlab commented 8 years ago

It would be great, if this pull request be merged ASAP. Thanks for both of you.

an-rahulpandey commented 8 years ago

I haven't yet test the new code, but I have added the code in dev branch. You can download it from here and let me know how it goes when you test it.