Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .bundle/config

This file was deleted.

7 changes: 7 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"permissions": {
"allow": [
"Bash(npm view:*)"
]
}
}
4 changes: 0 additions & 4 deletions .eslintrc

This file was deleted.

59 changes: 20 additions & 39 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# OSX
#
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
Expand All @@ -21,61 +19,44 @@ DerivedData
*.ipa
*.xcuserstate
project.xcworkspace
ios/.xcode.env.local

# Android/IntelliJ
#
build/
release/
.idea
.gradle
local.properties
*.iml
*.hprof

# node.js
#
node_modules/
npm-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
*.keystore

# Bundle artifact
# Bundle artifacts
*.jsbundle
*.aab

# Fastlane
/vendor/bundle/
ios/*.mobileprovision
ios/*.cer
ios/Matchimals.app.dSYM.zip
**/fastlane/report.xml
**/fastlane/Preview.html
**/fastlane/screenshots
**/fastlane/test_output
*.p8
fastlane-api-key.json
# Expo
.expo/
dist/
ios/
android/
web-build/

# EAS
.eas/

# Environment
.env
.env.local
.env.*.local

# Ruby / CocoaPods
# CocoaPods
**/Pods/
/vendor/bundle/

# Temporary files created by Metro to check the health of the file watcher

# Metro
.metro-health-check*
# testing

# Testing
/coverage

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
!.yarn/versions
10 changes: 0 additions & 10 deletions .lintstagedrc

This file was deleted.

1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

1 change: 0 additions & 1 deletion .watchmanconfig

This file was deleted.

894 changes: 0 additions & 894 deletions .yarn/releases/yarn-4.3.1.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.3.1.cjs
29 changes: 29 additions & 0 deletions App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { useCallback } from "react";
import { View } from "react-native";
import * as SplashScreen from "expo-splash-screen";
import { useFonts } from "expo-font";
import App from "./src/App";

SplashScreen.preventAutoHideAsync();

export default function RootApp() {
const [fontsLoaded] = useFonts({
Dimbo: require("./assets/fonts/Dimbo.ttf"),
});

const onLayoutRootView = useCallback(async () => {
if (fontsLoaded) {
await SplashScreen.hideAsync();
}
}, [fontsLoaded]);

if (!fontsLoaded) {
return null;
}

return (
<View style={{ flex: 1 }} onLayout={onLayoutRootView}>
<App />
</View>
);
}
9 changes: 0 additions & 9 deletions Gemfile

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ If you have never worked on a native app before- you'll need to follow the direc
Once you've configured your machine for React-Native development- getting the Matchimals.fun app to build should only require a few steps:

1. Fork the repo
1. Install dependencies (`yarn` or `npm i`)
1. Run the metro bundler: `yarn start`
1. In a separate terminal- run the emulator: `yarn run ios`
1. Install dependencies (`npm i`)
1. Run the metro bundler: `npm start`
1. Run the metro bundler + emulator: `npm run ios`

## Special thanks

Expand Down
46 changes: 46 additions & 0 deletions app.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
export default {
expo: {
name: "Matchimals",
slug: "matchimals",
owner: "chrisheninger",
version: "1.0.0",
orientation: "default",
icon: "./assets/app-icons/Icon-App-1024x1024.png",
userInterfaceStyle: "light",
newArchEnabled: true,
splash: {
image: "./assets/splash-icon.png",
resizeMode: "contain",
backgroundColor: "#ffffff",
},
ios: {
bundleIdentifier: "native.matchimals.fun",
buildNumber: "1",
supportsTablet: true,
requireFullScreen: false,
config: {
usesNonExemptEncryption: false,
},
infoPlist: {
UIStatusBarHidden: true,
UIViewControllerBasedStatusBarAppearance: false,
UISupportedInterfaceOrientations: [
"UIInterfaceOrientationPortrait",
"UIInterfaceOrientationPortraitUpsideDown",
"UIInterfaceOrientationLandscapeLeft",
"UIInterfaceOrientationLandscapeRight",
],
},
},
web: {
bundler: "metro",
favicon: "./assets/favicon.png",
},
plugins: ["expo-font", "expo-audio"],
extra: {
eas: {
projectId: "3ec2f1f1-6b38-475d-8aee-baeae6832cfe",
},
},
},
};
4 changes: 0 additions & 4 deletions app.json

This file was deleted.

Binary file added assets/adaptive-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/audio/background-music.mp4
Binary file not shown.
Binary file added assets/audio/sound-effect-1.mp4
Binary file not shown.
Binary file added assets/audio/sound-effect-2.mp4
Binary file not shown.
Binary file added assets/audio/sound-effect-3.mp4
Binary file not shown.
Binary file added assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/splash-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions babel.config.js

This file was deleted.

32 changes: 32 additions & 0 deletions eas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"cli": {
"version": ">= 3.0.0"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal",
"ios": {
"simulator": true
}
},
"preview": {
"distribution": "internal",
"ios": {
"resourceClass": "m-medium"
}
},
"production": {
"ios": {
"resourceClass": "m-medium"
}
}
},
"submit": {
"production": {
"ios": {
"appleTeamId": "22ZH5U6APW"
}
}
}
}
10 changes: 8 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
// `react-native start` doesn't allow us to pass an entry-point, so we'll just do this.
import "./src/index.js";
import { registerRootComponent } from 'expo';

import App from './App';

// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
registerRootComponent(App);
10 changes: 0 additions & 10 deletions ios/.xcode.env

This file was deleted.

3 changes: 0 additions & 3 deletions ios/Gemfile

This file was deleted.

Loading