{"id":18825404,"url":"https://github.com/outsystems/cordova-outsystems-secure-sqlite-bundle","last_synced_at":"2025-04-14T01:31:24.854Z","repository":{"id":10063852,"uuid":"59602015","full_name":"OutSystems/cordova-outsystems-secure-sqlite-bundle","owner":"OutSystems","description":"Cordova meta-plugin that bundles requirements for secure SQLite device storage and initialization code for easy usage within OutSystems Platform native mobile apps","archived":false,"fork":false,"pushed_at":"2025-02-20T14:51:55.000Z","size":109,"stargazers_count":1,"open_issues_count":3,"forks_count":9,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-03-27T15:52:18.768Z","etag":null,"topics":["cordova-plugin","engineering","mabs","mobile-ecosystem","odc","snyk-mobile","supported-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OutSystems.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-24T19:24:48.000Z","updated_at":"2025-02-07T16:59:08.000Z","dependencies_parsed_at":"2023-11-16T11:28:50.406Z","dependency_job_id":"af41d11b-baf2-4a13-804e-521b49dab236","html_url":"https://github.com/OutSystems/cordova-outsystems-secure-sqlite-bundle","commit_stats":null,"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutSystems%2Fcordova-outsystems-secure-sqlite-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutSystems%2Fcordova-outsystems-secure-sqlite-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutSystems%2Fcordova-outsystems-secure-sqlite-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutSystems%2Fcordova-outsystems-secure-sqlite-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OutSystems","download_url":"https://codeload.github.com/OutSystems/cordova-outsystems-secure-sqlite-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248807569,"owners_count":21164709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cordova-plugin","engineering","mabs","mobile-ecosystem","odc","snyk-mobile","supported-plugin"],"created_at":"2024-11-08T00:59:21.264Z","updated_at":"2025-04-14T01:31:24.573Z","avatar_url":"https://github.com/OutSystems.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OutSystems Secure SQLite Plugin\n\n:warning: This plugin is SUPPORTED by OutSystems. Customers entitled to Support Services may obtain assistance through Support.\n\nCordova meta-plugin that bundles requirements for secure SQLite device storage and initialization code for easy usage within OutSystems Platform native mobile apps.\n\n## Supported Platforms\n- iOS\n- Android\n\n## Installation\n```shell\ncordova plugin add https://github.com/OutSystems/cordova-outsystems-secure-sqlite-bundle.git\n```\n\n## Usage\n\nThe API is essentially unchanged from the bundled [Cordova SQLCipher Adapter](https://github.com/litehelpers/Cordova-sqlcipher-adapter), but the encryption key creation and usage is completely managed by this plugin using [SecureStorage](https://github.com/Crypho/cordova-plugin-secure-storage).\n```javascript\nvar options = { \n  name: 'sample.db',\n  location: 'default',\n  key: 'secure-encryption-key' /* not used, will be overriden by this plugin */\n};\nwindow.sqlitePlugin.openDatabase(options, successCallback, errorCallback);\n```\n\nRefer to the Cordova SQLCipher Adapter plugin documentation for samples and details of the supported features.\n\n## Limitations\nAndroid Auto Backup for Apps is not compatible with Cipher Local Storage plugin which automatically backs up a user's data from apps that target and run on Android 6.0 (API level 23) or later in enabled in settings. Said that AndroidManifest.xml is modified to disable auto backup by setting android:allowBackup attribute to false, avoiding backing up or restoring the app data.\n\n## Known Issues\n- The usage of the SecureStorage plugin requires **Android devices** to have a PIN (or similar) set. Removal of the PIN will effectively **render the database unreadable**, as the key will be lost.\n- It is not possible to open existing databases that are not encrypted.\n  - *Workaround*: either delete them prior to calling `openDatabase` or use a different database name.\n\n---\n\nLICENSE\n=======\n\n[The MIT License (MIT)](http://www.opensource.org/licenses/mit-license.html)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutsystems%2Fcordova-outsystems-secure-sqlite-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutsystems%2Fcordova-outsystems-secure-sqlite-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutsystems%2Fcordova-outsystems-secure-sqlite-bundle/lists"}