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

Android - no method 'replaceDatabase' #95

Open
daveeel opened this issue Feb 15, 2015 · 1 comment
Open

Android - no method 'replaceDatabase' #95

daveeel opened this issue Feb 15, 2015 · 1 comment

Comments

@daveeel
Copy link

daveeel commented Feb 15, 2015

I'm playing with the CannedDatabbase sample. Worked as expected on iOS.
But with the following error on Android. (Ti CouchDB latest version 1.2.1)

[ERROR] :  TiExceptionHandler: (main) [1,319] - In app.js:120,34
[ERROR] :  TiExceptionHandler: (main) [0,319] - Message: Uncaught TypeError: Object 
#<DatabaseManager> has no method 'replaceDatabase'
[ERROR] :  TiExceptionHandler: (main) [0,319] - Source:   if (!TiTouchDB.databaseManager.replaceDatabase('elements', dbfile, attdir))
[ERROR] :  V8Exception: Exception occurred at app.js:120: Uncaught TypeError: Object #<DatabaseManager> has no method 'replaceDatabase'
@musumarra
Copy link

I have the same error on Android using the latest version of ti_touchdb (1.2.1). The method replaceDatabase isn't implemented for DatabaseManager class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants