Overview:
HackerBuzz-ReactNative is a side project aimed at understanding the React Native workflow by creating a Hacker News reader using Y Combinator’s API. The app is available for both iOS and Android platforms and incorporates features like displaying advertisements, testing functionalities, and future work enhancements.
Features:
- Hacker News Reader: Utilizes Y Combinator’s API to display Hacker News stories.
- Advertisement Display: Shows advertisements every 20 stories using the Facebook Audience Network.
- Testing Capabilities: Includes tests for actions and reducers within the project.
Installation:
To install the HackerBuzz-ReactNative theme, follow these steps:
- Clone the repository:
$ cd HackerBuzz-ReactNative - Run either yarn install or npm install:
$ yarn install - For iOS:
- Install cocoapods:
$ sudo gem install cocoapods $ pod install - Open HackerBuzz.xcworkspace and modify jsCodeLocation in AppDelegate.m.
- Ensure proper setup for displaying ads from the Facebook Audience Network.
- Install cocoapods:
- For Android:
- Build the Android project.
- Add the Facebook SDK to the project following specific instructions.
- Modify PLACEMENT_ID in RNTNativeAdManager.java.
Summary:
HackerBuzz-ReactNative is a project developed for learning purposes, focusing on creating a Hacker News reader app with additional features like displaying ads and testing functionalities. The theme offers installation instructions for both iOS and Android platforms, enabling users to set up the project effectively.