{"id":20887618,"url":"https://github.com/opsway/react-native-clevertap-inbox","last_synced_at":"2026-05-14T20:02:46.153Z","repository":{"id":57336080,"uuid":"173173428","full_name":"opsway/react-native-clevertap-inbox","owner":"opsway","description":"React Native wrapper for the Custom App Inbox feature of CleverTap SDK","archived":false,"fork":false,"pushed_at":"2021-10-07T18:42:50.000Z","size":38,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-03-12T13:49:21.654Z","etag":null,"topics":["clevertap","opsway-opensource","react-native","sdk"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/opsway.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-28T19:19:22.000Z","updated_at":"2021-11-30T06:06:15.000Z","dependencies_parsed_at":"2022-09-11T08:21:35.106Z","dependency_job_id":null,"html_url":"https://github.com/opsway/react-native-clevertap-inbox","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/opsway/react-native-clevertap-inbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsway%2Freact-native-clevertap-inbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsway%2Freact-native-clevertap-inbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsway%2Freact-native-clevertap-inbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsway%2Freact-native-clevertap-inbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opsway","download_url":"https://codeload.github.com/opsway/react-native-clevertap-inbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsway%2Freact-native-clevertap-inbox/sbom","scorecard":{"id":711177,"data":{"date":"2025-08-11","repo":{"name":"github.com/opsway/react-native-clevertap-inbox","commit":"804635d493c43d6adb8b8b4b8d488c94eba92bb2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-22T08:14:31.521Z","repository_id":57336080,"created_at":"2025-08-22T08:14:31.521Z","updated_at":"2025-08-22T08:14:31.521Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33041204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["clevertap","opsway-opensource","react-native","sdk"],"created_at":"2024-11-18T08:21:21.269Z","updated_at":"2026-05-14T20:02:46.118Z","avatar_url":"https://github.com/opsway.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/npm/v/react-native-clevertap-inbox.svg)](https://www.npmjs.com/package/react-native-clevertap-inbox)\n[![](https://img.shields.io/npm/dm/react-native-clevertap-inbox.svg)](https://www.npmjs.com/package/react-native-clevertap-inbox)\n\n# react-native-clevertap-inbox\n\nWe support app badge with unread notifications count for iOS, and most of the Android devices.  \n\nIMPORTANT! For proper work on iOS you have to install CleverTap-iOS-SDK via Cocoapods.\n\n## Requirements\n\nFollow the [CleverTap iOS Quickstart guide](https://developer.clevertap.com/docs/ios-quickstart-guide#section-option-a-install-using-cocoapods-recommended-) to install CleverTap-iOS-SDK via Cocoapods.\n\n## Getting started\n\n`$ npm install react-native-clevertap-inbox --save`\n\n### Mostly automatic installation\n\n`$ react-native link react-native-clevertap-inbox`\n\n### Manual installation\n\n\n#### iOS\n\n1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`\n2. Go to `node_modules` ➜ `react-native-clevertap-inbox` and add `RNCleverTapInbox.xcodeproj`\n3. In XCode, in the project navigator, select your project. Add `libRNCleverTapInbox.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`\n4. Run your project (`Cmd+R`)\u003c\n\n#### Android\n\n1. Open up `android/app/src/main/java/[...]/MainActivity.java`\n  - Add `import com.opsway.react.RNCleverTapInboxPackage;` to the imports at the top of the file\n  - Add `new RNCleverTapInboxPackage()` to the list returned by the `getPackages()` method\n2. Append the following lines to `android/settings.gradle`:\n  \t```\n  \tinclude ':react-native-clevertap-inbox'\n  \tproject(':react-native-clevertap-inbox').projectDir = new File(rootProject.projectDir, \t'../node_modules/react-native-clevertap-inbox/android')\n  \t```\n3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:\n  \t```\n      compile project(':react-native-clevertap-inbox')\n  \t```\n\n## Usage\n```javascript\nimport RNCleverTapInbox from 'react-native-clevertap-inbox';\n\n//Initialize App Inbox\n\nRNCleverTapInbox.initializeInbox();\n\n//Get Inbox Message Count\n\nRNCleverTapInbox.getInboxMessageCount().then(count =\u003e {\n  console.log('All messages count: ', count);\n});\n\n//Get Inbox Unread Count\n\nRNCleverTapInbox.getInboxMessageUnreadCount().then(count =\u003e {\n  console.log('Unread messages count: ', count);\n});\n\n//Get All messages\n\nRNCleverTapInbox.getAllInboxMessages().then((response: string) =\u003e {\n  const messages = JSON.parse(response);\n  \n  console.log('All messages: ', messages);\n});\n\n//Get only Unread messages\n\nRNCleverTapInbox.getUnreadInboxMessages().then((response: string) =\u003e {\n  const messages = JSON.parse(response);\n  \n  console.log('All unread messages: ', messages);\n});\n\n//Mark all Unread messages as Read\n\nRNCleverTapInbox.markReadAllUnreadInboxMessages().then((success: boolean) =\u003e {\n  success \u0026\u0026 console.log(`All unread messages marked as read!`);\n});\n\n//Mark Message as Read\n\nRNCleverTapInbox.markReadInboxMessage(messageId: string).then((success: boolean) =\u003e {\n  success \u0026\u0026 console.log(`Message with id ${messageId} marked as read!`);\n});\n\n//Delete message from the Inbox\n\nRNCleverTapInbox.deleteInboxMessage(messageId: string).then((success: boolean) =\u003e {\n  success \u0026\u0026 console.log(`Message with id ${messageId} deleted!`);\n});\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopsway%2Freact-native-clevertap-inbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopsway%2Freact-native-clevertap-inbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopsway%2Freact-native-clevertap-inbox/lists"}