View update is not effecting


Am using phonegap couchbase lite plugin… We are updating _design document but documents getting with old key.

Old Document
emit(doc.updatedOn, {doc.title})
new document

Still documents coming with old key.

I believe this is a known bug on iOS. The only workaround I’m aware of is changing the view name or the design document name, or else deleting and re-creating the database.

Am facing in android also… and tried by delete and recreating still same problem. So final solution which I has is creating new view different name.