import { ApolloClient, HttpLink, InMemoryCache, ApolloProvider } from '@apollo/client'; import { StripeProvider } from '@stripe/stripe-react-native'; import Constants from 'expo-constants'; import * as Notifications from 'expo-notifications'; import { StatusBar } from 'expo-status-bar'; import React from 'react'; import { GestureHandlerRootView } from 'react-native-gesture-handler'; import { Provider } from 'react-redux'; import { PersistGate } from 'redux-persist/integration/react'; import 'expo-dev-client'; import AppInner from './AppInner'; import { useDeepLinking } from './hooks'; import { store, persistor } from './reduxStore'; // Configure notifications Notifications.setNotificationHandler({ handleNotification: async () => ({ shouldShowAlert: true, shouldPlaySound: true, shouldSetBadge: false, }), }); const apolloClient = new ApolloClient({ link: new HttpLink({ uri: `${process.env.EXPO_PUBLIC_DUSKEN_API_URL}/api/graphql/` }), cache: new InMemoryCache(), }); export default function App() { useDeepLinking(); return ( {/* FIXME: Read urlScheme and merchantIdentifier from .Config */} ); } /** YOLO */