{"id":16969352,"url":"https://github.com/webmasterdevlin/react-native-typescript-react-navigation-v4","last_synced_at":"2025-04-05T16:25:00.006Z","repository":{"id":38921327,"uuid":"233269972","full_name":"webmasterdevlin/react-native-typescript-react-navigation-v4","owner":"webmasterdevlin","description":"React Native TypeScript and React Navigation v4","archived":false,"fork":false,"pushed_at":"2023-01-05T04:59:58.000Z","size":3041,"stargazers_count":0,"open_issues_count":18,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T13:22:02.517Z","etag":null,"topics":[],"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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webmasterdevlin.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":"2020-01-11T17:29:24.000Z","updated_at":"2020-01-11T18:20:39.000Z","dependencies_parsed_at":"2022-09-07T10:12:14.385Z","dependency_job_id":null,"html_url":"https://github.com/webmasterdevlin/react-native-typescript-react-navigation-v4","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/webmasterdevlin%2Freact-native-typescript-react-navigation-v4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterdevlin%2Freact-native-typescript-react-navigation-v4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterdevlin%2Freact-native-typescript-react-navigation-v4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterdevlin%2Freact-native-typescript-react-navigation-v4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webmasterdevlin","download_url":"https://codeload.github.com/webmasterdevlin/react-native-typescript-react-navigation-v4/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247363335,"owners_count":20926927,"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-10-14T00:24:52.640Z","updated_at":"2025-04-05T16:24:59.978Z","avatar_url":"https://github.com/webmasterdevlin.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## React Native TypeScript and React Navigation v4.0\n\nLet's create a React Native app with TypeScript and React Navigation v4.0 by using the builder below.\n\n####Requirements:\n- [nodejs](https://nodejs.org/en/) (this includes NPM package manager)\n- [vscode](https://code.visualstudio.com/)\n- [yarn](https://yarnpkg.com/lang/en/) (optional NPM package manager)\n- uninstall the legacy react-native-cli\n\n```sh\n$ npm uninstall -g react-native-cli\n```\nOpen up a terminal that points to your Desktop.\nThen start creating a React Native in TypeScript project\n\n```sh\n$ npx react-native init MyRnProject --template react-native-template-typescript@latest\n```\n\nopen the project on vscode using the command below\n```sh\n$ code MyRnProject\n```\n![app](./assets/vscode.png)\n\nInstall the packages below\n```sh\n$ npm install react-navigation\n$ npm install react-native-gesture-handler\n$ npm install react-native-reanimated\n$ npm install react-native-screens\n$ npm install react-native-safe-area-context\n$ npm install react-navigation-stack\n$ npm install @react-native-community/masked-view\n```\nadditional configuration\n![app](./assets/ios-and-android-config.png)\n\n![app](./assets/android.png)\n\nTo run the app\n```sh\n$ npm run android\n```\nor\n```sh\n$ npm run ios\n```\n\n![app](./assets/app.png)\n\ncreate the directories and files below\n- app/auth/LoginScreen.tsx\n- app/navigation/root-navigation.tsx \n\nJust copy and paste the content of each file. Also edit the App.tsx\n\n![app](./assets/login.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmasterdevlin%2Freact-native-typescript-react-navigation-v4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebmasterdevlin%2Freact-native-typescript-react-navigation-v4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmasterdevlin%2Freact-native-typescript-react-navigation-v4/lists"}