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

PouchDB Api not working #93

Open
Sudalaiyandi opened this issue Dec 11, 2018 · 0 comments
Open

PouchDB Api not working #93

Sudalaiyandi opened this issue Dec 11, 2018 · 0 comments

Comments

@Sudalaiyandi
Copy link

Sudalaiyandi commented Dec 11, 2018

Issue

I have developed ionic application with pouch/couch db backend.My requirement is data are stored in pouch db via ionic page using put(),post() method.Make selector in iOS native page, then pass the selector to ionic page from native page using broad cast plugin.All save, fetch methods are available in ionic code(i.e) ts file.Once request received in ts code, make data fetch and pass records to native page using broad cast plugin.My issue is data fetch not working in ts file, fetch method called but find() and createIndex() not executed.Here I attached my code.

I have used
cordova-plugin-sqlite-2 plugin
pouchdb-adapter-cordova-sqlite 2.0.3 npm

Info

  • Environment: hybrid app
  • Platform: iOS
  • Adapter: cordova-sqlite
  • Server: CouchDB

Reproduce

ionic3-pouchdb-sqlite.zip
Once download my code ->folder path -> npm i -> ionic cordova build ios
Run this application in iOS simulator.Then add value in pouch db, using Employee entry page.In Menu page click Native Page, can able to view log for get(),find(),createIndex() this method.All method declaration is available in employee.ts file( provider class)

@Sudalaiyandi Sudalaiyandi changed the title find() and createIndex() not working in iOS 9.0 and above. PouchDB Api not working Dec 13, 2018
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

1 participant