Comments (8)
So, I found the bug.
On android device it's error.code
, in browser -> error.code.code
.
from cordova-plugin-nativestorage.
Could you please provide the platform where this inconsistency resides?
On Wed, 2 Nov 2016, 10:43 Daniel Meng, [email protected] wrote:
Sorry to be nuisance, but I was hoping to do an insert when no object is
found through the error.code API you provided in your documentation.It's however returning me a string. Will there be a future update to make
this available by any chance?—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#46,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIOhixy-17BMzl03yKPuIsmtK7bBZaepks5q6FtEgaJpZM4KnCGK
.
from cordova-plugin-nativestorage.
Ionic v1.3.1
Chrome v54.0.2840.71
Mac OS v10.12.1
I have not tested this on the emulator or the phone. Strictly in browser.
from cordova-plugin-nativestorage.
This is happening with the Browser too, on Windows 10/Chrome.
mainHandle.js:87 Uncaught TypeError: error is not a function(…) StorageHandle.set @ mainHandle.js:87 (anonymous function) @ VM65:34 dispatch @ jquery-3.1.1.min.js:3 q.handle @ jquery-3.1.1.min.js:3
from cordova-plugin-nativestorage.
@anwserman Are you also getting a "error.code undefined" error. Otherwise, please open a new issue here. Or see this issue or this; which has had the same error. And comment there, if suited for your problem.
from cordova-plugin-nativestorage.
@danielmeng07 Thank you for the information. I will look into it, when I've got same time.
from cordova-plugin-nativestorage.
@probil thanks.. will fix and push soon!
from cordova-plugin-nativestorage.
Sorry for delay guys, but this issue was fixed in PR #108
from cordova-plugin-nativestorage.
Related Issues (20)
- Ionic 3 - No provider for NativeStorage HOT 1
- Values not consistent HOT 1
- IOS doesn't work HOT 6
- getItem returns JSON_ERROR trying to get a value stored using objective c
- losing data on ios HOT 5
- retrieving data from another app HOT 1
- How can i get value from NativeStorage.getString() Without Using Callbacks? HOT 1
- Undefined data in iOS when trying to store data
- NativeStorage.keys func returns un known keys by default on IOS
- Angular Cordova app stucks at splash screen on iOS 13+ HOT 1
- Please, close this issue.
- Ionic Native Storage not working Android 9+ HOT 5
- Is this project being maintained? HOT 2
- MFP v8.o Push Rest Service Implementation sample java project or adapter HOT 1
- IOS build issue HOT 1
- Migrate data to React Native HOT 2
- Experience slow in ionic native storage in android version(sharedpreferences)
- iOS - setItem function always returns the wrong callback (Error storing item)
- Outdated values after installing new version of the app
- iOS - Privacy Manifest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-nativestorage.