├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitignore ├── .watchmanconfig ├── README.md ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── my-release-key.keystore │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── zhihunews │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── drawable-xxhdpi │ │ ├── account_avatar.png │ │ ├── comment_avatar.png │ │ ├── download.png │ │ ├── home.png │ │ ├── ic_back_white.png │ │ ├── ic_collect_white.png │ │ ├── ic_collected_white.png │ │ ├── ic_comment_white.png │ │ ├── ic_download_white.png │ │ ├── ic_favorite_orange_24dp.png │ │ ├── ic_favorite_white_24dp.png │ │ ├── ic_favorites_white.png │ │ ├── ic_logo.png │ │ ├── ic_menu_arrow.png │ │ ├── ic_menu_follow.png │ │ ├── ic_menu_white.png │ │ ├── ic_message_white.png │ │ ├── ic_more_white.png │ │ ├── ic_praise_white.png │ │ ├── ic_share_white.png │ │ ├── login.png │ │ ├── menu_home.png │ │ ├── placeholder.png │ │ ├── screen.jpeg │ │ ├── splash_logo.png │ │ ├── star_red.png │ │ └── star_white.png │ │ ├── drawable │ │ ├── splash.png │ │ └── user.jpg │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── keystores │ ├── BUCK │ └── debug.keystore.properties └── settings.gradle ├── api └── DataRepository.js ├── app-release.apk ├── component ├── FavoriteStoryView.js ├── MainView.js ├── SplashView.js ├── StoryDetailView.js ├── StoryListView.js └── ThemeListView.js ├── copy.log ├── index.android.js ├── index.ios.js ├── ios ├── ZhiHuNews.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ └── ZhiHuNews.xcscheme ├── ZhiHuNews │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── ZhiHuNewsTests │ ├── Info.plist │ └── ZhiHuNewsTests.m └── package.json /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/.buckconfig -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/.flowconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/.gitignore -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/README.md -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/BUCK -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/build.gradle -------------------------------------------------------------------------------- /android/app/my-release-key.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/my-release-key.keystore -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /android/app/src/main/java/com/zhihunews/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/java/com/zhihunews/MainActivity.java -------------------------------------------------------------------------------- /android/app/src/main/java/com/zhihunews/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/java/com/zhihunews/MainApplication.java -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/account_avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/account_avatar.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/comment_avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/comment_avatar.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/download.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/home.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_back_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_back_white.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_collect_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_collect_white.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_collected_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_collected_white.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_comment_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_comment_white.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_download_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_download_white.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_favorite_orange_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_favorite_orange_24dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_favorite_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_favorite_white_24dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_favorites_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_favorites_white.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_logo.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_menu_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_menu_arrow.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_menu_follow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_menu_follow.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_menu_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_menu_white.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_message_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_message_white.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_more_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_more_white.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_praise_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_praise_white.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_share_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_share_white.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/login.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/menu_home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/menu_home.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/placeholder.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/screen.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/screen.jpeg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/splash_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/splash_logo.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/star_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/star_red.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/star_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable-xxhdpi/star_white.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable/splash.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/user.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/drawable/user.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/build.gradle -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/gradle.properties -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/gradlew -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/gradlew.bat -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/keystores/BUCK -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/android/keystores/debug.keystore.properties -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'ZhiHuNews' 2 | 3 | include ':app' 4 | -------------------------------------------------------------------------------- /api/DataRepository.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/api/DataRepository.js -------------------------------------------------------------------------------- /app-release.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/app-release.apk -------------------------------------------------------------------------------- /component/FavoriteStoryView.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/component/FavoriteStoryView.js -------------------------------------------------------------------------------- /component/MainView.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/component/MainView.js -------------------------------------------------------------------------------- /component/SplashView.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/component/SplashView.js -------------------------------------------------------------------------------- /component/StoryDetailView.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/component/StoryDetailView.js -------------------------------------------------------------------------------- /component/StoryListView.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/component/StoryListView.js -------------------------------------------------------------------------------- /component/ThemeListView.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/component/ThemeListView.js -------------------------------------------------------------------------------- /copy.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/copy.log -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/index.android.js -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/index.ios.js -------------------------------------------------------------------------------- /ios/ZhiHuNews.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/ios/ZhiHuNews.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /ios/ZhiHuNews.xcodeproj/xcshareddata/xcschemes/ZhiHuNews.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/ios/ZhiHuNews.xcodeproj/xcshareddata/xcschemes/ZhiHuNews.xcscheme -------------------------------------------------------------------------------- /ios/ZhiHuNews/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/ios/ZhiHuNews/AppDelegate.h -------------------------------------------------------------------------------- /ios/ZhiHuNews/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/ios/ZhiHuNews/AppDelegate.m -------------------------------------------------------------------------------- /ios/ZhiHuNews/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/ios/ZhiHuNews/Base.lproj/LaunchScreen.xib -------------------------------------------------------------------------------- /ios/ZhiHuNews/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/ios/ZhiHuNews/Images.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /ios/ZhiHuNews/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/ios/ZhiHuNews/Info.plist -------------------------------------------------------------------------------- /ios/ZhiHuNews/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/ios/ZhiHuNews/main.m -------------------------------------------------------------------------------- /ios/ZhiHuNewsTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/ios/ZhiHuNewsTests/Info.plist -------------------------------------------------------------------------------- /ios/ZhiHuNewsTests/ZhiHuNewsTests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/ios/ZhiHuNewsTests/ZhiHuNewsTests.m -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubhaohao/ZhiHuNews-RN/HEAD/package.json --------------------------------------------------------------------------------