{"id":16577432,"url":"https://github.com/atjiu/itnews-react-native","last_synced_at":"2025-03-23T14:31:05.181Z","repository":{"id":144247743,"uuid":"99298503","full_name":"atjiu/ITNews-React-Native","owner":"atjiu","description":"IT资讯APP，使用React Native编写","archived":false,"fork":false,"pushed_at":"2018-02-08T02:18:07.000Z","size":11299,"stargazers_count":32,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T21:06:21.648Z","etag":null,"topics":["react-native"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/atjiu.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-08-04T03:20:21.000Z","updated_at":"2022-05-23T09:24:04.000Z","dependencies_parsed_at":"2023-05-29T05:45:09.309Z","dependency_job_id":null,"html_url":"https://github.com/atjiu/ITNews-React-Native","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atjiu%2FITNews-React-Native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atjiu%2FITNews-React-Native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atjiu%2FITNews-React-Native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atjiu%2FITNews-React-Native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atjiu","download_url":"https://codeload.github.com/atjiu/ITNews-React-Native/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245115682,"owners_count":20563209,"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":["react-native"],"created_at":"2024-10-11T22:10:51.402Z","updated_at":"2025-03-23T14:31:05.169Z","avatar_url":"https://github.com/atjiu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ITNews\n\nIT资讯APP，使用React Native编写\n\n功能非常简单: 列表（listview）+ 详情（webview）+ 分享功能\n\n## 使用到的组件\n\n- react-navigation StackNavigator\n- react-native-webview2\n- react-native-vector-icons\n- cheerio-without-node-native\n\n## 开始\n\n- clone 本项目\n- 安装package `yarn install`\n- 运行 `react-native link` 把字体安装到ios/android里去\n- 运行在模拟器里 `react-native run-ios` or `react-native run-android` （其中run-android要保证电脑上启动了一个Android模拟器，或者手机连接到电脑上了）\n\n**注意：安卓运行要在android文件夹下创建一个local.properties文件，里面写上`sdk.dir=your android path`**\n\n## 下载\n\n没法打IOS的包，只提供了Android下的包，可以去 [Release](https://github.com/tomoya92/ITNews-React-Native/releases) 里去下载最新的APK\n\n- 推荐自己打包，`cd android \u0026 ./gradlew assembleRelease` 因为有时候更新了代码不能保证能及时打包\n- IOS用户可以使用XCODE打开 `ios/ITNews.xcodeproj` 文件，直接运行到自己的手机上就可以了\n\n**注意：Android打包之前要在 `~/.gradle` 下新建一个 `gradle.properties` 文件，里面配置一下证书信息**\n\n```properties\nMYAPP_RELEASE_STORE_FILE=your store file path\nMYAPP_RELEASE_KEY_ALIAS=your alias\nMYAPP_RELEASE_STORE_PASSWORD=your store password\nMYAPP_RELEASE_KEY_PASSWORD=your password\n```\n\n## 截图\n\n\u003cdiv style=\"display: flex; flex-direction: 'row'; justify-content: 'space-between'\"\u003e\n  \u003cimg src='./assets/4.png' width='375'\u003e\n  \u003cimg src='./assets/2.png' width='375'\u003e\n  \u003cimg src='./assets/3.png' width='375'\u003e\n\u003c/div\u003e\n\n## 开源协议\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatjiu%2Fitnews-react-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatjiu%2Fitnews-react-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatjiu%2Fitnews-react-native/lists"}