Skip to content

Commit 6d92353

Browse files
committed
Add iOS support for digital wallet issuing
1 parent 9057988 commit 6d92353

File tree

8 files changed

+291
-214
lines changed

8 files changed

+291
-214
lines changed

App.tsx

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import "expo-dev-client";
22

33
import * as Sentry from "@sentry/react-native";
4+
import { StripeProvider } from "@stripe/stripe-react-native";
45
import { useFonts } from "expo-font";
56
import { ShareIntentProvider as ExpoShareIntentProvider } from "expo-share-intent";
67
import { 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

app.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import appIcons from "./src/lib/AppIconList";
2-
const IS_DEV = process.env.EXPO_PUBLIC_APP_VARIANT === "development";
2+
const IS_DEV = false;
33

44
export 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
},

assets/google-wallet.png

4.44 KB
Loading

eas.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"cli": {
3-
"version": ">= 5.2.0",
3+
"version": ">= 16.19.1",
44
"appVersionSource": "remote"
55
},
66
"build": {
@@ -17,13 +17,13 @@
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
},

0 commit comments

Comments
 (0)