{"id":18605895,"url":"https://github.com/balzack/react-native-unifiedpush-connector","last_synced_at":"2025-06-25T16:08:50.342Z","repository":{"id":175080772,"uuid":"652326742","full_name":"balzack/react-native-unifiedpush-connector","owner":"balzack","description":"A react-native unified push connector library","archived":false,"fork":false,"pushed_at":"2023-06-28T18:06:19.000Z","size":484,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-17T07:53:01.115Z","etag":null,"topics":["react-native","unifiedpush"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-native-unifiedpush-connector","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/balzack.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-06-11T19:48:53.000Z","updated_at":"2024-10-30T08:33:09.000Z","dependencies_parsed_at":"2023-07-14T18:56:26.456Z","dependency_job_id":null,"html_url":"https://github.com/balzack/react-native-unifiedpush-connector","commit_stats":null,"previous_names":["balzack/react-native-unifiedpush-connector"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/balzack/react-native-unifiedpush-connector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balzack%2Freact-native-unifiedpush-connector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balzack%2Freact-native-unifiedpush-connector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balzack%2Freact-native-unifiedpush-connector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balzack%2Freact-native-unifiedpush-connector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/balzack","download_url":"https://codeload.github.com/balzack/react-native-unifiedpush-connector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balzack%2Freact-native-unifiedpush-connector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261906953,"owners_count":23228360,"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":["react-native","unifiedpush"],"created_at":"2024-11-07T02:23:28.123Z","updated_at":"2025-06-25T16:08:50.313Z","avatar_url":"https://github.com/balzack.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-unifiedpush-connector\n\nUnifiedPush library connector for react-native\n\n## Installation\n\n```sh\nnpm install react-native-unifiedpush-connector\n```\n\n## Usage\n\n```js\n\n// Javascript App\n\nimport { Platform, PermissionsAndroid } from 'react-native';\nimport { initUnifiedPush } from 'react-native-unifiedpush-connector';\n\n...\n\n  React.useEffect(() =\u003e {\n    if (Platform.OS !== 'ios') {\n      PermissionsAndroid.request(\n        PermissionsAndroid.PERMISSIONS.POST_NOTIFICATIONS\n      );\n      initUnifiedPush()\n    }\n  }, []);\n\n...\n\n  useEffect(() =\u003e {\n    DeviceEventEmitter.addListener('unifiedPushURL', (e) =\u003e {\n      // register push url\n      // pushURL = e.endpoint;\n    });\n\n\n// AndroidManifest\n\n...\n\n    \u003cuses-permission android:name=\"android.permission.POST_NOTIFICATIONS\" /\u003e\n\n...\n\n        \u003creceiver\n            android:enabled=\"true\"\n            android:name=\"com.unifiedpushconnector.CustomReceiver\"\n            android:exported=\"true\"\u003e\n            \u003cintent-filter\u003e\n                \u003caction android:name=\"org.unifiedpush.android.connector.MESSAGE\"/\u003e\n                \u003caction android:name=\"org.unifiedpush.android.connector.UNREGISTERED\"/\u003e\n                \u003caction android:name=\"org.unifiedpush.android.connector.NEW_ENDPOINT\"/\u003e\n                \u003caction android:name=\"org.unifiedpush.android.connector.REGISTRATION_FAILED\"/\u003e\n                \u003caction android:name=\"org.unifiedpush.android.connector.REGISTRATION_REFUSED\"/\u003e\n            \u003c/intent-filter\u003e\n        \u003c/receiver\u003e\n\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\nApache-2\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%2Fbalzack%2Freact-native-unifiedpush-connector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalzack%2Freact-native-unifiedpush-connector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalzack%2Freact-native-unifiedpush-connector/lists"}