This was created during our time as students at Code Chrysalis.
Tamamon is an interactive augmented reality game for collecting Tamamon that combines the best of Pokemon Go and Tamagotchi.
Tamamon allows you to interact with your Tamamon by feeding, playing and washing them. This will increase your in-game currency. If you leave a Tamamon for too long, your Tamamon's needs will increase, just like a real pet!
If you want to buy more Tamamon, head to the store and use your hard earned in-game currency to expand your collection.
Mary Sedarous
Asami Kamiya
Antonio Malacad
Daniel Reaney
In the root directory run the following in the terminal:
touch .env
Navigate to and fill the .env file with your API key:
API_KEY = your-API-key
Navigate to the /ios subdirectory and run the following code to open the project in Xcode:
cd ios
open ProjectName.xcworkspace/
Run the current build with Cmd + R
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install node
brew install watchman
npm install -g react-native-cli
npm install -g react-viro-cli
brew install ruby
gem install cocoapods
pod repo update
If a write permission error occurs, install Ruby in a separate PATH.
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
Verify that the current Ruby is in a different path (not /user/bin ruby
):
which ruby
Then retry installing CocoaPods.
yarn
./setup-ide.sh --ios
- Change platform to ios 13.1
- Comment out or delete
use frameworks!
- Replace
pod 'ViroKit', :path => '../node_modules/react-viro/ios/dist/ViroRenderer/'
with
pod 'ViroKit_static_lib', :path => '../node_modules/react-viro/ios/dist/ViroRenderer/static_lib'
cd ios
pod update
pod install
open <app-name>.xcworkspace
Do NOT add pod 'RNDeviceInfo' in the podfile. Instead, in Xcode go to the project navigator:
-
Right click Libraries
-
Add Files to [project name]
-
Go to node_modules/react-native-device-info/ios
-
Add the file
RNDeviceInfo.xcodeproj
-
In XCode, in the project navigator, select your project
-
Add the
libRNDeviceInfo.a
from the deviceinfo project to your project's Build Phases ➜ Link Binary With Libraries -
Click
.xcodeproj
file you added before in the project navigator and go the Build Settings tab. Make sure All is toggled on (instead of Basic) -
Look for Header Search Paths and make sure it contains both:
$(SRCROOT)/../react-native/React and $(SRCROOT)/../../React
Check that both have been marked as recursive
-
Clean the Build folder (Shift + Cmd + K), click Build and run your project (Cmd+R)
Similar to manually linking React Native Device Info, follow the same process but for Splash Screen.
-
Navigate to node_modules/react-native-splash-screen/ios and add
SplashScreen.xcodeproj
-
In the project navigator add
libSplashScreen.a
-
Add the following line to the Header Search Path in the Target project:
$(SRCROOT)/../node_modules/react-native-splash-screen/ios
-
Clean the Build folder (Shift + Cmd + K), click Build and run your project (Cmd+R)