{"id":18786542,"url":"https://github.com/fausto95/react-native-marketingcloud-sdk","last_synced_at":"2025-12-22T07:30:15.355Z","repository":{"id":151821488,"uuid":"624881888","full_name":"Fausto95/react-native-marketingcloud-sdk","owner":"Fausto95","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-06T19:11:22.000Z","size":449,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-29T12:48:03.477Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Fausto95.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2023-04-07T13:47:17.000Z","updated_at":"2023-04-07T13:48:29.000Z","dependencies_parsed_at":"2024-11-07T20:51:53.797Z","dependency_job_id":"44c41e41-86fd-4da2-824c-e1a577eeff14","html_url":"https://github.com/Fausto95/react-native-marketingcloud-sdk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fausto95%2Freact-native-marketingcloud-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fausto95%2Freact-native-marketingcloud-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fausto95%2Freact-native-marketingcloud-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fausto95%2Freact-native-marketingcloud-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fausto95","download_url":"https://codeload.github.com/Fausto95/react-native-marketingcloud-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239703114,"owners_count":19683212,"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":[],"created_at":"2024-11-07T20:51:50.961Z","updated_at":"2025-12-22T07:30:15.301Z","avatar_url":"https://github.com/Fausto95.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @fausto95/react-native-marketingcloud-sdk\n\nSalesforce Marketing Cloud SDK for React Native\n\nIt uses Turbo Modules for new arch and Native Modules for old arch.\n\n## Installation\n\n```sh\nnpm install @fausto95/react-native-marketingcloud-sdk\n```\n\n```sh\nyarn add @fausto95/react-native-marketingcloud-sdk\n```\n\n## Usage\n\n```js\nimport * as RNMCSDK from '@fausto95/react-native-marketingcloud-sdk';\n\n// ...\n\nRNMCSDK.setContactKey('ANROKSORZ');\n```\n\n## Methods\n\n```ts\n  isPushEnabled(): Promise\u003cboolean\u003e;\n  enablePush(): void;\n  disablePush(): void;\n  getSystemToken(): Promise\u003cstring | null\u003e;\n  getAttributes(): Record\u003cstring, string\u003e;\n  setAttribute\u003cT\u003e(key: string, value: T): void;\n  clearAttribute(key: string): void;\n  addTag(tag: string): void;\n  removeTag(tag: string): void;\n  getTags(): Promise\u003cArray\u003cstring\u003e\u003e;\n  setContactKey(contactKey: string): void;\n  getContactKey(): Promise\u003cstring | null\u003e;\n  enableVerboseLogging(): void;\n  disableVerboseLogging(): void;\n  logSdkState(): void;\n  track(name: string, attributes: Record\u003cstring, string\u003e): void;\n```\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n\n---\n\nMade with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffausto95%2Freact-native-marketingcloud-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffausto95%2Freact-native-marketingcloud-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffausto95%2Freact-native-marketingcloud-sdk/lists"}