You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
Sudalaiyandi
changed the title
find() and createIndex() not working in iOS 9.0 and above.
PouchDB Api not working
Dec 13, 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
pluginpouchdb-adapter-cordova-sqlite 2.0.3
npmInfo
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)
The text was updated successfully, but these errors were encountered: