Skip to content
Open
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
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/icc-eliminator-submission.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions NFTVerse/MobileApp/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
REACT_APP_URL_BLOCKCHAIN_SERVICE=https://bs-dev.api.onnftverse.com/v1
REACT_APP_URL_MARKETPLACE_SERVICE=https://ms-dev.api.onnftverse.com/v1
REACT_APP_URL_NFTVERSE_ASSETS=https://nftverse-assets-dev.s3.ap-south-1.amazonaws.com
REACT_APP_NFTVERSE_DEV_API=https://us-dev.api.onnftverse.com/v1
REACT_APP_MARKETPLACE_DOMAIN=.dev.onnftverse.com
REACT_APP_GATEWAY_IPFS=https://nftverse-dev.mypinata.cloud/ipfs
REACT_APP_FILE_UPLOAD=https://ms-dev.api.onnftverse.com/v1
REACT_APP_X_APP_TOKEN=123
REACT_APP_TAIL_COIN_TOKEN=153907680
REACT_APP_ALGORAND_TRANSACTION=https://testnet-idx.algonode.cloud/v2/accounts/
REACT_APP_GATEWAY_ALGOEXPLORER=https://testnet.algoexplorer.io/tx/
REACT_APP_ALGOEXPLORER_ADDRESS = https://testnet.algoexplorer.io/address/
REACT_APP_NFT_REACT_APP_FILE_UPLOAD=https://bs-dev.api.onnftverse.com/v1
17 changes: 17 additions & 0 deletions NFTVerse/MobileApp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
node_modules/
.expo/
dist/
npm-debug.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision
*.orig.*
web-build/

# macOS
.DS_Store

# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*
3 changes: 3 additions & 0 deletions NFTVerse/MobileApp/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}
106 changes: 106 additions & 0 deletions NFTVerse/MobileApp/App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import { StatusBar } from "expo-status-bar";
import { Provider, useSelector } from "react-redux";
import { PersistGate } from "redux-persist/integration/react";
import Header from "./components/authorized-view/Header";
import ProfileOptions from "./components/authorized-view/profile/ProfileOptions";
import JoinContest from "./components/Pages/JoinContest";
import LiveMatch from "./components/Pages/LiveMatch";
import ThrowCard from "./components/Pages/ThrowCard";
import SpinTheWheel from "./components/SpinTheWheel/SpinTheWheel";
import AuthLanding from "./screens/AuthLanding";
import AuthorizedView from "./screens/AuthorizedView";
import EmailAuth from "./screens/EmailAuth";
import Onboarding from "./screens/Onboarding";
import SubmitOTP from "./screens/SubmitOTP";
import store, { persistor } from "./store/store";


<script src="http://localhost:8097"></script>
//react-devtools
export default function App() {



return (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<NavigationContainer>
<StatusBar barStyle="light-content" />
<RootStack />
</NavigationContainer>
</PersistGate>
</Provider>
);
}

const RootStack = () => {
const isLoggedIn = useSelector((state) => state.app.isLoggedIn);
const Stack = createNativeStackNavigator();
const appCtx = useSelector((state) => state.app);

return (
<Stack.Navigator>
{!isLoggedIn ? (
<>
{/* <Stack.Screen options={{ headerShown: false }} name="Onboarding" component={Onboarding} /> */}
<Stack.Screen
options={{ headerShown: false, animation: 'slide_from_bottom' }}
name="AuthLanding"
component={AuthLanding}
/>
<Stack.Screen
options={{ headerShown: false, animation: 'fade_from_bottom' }}
name="EmailAuth"
component={EmailAuth}
/>
<Stack.Screen
options={{ headerShown: false, animation: 'flip' }}
name="SubmitOTP"
component={SubmitOTP}
/>
{/* <Stack.Screen
options={{ headerShown: true,headerTitle:'Terms of Service', animation: 'fade_from_bottom' }}
name="TAC"
component={TAC}
/>
<Stack.Screen
options={{ headerShown: true, animation: 'fade_from_bottom' }}
name="PrivacyPolicy"
component={PrivacyPolicy}
/> */}
</>
) : (
<>
<Stack.Screen name="AuthorizedView" options={{ headerShown: false }} component={AuthorizedView} />
<Stack.Screen
options={{ headerShown: true, animation: 'slide_from_right', headerTitle: 'Profile Options' }}
name="ProfileOptions"
component={ProfileOptions}
/>
<Stack.Screen
options={{ headerShown: true, animation: 'slide_from_right', header: () => <Header /> }}
name="JoinContest"
component={JoinContest}
/>
<Stack.Screen
options={{ headerShown: true, animation: 'slide_from_right', header: () => <Header /> }}
name="LiveMatch"
component={LiveMatch}
/>
<Stack.Screen
options={{ headerShown: true, animation: 'slide_from_right', header: () => <Header /> }}
name="ThrowCard"
component={ThrowCard}
/>
<Stack.Screen
options={{ headerShown: true, animation: 'slide_from_bottom', header: () => <Header /> }}
name="SpinTheWheel"
component={SpinTheWheel}
/>
</>
)}
</Stack.Navigator>
);
};
15 changes: 15 additions & 0 deletions NFTVerse/MobileApp/android/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# OSX
#
.DS_Store

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

# Bundle artifacts
*.jsbundle
Loading