Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 20 14:04
    CodeWithOz opened #157
  • Sep 15 08:28
    CodeWithOz commented #138
  • Nov 02 2020 13:26
    sirineKr edited #156
  • Nov 02 2020 13:16
    sirineKr opened #156
  • Oct 28 2020 09:13
    zyhzx123e edited #155
  • Oct 28 2020 09:08
    zyhzx123e opened #155
  • Oct 07 2020 06:21
    2xSamurai opened #154
  • Sep 29 2020 18:56
    rr-philips closed #153
  • Sep 29 2020 18:56
    rr-philips commented #153
  • Sep 29 2020 16:37
    rr-philips opened #153
  • Jun 08 2020 21:16
    J3m5 commented #114
  • Jun 08 2020 20:19
    Thul999 commented #114
  • Jun 02 2020 15:58
    GillesC closed #142
  • Jun 02 2020 15:58
    GillesC commented #142
  • Jun 02 2020 15:57

    GillesC on master

    Bugfix to add pluginResult for … Merge pull request #150 from km… (compare)

  • Jun 02 2020 15:57
    GillesC closed #150
  • Jun 02 2020 15:56
    GillesC closed #133
  • Jun 02 2020 15:56
    GillesC commented #133
  • Jun 02 2020 15:55
    GillesC closed #152
  • Jun 02 2020 15:55
    GillesC commented #152
Gilles Callebaut
@GillesC
Stackoverflow knows ;)
Sune Radich Vestergaard
@SuneRadich
I've not been able to find anything..
Another thing, I know you can turn off backup on android devices. But can you do the same for iOS?
testflight-to-the-final-app-store-versio
Backup on iOS can be manipulated through a parameter in cordova
Gilles Callebaut
@GillesC
This is only valid for webstorage data.
I should look if NSUserdefault data is synced with the cloud.
Sune Radich Vestergaard
@SuneRadich
So basically, in theory, a sync issue might clear/change the properties in NSUserdefault?
Gilles Callebaut
@GillesC
If the NSUserdeafault is backed up than the stored data in the cloud can be restored on the device
Sune Radich Vestergaard
@SuneRadich
I can see that there is a branch that seems related to this - https://github.com/zestia/cordova-plugin-nativestorage/commits/synchronize-fix
Gilles Callebaut
@GillesC
This is related to the synchronisation of the data from memory to disk
Not about back-up
Sune Radich Vestergaard
@SuneRadich
Ok, sorry for confusing things up
Gilles Callebaut
@GillesC
No problem.
maverickpravin
@maverickpravin
how can i clear webview cache ?
Gilles Callebaut
@GillesC
I don't know, you should look it up for each platform. Or if you are asking for a clear function in nativestorage, that we have.
maverickpravin
@maverickpravin
i have created a app with an remote javascript file. - "main.js"
now when i make some changes in the remote javascript file those respective changes are not reflected in the app.
i have to reinstall the app to see the changes.
Gilles Callebaut
@GillesC
I'm sorry but this has nothing to do with nativestorage, please use stackoverflow or other forums.
MikePaer
@MikePaer
Does anyone know of a workaround to issue #86 ? I'm hitting this.
Darshan
@darshanrampatel
image.png
Hi there, just getting started using this plugin, but am running into an odd error. I've installed the plugin as normal (this is in an Ionic v1 cordova app), but when I try and call the setItem methods, I get the above error.
Has anybody seen such an error before? I suspect it's to do with the Java class.
Darshan
@darshanrampatel
I have raised this as an issue as well: #87
jorge nakassima
@jorgesnk
hello i would like know if this plugin have a limit of data size
thank
Gilles Callebaut
@GillesC
See our readme under "when to use the plugin"
Antonio Cacciapuoti
@YantCaccia
Hey guys! Anyone can give me some tips to use this plugin on desktop browser? For testing before compiling the app. Just including the files like a simple .js file seems not working for me. Thanks in advance
Sarmad
@sarmadzaki
can't install cordova-plugin-native storage anyone can help?
Gilles Callebaut
@GillesC
Hey Antonio,
The plugin is not tested in a desktop browser environment.
Sarmad, can you provide us with more information, e.g., on which platform, which command lines have you used?
Loren Dorez
@LorenDorez
Is there anyone on who might be able to to help me with NativeStorage Plugin
Bhushan Mithabavkar
@mithabavkar
hello, I am implementing cordova app using angular 4 technology. I boilerplate the application but now i face issue when used plugin in to component. can anyone help me to get rid of this issue.
Thanks in advance...!!
Matthew
@ZMHixson_twitter
Good morning folks. I'm by no means an expert and I've only been using Cordova NativeStorage for a couple of days now. I'm having a bit of a problem trying to resolve keys on an iOS device. NativeStorage.keys() returns a large array (189 items) of WebKit values which I presume to be NSUserDefaults. To my knowledge I am able to set items to storage.
Jim C K Flaten
@Jckf
Hello, people. I'm having a very strange problem with NativeStorage in our app. It seems to no longer execute any callbacks; neither success nor failure, both on iOS and Android.
The global NativeStorage object does exist, and I can execute its methods, but there is never any response.
This started happening without any change or update to the app itself, and we're running NativeStorage 2.3.1
@GillesC
Jim C K Flaten
@Jckf
Never mind. It only looks like callbacks aren't executing because console.log() doesn't print anything in the console
so0lid
@so0lid
Hi, I've just tried to use NativeStorage plugin instead of localStorage.. but seems is not working.. for saving NativeStorage.setItem("var_test", "value") and to get back NativeStorage.getItem("var_test") but its always returning undefined .. what am I doing wrong!, I am testing on browser can anybody help me?
so0lid
@so0lid
do I need to use <success>, <error> callbacks even for simple retrieve?
Taksh Pratap SIngh
@TakshPSingh
This message was deleted
I am using the Phonegap CLI to serve my project and my plugin version is: 2.3.1
So, I wrote the following code to execute after the device is ready:
NativeStorage.getItem("abcd",function(){" console.log("success");alert("success"); },function(){ console.log("fail");alert("failed :)"); });
This works perfectly when I am testing it on my browser. However, when I open this app on my android phone, the NativeStorage code does not work at all.
I used weinre to debug my app:
I got the error: ReferenceError: NativeStorage is not defined
Image of the error
I also removed the plugin and all the platforms and reinstalled them again; however, I am still getting the same error.
Can you please help me find the issue ?
rildomar
@rildomar

@rildomar
Hello gusy, i'm nwe on cordova and i have some problems with server self signed.. i tried some fix but, without success =T

TIC SSL Trust Error
NSURLSession/NSURLConnection HTTP Load failed

someone can help-me?

Eric Horodyski
@ehorodyski
Does this plugin require a lock-screen for Android in order to use SharedPreferences?
abisael
@abisael
I have a problem with ios, data does not persist
nazira97
@nazira97
My current app is in Hybrid and I used cordova-plugin-nativestorage plugin to store all my data into persistent storage. Now I'm revamping my App to native Android App. Is it possible to fetch the data which I stored in Hybrid App using this plugin in Native Android App ?