Resell is an app that collects, filters, and compares different items that people want to resell in order to connect sellers with buyers and to facilitate resource utilization.
Resell is AppDev's first app built using React Native to support both iOS and Android platforms simultaneoulsy, reduce code duplication, and ensure consistency across platforms.
git clone https://github.com/cuappdev/resell-react-native.git
cd resell-react-native
For sign in, we are using React Native Google Sign In, which requires custom native code. Therefore you must build for Android or iOS.
- Add necessary environment varibles in
.env
, and add yourGoogleService-Info.plist
file to theconfig
folder. - Execute the following terminal commands:
yarn
cd ios
pod install
cd ../
npx expo run:ios
We are currently facing build issues for Android. Unfortunately we cannot just use Expo Go since this project uses React Native Google Sign In. We are going to prioritize iOS for now but when we get Android to consistently build this file will be updated.
If you are having issues after following the above steps, try checking the following:
- You have a
.env
in the root folder with all necessary environment variables, and you have theGoogleService-Info.plist
file in the config folder. - Make sure your
yarn.lock
is synced with version control, deletenode_modules
and runyarn
in the root folder. - Ensure that you have the pods installed by the following the provided steps.