{"id":22138189,"url":"https://github.com/smartlook/cordova-smartlook","last_synced_at":"2025-07-25T22:31:57.114Z","repository":{"id":36928664,"uuid":"195971287","full_name":"smartlook/cordova-smartlook","owner":"smartlook","description":"Official Smartlook SDK plugin for Cordova Android and iOS.","archived":false,"fork":false,"pushed_at":"2024-04-24T13:14:49.000Z","size":99689,"stargazers_count":9,"open_issues_count":7,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-21T01:05:37.877Z","etag":null,"topics":["android","capacitor","cordova","ionic","ios","sdk","sdk-android","sdk-ios"],"latest_commit_sha":null,"homepage":"https://www.smartlook.com","language":"Objective-C","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/smartlook.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-09T08:56:29.000Z","updated_at":"2024-06-19T06:13:52.658Z","dependencies_parsed_at":"2023-01-17T07:30:32.845Z","dependency_job_id":"f546ba21-01fe-4067-bd0e-e1092ada869d","html_url":"https://github.com/smartlook/cordova-smartlook","commit_stats":{"total_commits":151,"total_committers":10,"mean_commits":15.1,"dds":0.6158940397350994,"last_synced_commit":"30da89f8fbeedb8e3b8559ddd5031fda18e5a2c6"},"previous_names":["smartlook/cordova-smartlook-plugin"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlook%2Fcordova-smartlook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlook%2Fcordova-smartlook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlook%2Fcordova-smartlook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlook%2Fcordova-smartlook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smartlook","download_url":"https://codeload.github.com/smartlook/cordova-smartlook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227582429,"owners_count":17789377,"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","capacitor","cordova","ionic","ios","sdk","sdk-android","sdk-ios"],"created_at":"2024-12-01T20:08:53.340Z","updated_at":"2024-12-01T20:08:53.938Z","avatar_url":"https://github.com/smartlook.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smartlook Cordova SDK\n\nOfficial Smartlook SDK plugin for Cordova Android \u0026 iOS applications.\n\n\u003e ### Minimum supported versions\n\u003e \n\u003e The minimum supported Android version is `Jelly Bean (API 18)`\n\u003e \n\u003e The minimum supported iOS version is `13`\n\u003e \n\u003e The minimum supported Cordova CLI version is `10.0.0`\n\u003e \n\u003e The minimum supported Cordova Android engine is `10.1.1`\n\n## Integration\n\n1. Add the Cordova plugin to your project:\n\n```npm\nnpm install cordova-plugin-smartlook\n```\nor\n```Cordova\ncordova plugin add cordova-plugin-smartlook\n```\n\n\n\n2. Setup and start Smartlook using the [deviceready](https://cordova.apache.org/docs/en/5.1.1/cordova/events/events.deviceready.html) callback:\n\n```javascript\nif(document.readyState === \"complete\") {\n  document.addEventListener(\"deviceready\", onDeviceReady, false);\n}\n\nfunction onDeviceReady() {\n  \tSmartlook.setProjectKey({key: \"YOUR_API_KEY\"});\n  \tSmartlook.start();\n}\n```\n\n\n\n\u003e ### Project API Key\n\u003e \n\u003e To setup Smartlook, you need your project API key. You can find your project key in the mobile project settings in the [Smartlook app](https://app.smartlook.com/settings/projects).\n\n3. If you cannot access TypeScript types, you need to explicitly set the type folder roots. Add the following to your project's `tsconfig.json`:\n\n```json\n\"typeRoots\": [\"./node_modules/@types\", \"./node_modules/cordova-plugin-smartlook/globalTypes\"]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartlook%2Fcordova-smartlook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmartlook%2Fcordova-smartlook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartlook%2Fcordova-smartlook/lists"}