Dick van den Brink created CB-4851:
--------------------------------------

             Summary: Android Storage API
                 Key: CB-4851
                 URL: https://issues.apache.org/jira/browse/CB-4851
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.0.0
            Reporter: Dick van den Brink
            Assignee: Joe Bowser


According to the documentation the Storage API is provided in the core of 
cordova, but it is removed from the Android Core.

http://cordova.apache.org/docs/en/3.0.0/cordova_storage_storage.md.html#Storage

{quote}As of version 3.0, access to Storage APIs is built into Cordova, and 
does not require using the CLI to add plugins as described in The Command-line 
Interface.
{quote}

I did add the xml to the config page but I get the following error:

{quote}
Error adding plugin org.apache.cordova.Storage.
exec() call to unknown plugin: Storage
java.lang.ClassNotFoundException: org.apache.cordova.Storage
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:217)
at java.lang.Class.forName(Class.java:172)
at org.apache.cordova.PluginEntry.getClassByName(PluginEntry.java:117)
{quote}

Is the documentation wrong or is the Storage class incorrectly deleted?

Note: the storage code is still provided in cordova.js, but not in the jar. 
Also the Java code is in the 2.9 branch. It is deleted in the commit with sha1 
id: adcbd879c846dd3f7a3db960a3c7af14acbbda41

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to