File tree Expand file tree Collapse file tree 8 files changed +291
-214
lines changed Expand file tree Collapse file tree 8 files changed +291
-214
lines changed Original file line number Diff line number Diff line change 11import "expo-dev-client" ;
22
33import * as Sentry from "@sentry/react-native" ;
4+ import { StripeProvider } from "@stripe/stripe-react-native" ;
45import { useFonts } from "expo-font" ;
56import { ShareIntentProvider as ExpoShareIntentProvider } from "expo-share-intent" ;
67import { useColorScheme } from "react-native" ;
@@ -43,19 +44,21 @@ function App() {
4344 }
4445
4546 return (
46- < ExpoShareIntentProvider >
47- < ThemeProvider >
48- < AuthProvider >
49- < ShareIntentProvider >
50- < LinkingProvider >
51- < CustomAlertProvider >
52- < AppContent scheme = { scheme } cache = { cache } />
53- </ CustomAlertProvider >
54- </ LinkingProvider >
55- </ ShareIntentProvider >
56- </ AuthProvider >
57- </ ThemeProvider >
58- </ ExpoShareIntentProvider >
47+ < StripeProvider publishableKey = { process . env . EXPO_PUBLIC_STRIPE_API_KEY } >
48+ < ExpoShareIntentProvider >
49+ < ThemeProvider >
50+ < AuthProvider >
51+ < ShareIntentProvider >
52+ < LinkingProvider >
53+ < CustomAlertProvider >
54+ < AppContent scheme = { scheme } cache = { cache } />
55+ </ CustomAlertProvider >
56+ </ LinkingProvider >
57+ </ ShareIntentProvider >
58+ </ AuthProvider >
59+ </ ThemeProvider >
60+ </ ExpoShareIntentProvider >
61+ </ StripeProvider >
5962 ) ;
6063}
6164
Original file line number Diff line number Diff line change 11import appIcons from "./src/lib/AppIconList" ;
2- const IS_DEV = process . env . EXPO_PUBLIC_APP_VARIANT === "development" ;
2+ const IS_DEV = false ;
33
44export default {
55 expo : {
@@ -26,6 +26,7 @@ export default {
2626 "applinks:bank.hackclub.com" ,
2727 ] ,
2828 entitlements : {
29+ "com.apple.developer.payment-pass-provisioning" : true ,
2930 "com.apple.developer.proximity-reader.payment.acceptance" : true ,
3031 } ,
3132 } ,
Original file line number Diff line number Diff line change 11{
22 "cli" : {
3- "version" : " >= 5.2.0 " ,
3+ "version" : " >= 16.19.1 " ,
44 "appVersionSource" : " remote"
55 },
66 "build" : {
1717 "channel" : " preview"
1818 },
1919 "production" : {
20- "env" : {
21- "EXPO_PUBLIC_API_BASE" : " https://hcb.hackclub.com/api/v4" ,
22- "EXPO_PUBLIC_CLIENT_ID" : " yt8JHmPDmmYYLUmoEiGtocYwg5fSOGCrcIY3G-vkMRs" ,
23- "EXPO_PUBLIC_STRIPE_API_KEY" : " pk_live_UAjIP1Kss29XZ6tW0MFWkjUQ" ,
24- "EXPO_PUBLIC_SENTRY_DSN" : " https://a805efb911be32fadcfe8609a2e709c7@o4509680631087104.ingest.us.sentry.io/4509724351594496" ,
25- "SENTRY_AUTH_TOKEN" : " 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 "
26- },
20+ // "env": {
21+ // "EXPO_PUBLIC_API_BASE": "https://hcb.hackclub.com/api/v4",
22+ // "EXPO_PUBLIC_CLIENT_ID": "yt8JHmPDmmYYLUmoEiGtocYwg5fSOGCrcIY3G-vkMRs",
23+ // "EXPO_PUBLIC_STRIPE_API_KEY": "pk_live_UAjIP1Kss29XZ6tW0MFWkjUQ",
24+ // "EXPO_PUBLIC_SENTRY_DSN": "https://a805efb911be32fadcfe8609a2e709c7@o4509680631087104.ingest.us.sentry.io/4509724351594496",
25+ // "SENTRY_AUTH_TOKEN": ""
26+ // },
2727 "android" : {
2828 "buildType" : " apk"
2929 },
You can’t perform that action at this time.
0 commit comments