From bebe311a01f230798522542571cee1491ffcd257 Mon Sep 17 00:00:00 2001 From: Kyra Assaad <11729241+KyraAssaad@users.noreply.github.com> Date: Wed, 11 Sep 2024 15:05:11 -0400 Subject: [PATCH] Fixed slug and android package name (#51) * Add certs, fix slug and android package name * Change from dev to prod datawallet.inrupt.com * Remove WRITE_EXTERNAL_STORAGE Pete said we had decided earlier that we don't need it. Dunno how it got in there. * lint I am not a developer :sob: --------- Co-authored-by: Pete Edwards --- .gitignore | 2 ++ app.config.ts | 4 ++-- eas.json | 20 ++++++++++++++------ 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index e79b567..04bf232 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,8 @@ npm-debug.* web-build/ .idea .vscode/ +ios/certs/* +credentials.json # macOS .DS_Store diff --git a/app.config.ts b/app.config.ts index 050dfc5..b579f06 100644 --- a/app.config.ts +++ b/app.config.ts @@ -51,7 +51,7 @@ if (process.env.EAS_BUILD === "true") { const baseConfig: ExpoConfig = { name: "inrupt-data-wallet", - slug: "inrupt-data-wallet", + slug: "inrupt-data-wallet-frontend", version: "1.0.0", orientation: "portrait", icon: "./assets/images/logo.png", @@ -71,7 +71,7 @@ const baseConfig: ExpoConfig = { foregroundImage: "./assets/images/adaptive-icon.png", backgroundColor: "#ffffff", }, - package: "com.inrupt.inrupt-data-wallet", + package: "com.inrupt.inrupt_data_wallet", permissions: ["android.permission.CAMERA"], blockedPermissions: [ "android.permission.RECORD_AUDIO", diff --git a/eas.json b/eas.json index 89b90ee..79a0447 100644 --- a/eas.json +++ b/eas.json @@ -9,22 +9,30 @@ "developmentClient": true, "distribution": "internal", "env": { - "EXPO_PUBLIC_LOGIN_URL" : "https://datawallet.dev.inrupt.com/oauth2/authorization/wallet-app", - "EXPO_PUBLIC_WALLET_API": "https://datawallet.dev.inrupt.com" + "EXPO_PUBLIC_LOGIN_URL" : "https://datawallet.inrupt.com/oauth2/authorization/wallet-app", + "EXPO_PUBLIC_WALLET_API": "https://datawallet.inrupt.com" } }, "preview": { "distribution": "internal", "env": { - "EXPO_PUBLIC_LOGIN_URL" : "https://datawallet.dev.inrupt.com/oauth2/authorization/wallet-app", - "EXPO_PUBLIC_WALLET_API": "https://datawallet.dev.inrupt.com" + "EXPO_PUBLIC_LOGIN_URL" : "https://datawallet.inrupt.com/oauth2/authorization/wallet-app", + "EXPO_PUBLIC_WALLET_API": "https://datawallet.inrupt.com" } }, + "preview-ios": { + "distribution": "internal", + "env": { + "EXPO_PUBLIC_LOGIN_URL" : "https://datawallet.inrupt.com/oauth2/authorization/wallet-app", + "EXPO_PUBLIC_WALLET_API": "https://datawallet.inrupt.com" + }, + "credentialsSource": "local" + }, "production": { "autoIncrement": true, "env": { - "EXPO_PUBLIC_LOGIN_URL" : "https://datawallet.dev.inrupt.com/oauth2/authorization/wallet-app", - "EXPO_PUBLIC_WALLET_API": "https://datawallet.dev.inrupt.com" + "EXPO_PUBLIC_LOGIN_URL" : "https://datawallet.inrupt.com/oauth2/authorization/wallet-app", + "EXPO_PUBLIC_WALLET_API": "https://datawallet.inrupt.com" } } },