{"id":15678025,"url":"https://github.com/philipheinser/react-native-user-activity","last_synced_at":"2025-05-07T02:03:13.306Z","repository":{"id":57141212,"uuid":"58233711","full_name":"philipheinser/react-native-user-activity","owner":"philipheinser","description":"NSUserActivity for React Native","archived":false,"fork":false,"pushed_at":"2022-12-27T06:06:40.000Z","size":47,"stargazers_count":12,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T02:02:38.944Z","etag":null,"topics":["ios","react-native","user-activity"],"latest_commit_sha":null,"homepage":null,"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/philipheinser.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}},"created_at":"2016-05-06T20:40:56.000Z","updated_at":"2021-08-24T19:03:09.000Z","dependencies_parsed_at":"2022-09-05T04:00:14.868Z","dependency_job_id":null,"html_url":"https://github.com/philipheinser/react-native-user-activity","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/philipheinser%2Freact-native-user-activity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philipheinser%2Freact-native-user-activity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philipheinser%2Freact-native-user-activity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philipheinser%2Freact-native-user-activity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philipheinser","download_url":"https://codeload.github.com/philipheinser/react-native-user-activity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252798838,"owners_count":21805884,"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":["ios","react-native","user-activity"],"created_at":"2024-10-03T16:15:14.797Z","updated_at":"2025-05-07T02:03:13.250Z","avatar_url":"https://github.com/philipheinser.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-user-activity\n\nSetup iOS `NSUserActivity` object.\n\n# Setup\n\nInstall module locally.\n\n```sh\n$ npm install --save react-native-user-activity\n```\n\nLink using react-native [cli](https://www.npmjs.com/package/react-native-cli).\n\n```sh\n$ react-native link react-native-user-activity\n```\n\nDeclare the activity types that your app supports by including the [NSUserActivityTypes](https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW28) key in its Info.plist file.\n\n\n# Sample usage\n\n```js\nimport UserActivity from 'react-native-user-activity';\n\n...\n\ncomponentDidMount() {\n  UserActivity.createActivity({\n    activityType: 'com.sample.proactive',\n    webpageURL: 'http://...',\n    eligibleForSearch: true,\n    eligibleForPublicIndexing: false,\n    eligibleForHandoff: false,\n    title: 'Random Place',\n    userInfo: {},\n    locationInfo: {\n      lat: 39.637737,\n      lon: 22.417769\n    },\n    supportsNavigation: true,\n    supportsPhoneCall: true,\n    phoneNumber: '...',\n    description: 'sample description that is not necessary',\n    thumbnailURL: 'thumbnail url that is not necessary',\n    identifier: 'identifier that is not necessary'\n  });\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilipheinser%2Freact-native-user-activity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilipheinser%2Freact-native-user-activity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilipheinser%2Freact-native-user-activity/lists"}