{"id":23456419,"url":"https://github.com/kunder-lab/cordova-plugin-kunder-accountmanager","last_synced_at":"2025-04-14T01:54:36.454Z","repository":{"id":47335874,"uuid":"53972065","full_name":"kunder-lab/cordova-plugin-kunder-accountmanager","owner":"kunder-lab","description":"Use Android Account Manager and iOS Keychain to manage accounts of one user and share with other applications of the same vendor","archived":false,"fork":false,"pushed_at":"2021-09-02T17:42:46.000Z","size":52,"stargazers_count":9,"open_issues_count":4,"forks_count":19,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-04-14T01:54:27.561Z","etag":null,"topics":["android","cordova","cordova-android-plugin","cordova-ios-plugin","cordova-plugin","ios","ios-keychain"],"latest_commit_sha":null,"homepage":"https://kunder.cl","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kunder-lab.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-15T19:21:38.000Z","updated_at":"2023-01-15T07:20:08.000Z","dependencies_parsed_at":"2022-08-26T20:21:44.541Z","dependency_job_id":null,"html_url":"https://github.com/kunder-lab/cordova-plugin-kunder-accountmanager","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunder-lab%2Fcordova-plugin-kunder-accountmanager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunder-lab%2Fcordova-plugin-kunder-accountmanager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunder-lab%2Fcordova-plugin-kunder-accountmanager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunder-lab%2Fcordova-plugin-kunder-accountmanager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kunder-lab","download_url":"https://codeload.github.com/kunder-lab/cordova-plugin-kunder-accountmanager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248809032,"owners_count":21164895,"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":["android","cordova","cordova-android-plugin","cordova-ios-plugin","cordova-plugin","ios","ios-keychain"],"created_at":"2024-12-24T04:31:20.330Z","updated_at":"2025-04-14T01:54:36.432Z","avatar_url":"https://github.com/kunder-lab.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!---\nlicense: Licensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements.  See the NOTICE file\ndistributed with this work for additional information\nregarding copyright ownership.  The ASF licenses this file\nto you under the Apache License, Version 2.0 (the\n\"License\"); you may not use this file except in compliance\nwith the License.  You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing,\nsoftware distributed under the License is distributed on an\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, either express or implied.  See the License for the\nspecific language governing permissions and limitations\nunder the License.\n--\u003e\n\n# cordova-plugin-kunder-accountmanager\n\nThis cordova plugin enables you to use Android Account Manager and iOS Keychain to manage accounts of one user and share with other applications of the same company (e.g google apps like gmail, youtube, etc).\n\nIt's possible to moddify this plugins to allow multiple accounts.\n\nBy default, this plugin cypher the key and message before setting data into Account Manager with AES 256 bits (Android only).\n\n## Installation\n\n```\ncordova plugin add https://github.com/kunder-lab/cordova-plugin-kunder-accountmanager.git#1.0.1 (the lastest stable version)\n```\n\n## Account Manager settings\n\nYou need to add the following settings in your config.xml file for Android Account Manager to work:\n\n```\n\u003cpreference name=\"AccountManagerLabel\" value=\"Your Label Here\" /\u003e\n\u003cpreference name=\"AccountManagerIconUrl\" value=\"your_icon_url_here.png\" /\u003e\n\u003cpreference name=\"AccountManagerType\" value=\"your.unique.identifier\" /\u003e\n```\n\n## Supported Platforms\n\n- Android\n- iOS\n\n## Methods\n\n- initWithKey: register the encryptionKey for AES encryption. It must be called before other Account Manager methods\n- registerAccount: register an user in Account Manager\n- removeAccount: remove an account from Account Manager (Android) and remove all data from keychain (iOS)\n- getUserAccount: returns an String with account name if account exist\n- getPassword: returns password if account exist\n- getDataFromKey: returns data from specified key\n- setUserData: set object with information into Account Manager or Keychain\n- setPassword: update account password\n- resetPassword: update account password with String \"0000\"\n\n## Key Parameters\n\n- accountType: the same account type unique identifier set in config.xml file\n- group (Nullable): group identifier. Only for iOS shared keychain\n- data: key-value object\n- encryptionKey: the key used to encrypt/decrypt key and value data. \n\n## Notes\n\n- You can not delete user data from Account Manager. Use \"setUserData\" to change value to empty.\n- You can delete account from Account Manager.\n- removeAccount remove all keychain data from your app.\n- You can not set user data to Account Manager if it doesn't have an account for your identifier.\n- You need to call initWithKey method before other Account Manager method, otherwise it will not work (Android only).\n\n## License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkunder-lab%2Fcordova-plugin-kunder-accountmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkunder-lab%2Fcordova-plugin-kunder-accountmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkunder-lab%2Fcordova-plugin-kunder-accountmanager/lists"}