{"id":30309426,"url":"https://github.com/aprysesdk/pdftron-react-and-react-native-sample","last_synced_at":"2025-08-17T13:43:52.902Z","repository":{"id":71779262,"uuid":"298374555","full_name":"ApryseSDK/pdftron-react-and-react-native-sample","owner":"ApryseSDK","description":"A sample project that uses Expo and shows how to create a PDF viewer app for both web and mobile with a single codebase between React and React Native.","archived":false,"fork":false,"pushed_at":"2021-07-21T20:08:44.000Z","size":289,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-12T13:49:29.635Z","etag":null,"topics":["android","expo","ios","pdf","pdftron","react","react-native","view-pdf","webviewer"],"latest_commit_sha":null,"homepage":"https://www.pdftron.com/documentation/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ApryseSDK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2020-09-24T19:20:27.000Z","updated_at":"2025-02-10T12:54:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"5131d576-0cf8-420d-ad5d-469bb8efe313","html_url":"https://github.com/ApryseSDK/pdftron-react-and-react-native-sample","commit_stats":null,"previous_names":["aprysesdk/pdftron-react-and-react-native-sample","pdftron/pdftron-react-and-react-native-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ApryseSDK/pdftron-react-and-react-native-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApryseSDK%2Fpdftron-react-and-react-native-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApryseSDK%2Fpdftron-react-and-react-native-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApryseSDK%2Fpdftron-react-and-react-native-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApryseSDK%2Fpdftron-react-and-react-native-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ApryseSDK","download_url":"https://codeload.github.com/ApryseSDK/pdftron-react-and-react-native-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApryseSDK%2Fpdftron-react-and-react-native-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270856590,"owners_count":24657693,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"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":["android","expo","ios","pdf","pdftron","react","react-native","view-pdf","webviewer"],"created_at":"2025-08-17T13:43:52.375Z","updated_at":"2025-08-17T13:43:52.878Z","avatar_url":"https://github.com/ApryseSDK.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDFTron React and React Native PDF Viewer Sample\n\nThis sample project uses Expo and shows how to create a PDF viewer app for both web and mobile with a single codebase between React and React Native.\n\n\n![demo](./demo.jpg)\n\n## Install\n\n```\ngit clone https://github.com/PDFTron/pdftron-react-and-react-native-sample.git\ncd pdftron-react-and-react-native-sample\nnpm install\n```\n\n## Run\n\n### Web\n\n```\nnpm run web\n```\n\n### iOS\n\n1. Install dependencies\n\n```\ncd ios\npod install\ncd ..\n```\n\n2.\n\n```\nnpm run ios\n```\n\n### Android\n\n1. Create a `local.properties` file inside the `android` folder with your Android SDK location, for example:\n\n```\nndk.dir=/Users/pdftron/Library/Android/sdk/ndk-bundle\nsdk.dir=/Users/pdftron/Library/Android/sdk\n```\n\n2.\n\n```\nnpm run android\n```\n\n## Guides\n\n- https://www.pdftron.com/documentation/web\n- https://www.pdftron.com/documentation/ios\n- https://www.pdftron.com/documentation/android\n\n## Contributing\n\nSee [contributing](./CONTRIBUTING.md).\n\n## License\n\nSee [license](./LICENSE).\n![](https://onepixel.pdftron.com/pdftron-react-and-react-native-sample)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faprysesdk%2Fpdftron-react-and-react-native-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faprysesdk%2Fpdftron-react-and-react-native-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faprysesdk%2Fpdftron-react-and-react-native-sample/lists"}