{"id":17053139,"url":"https://github.com/bschwind/earthquakes","last_synced_at":"2025-08-28T12:05:34.473Z","repository":{"id":140637123,"uuid":"87318876","full_name":"bschwind/earthquakes","owner":"bschwind","description":"A simple earthquake listing app to show off ClojureScript + React Native","archived":false,"fork":false,"pushed_at":"2018-03-01T12:55:53.000Z","size":949,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-22T10:24:10.783Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","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/bschwind.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":"2017-04-05T14:26:10.000Z","updated_at":"2024-04-01T08:38:55.000Z","dependencies_parsed_at":"2023-07-11T01:15:52.553Z","dependency_job_id":null,"html_url":"https://github.com/bschwind/earthquakes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bschwind/earthquakes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bschwind%2Fearthquakes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bschwind%2Fearthquakes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bschwind%2Fearthquakes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bschwind%2Fearthquakes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bschwind","download_url":"https://codeload.github.com/bschwind/earthquakes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bschwind%2Fearthquakes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272495600,"owners_count":24944349,"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-28T02:00:10.768Z","response_time":74,"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":[],"created_at":"2024-10-14T10:11:26.164Z","updated_at":"2025-08-28T12:05:34.403Z","avatar_url":"https://github.com/bschwind.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Earthquakes\n\nAn app to display recent earthquake information on a map, implemented with Re-Natal, a react-native wrapper for ClojureScript.\n\nInitialize Project\n------------------\n\n```\nre-natal init earthquakes -i reagent6\ncd earthquakes\n```\n\n## Adding npm libraries\n\n* Add the dependency to `package.json`\n* Add the npm module name to the `dependencies` array in `.re-natal`\n* Run `npm install \u0026\u0026 re-natal deps`\n* Restart the Figwheel server\n\n## Installing AirBnB's Map Component\n\n* Get some alcohol\n* `npm install react-native-maps --save` // I got version 0.14.0\n* react-native link react-native-maps\n* I had to manually edit `node_modules/react-native-maps/lib/ios/AirMaps.xcodeproj/project.pbxproj` and change all references from `RCTConvert+MapKit.m` to be `RCTConvert+AirMap.m`\n* Add the NPM module in the `dependencies` array in `.re-natal` as discussed above\n* Run `npm install \u0026\u0026 re-natal deps`\n* At one point I had to delete `node_modules/react-native-maps/.babelrc`, because the react packager couldn't transform the code properly, then I realized that wasn't the \"correct\" fix.\n* The \"correct way\" is apparently this:\n\n```\ncd ./node_modules/react-native-maps\nnpm install --save-dev babel-plugin-module-resolver\n```\n* open .babelrc and change module-resolver to babel-plugin-module-resolver\n* Drink\n\n\nInstall App on iOS Device\n-------------------------\n\nIn XCode, navigate to the project's general settings tab:\n\n* `open ios/earthquakes.xcodeproj/`\n* Click on the blue project icon in the file explorer\n* Select your \"team\" for code signing\n\n![iosCodeSigning.png](iosCodeSigning.png)\n\n* Press the Play button to run on your device/simulator\n\nInstall App on Android Device\n-----------------------------\n\n```\nreact-native run-android\n```\n\nRun\n---\n\n```\nadb reverse tcp:8081 tcp:8081\nadb reverse tcp:3449 tcp:3449\nre-natal use-ios-device real\nre-natal use-android-device real\nre-natal use-figwheel\nreact-native start --nonPersistent \u0026 # Run react-native packager in the background\nrlwrap lein figwheel ios android\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbschwind%2Fearthquakes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbschwind%2Fearthquakes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbschwind%2Fearthquakes/lists"}