{"id":18211983,"url":"https://github.com/pedroaugustoramalhoduarte/inertia-native","last_synced_at":"2026-02-28T22:03:10.375Z","repository":{"id":250949956,"uuid":"835950831","full_name":"PedroAugustoRamalhoDuarte/inertia-native","owner":"PedroAugustoRamalhoDuarte","description":"POC with Inertia + Rails + React Native","archived":false,"fork":false,"pushed_at":"2024-11-03T12:18:09.000Z","size":962,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-17T22:04:06.173Z","etag":null,"topics":["expo","inertiajs","rails","react-native"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/PedroAugustoRamalhoDuarte.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-30T21:16:52.000Z","updated_at":"2025-10-12T17:50:29.000Z","dependencies_parsed_at":"2024-08-06T21:35:18.601Z","dependency_job_id":"947a1cdb-c632-462e-8b9c-8d0a96e6a22e","html_url":"https://github.com/PedroAugustoRamalhoDuarte/inertia-native","commit_stats":{"total_commits":39,"total_committers":2,"mean_commits":19.5,"dds":0.02564102564102566,"last_synced_commit":"f8aae465844a82a171f96d56d60c6734880e5047"},"previous_names":["pedroaugustoramalhoduarte/inertia-native"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PedroAugustoRamalhoDuarte/inertia-native","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroAugustoRamalhoDuarte%2Finertia-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroAugustoRamalhoDuarte%2Finertia-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroAugustoRamalhoDuarte%2Finertia-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroAugustoRamalhoDuarte%2Finertia-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PedroAugustoRamalhoDuarte","download_url":"https://codeload.github.com/PedroAugustoRamalhoDuarte/inertia-native/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroAugustoRamalhoDuarte%2Finertia-native/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29953212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["expo","inertiajs","rails","react-native"],"created_at":"2024-11-03T15:04:16.164Z","updated_at":"2026-02-28T22:03:08.605Z","avatar_url":"https://github.com/PedroAugustoRamalhoDuarte.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inertia + React Native\n\n\u003e This repo is a work in progress to make Inertia play nice with React Native. Something like Hotwired Native for\n\u003e Inertia\n\nThis repo will show you how to use Inertia with React Native.\n\nIn SwitchDreams stack we use this awesome tool called `Inertia` and our goal is to integrate our web application into a\nwebview with React Native and make it more native like.\n\n## Rails Application\n\nThe Rails application is a default Rails + Inertia with React application\n\n## How to RUN?\n\n- Install dependencies from your rails app and react native inside mobile folder\n- Run you rails app in root folder with: `foreman start -f Procfile.dev`\n- Changes your URL to you PC ip inside `mobile/webScreen` file\n- Run your expo react native app inside mobile folder with: `yarn start`\n\n## Native -\u003e React Native\n\n\u003e The first attempt was to use Turbo Native with react-native-turbo package, but for Turbo work we need to hack a\n\u003e little bit the JS bridge between Native and Turbo JS. But we are not using turbo js, so the hack is a little bit\n\u003e bigger, we can accomplish that but maybe is too much work on it, more info in docs.\n\nFor native mobile we are using React Native with this following packages:\n\n- [React Native Web Screen](https://github.com/software-mansion-labs/react-native-turbo-demo/tree/main/packages/navigation):\n  The goal of this package it to allow you to render web views as if they were real native screens, caching the results\n  and providing native animation between screens.\n- [React Navigation]\n- [React Native WebView]\n- [Expo]\n\nThe principal idea is to customize the react-native-webview to listen to Inertia router events and render one Webview\nfor each\nprincipal Screen of you Website and one Webview to Fallback.\n\nAlso we can mix between Native Screen and Web Screens.\n\nActually the demo APP uses Stack Router, but in the feature we want to support Tab Navigation too.\n\n### TODO List\n\n- Improves reload page after create something (Important)\n- Post demo vídeo in README.md","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedroaugustoramalhoduarte%2Finertia-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedroaugustoramalhoduarte%2Finertia-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedroaugustoramalhoduarte%2Finertia-native/lists"}