-
Notifications
You must be signed in to change notification settings - Fork 892
Bail on animations for now, clean up some other stuff #862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| const path = require("node:path"); | ||
| require("dotenv").config({ | ||
| path: path.resolve(__dirname, "../../.env"), | ||
| override: true, | ||
| }); | ||
|
|
||
| module.exports = { | ||
| expo: { | ||
| name: "Superset", | ||
| slug: "superset", | ||
| version: "1.0.0", | ||
| orientation: "portrait", | ||
| icon: "./assets/icon.png", | ||
| userInterfaceStyle: "light", | ||
| newArchEnabled: true, | ||
| scheme: "superset", | ||
| splash: { | ||
| image: "./assets/splash-icon.png", | ||
| resizeMode: "contain", | ||
| backgroundColor: "#ffffff", | ||
| }, | ||
| ios: { | ||
| supportsTablet: true, | ||
| bundleIdentifier: "sh.superset.mobile", | ||
| infoPlist: { | ||
| ITSAppUsesNonExemptEncryption: false, | ||
| }, | ||
| }, | ||
| android: { | ||
| adaptiveIcon: { | ||
| foregroundImage: "./assets/adaptive-icon.png", | ||
| backgroundColor: "#ffffff", | ||
| }, | ||
| package: "sh.superset.mobile", | ||
| edgeToEdgeEnabled: true, | ||
| predictiveBackGestureEnabled: false, | ||
| }, | ||
| web: { | ||
| favicon: "./assets/favicon.png", | ||
| bundler: "metro", | ||
| }, | ||
| plugins: ["expo-router"], | ||
| extra: { | ||
| router: {}, | ||
| eas: { | ||
| projectId: "fa9332a8-896a-4d2a-be5b-d82469b46e5d", | ||
| }, | ||
| }, | ||
| owner: "supserset-sh", | ||
| }, | ||
| }; | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| import path from "node:path"; | ||
| import { config } from "dotenv"; | ||
| import type { ConfigContext, ExpoConfig } from "expo/config"; | ||
|
|
||
| // Load .env file | ||
| config({ | ||
| path: path.resolve(__dirname, "../../.env"), | ||
| override: true, | ||
| }); | ||
|
|
||
| export default ({ config }: ConfigContext): ExpoConfig => ({ | ||
| ...config, | ||
| name: "Superset", | ||
| slug: "superset", | ||
| version: "1.0.0", | ||
| orientation: "portrait", | ||
| icon: "./assets/icon.png", | ||
| userInterfaceStyle: "light", | ||
| newArchEnabled: true, | ||
| scheme: "superset", | ||
| splash: { | ||
| image: "./assets/splash-icon.png", | ||
| resizeMode: "contain", | ||
| backgroundColor: "#ffffff", | ||
| }, | ||
| ios: { | ||
| supportsTablet: true, | ||
| bundleIdentifier: "sh.superset.mobile", | ||
| infoPlist: { | ||
| ITSAppUsesNonExemptEncryption: false, | ||
| }, | ||
| }, | ||
| android: { | ||
| adaptiveIcon: { | ||
| foregroundImage: "./assets/adaptive-icon.png", | ||
| backgroundColor: "#ffffff", | ||
| }, | ||
| package: "sh.superset.mobile", | ||
| edgeToEdgeEnabled: true, | ||
| predictiveBackGestureEnabled: false, | ||
| }, | ||
| web: { | ||
| favicon: "./assets/favicon.png", | ||
| bundler: "metro", | ||
| }, | ||
| plugins: ["expo-router"], | ||
| extra: { | ||
| router: {}, | ||
| eas: { | ||
| projectId: "fa9332a8-896a-4d2a-be5b-d82469b46e5d", | ||
| }, | ||
| }, | ||
| owner: "supserset-sh", | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,10 @@ | ||
| import { expoClient } from "@better-auth/expo/client"; | ||
| import { createAuthClient } from "better-auth/react"; | ||
| import * as SecureStore from "expo-secure-store"; | ||
|
|
||
| import { getBaseUrl } from "../base-url"; | ||
|
|
||
| const BASE_URL = getBaseUrl(); | ||
| import { env } from "../env"; | ||
|
|
||
| export const authClient = createAuthClient({ | ||
| baseURL: BASE_URL, | ||
| baseURL: env.EXPO_PUBLIC_API_URL, | ||
|
Comment on lines
+4
to
+7
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: # Find env.ts in apps/mobile
find apps/mobile -name "env.ts" -o -name "env.js" -o -name "env.tsx"Repository: superset-sh/superset Length of output: 86 🏁 Script executed: # Check the current content of apps/mobile/lib/auth/client.ts
cat apps/mobile/lib/auth/client.tsRepository: superset-sh/superset Length of output: 520 🏁 Script executed: # Look for base-url.ts to understand the old implementation
find . -name "base-url.ts" -o -name "base-url.js"Repository: superset-sh/superset Length of output: 46 🏁 Script executed: # Check git history to see what was removed (focusing on base-url)
git log --all --full-history -p -- "**/base-url.ts" | head -100Repository: superset-sh/superset Length of output: 2066 🏁 Script executed: # View the env.ts file to see z.url() implementation
cat apps/mobile/lib/env.tsRepository: superset-sh/superset Length of output: 791 🏁 Script executed: # Check if base-url.ts currently exists
ls -la apps/mobile/lib/base-url.ts 2>&1Repository: superset-sh/superset Length of output: 138 🏁 Script executed: # More comprehensive git history for base-url.ts (show all changes)
git log --all --oneline -- "apps/mobile/lib/base-url.ts" | head -20Repository: superset-sh/superset Length of output: 124 🏁 Script executed: # Check git status and recent removals in this directory
git log --all --oneline -- "apps/mobile/lib/" | head -30Repository: superset-sh/superset Length of output: 136 🏁 Script executed: # Check the most recent state - see if base-url.ts was removed in a later commit
git log --all -p -- "apps/mobile/lib/base-url.ts" | head -200Repository: superset-sh/superset Length of output: 2066 🏁 Script executed: # Look for recent commits that might have removed it
git log --all --oneline -20Repository: superset-sh/superset Length of output: 136 🏁 Script executed: # Check what files are in apps/mobile/lib/
ls -la apps/mobile/lib/Repository: superset-sh/superset Length of output: 401 🏁 Script executed: # Check what commit e699cc7 did - specifically what it removed
git show e699cc7 --statRepository: superset-sh/superset Length of output: 50376 🏁 Script executed: # Get the full diff for e699cc7 to see if it removed base-url.ts
git show e699cc7Repository: superset-sh/superset Length of output: 50380 🏁 Script executed: # Search the entire codebase for trailing slash normalization patterns
rg 'replace.*/$' apps/mobile/ --type ts --type tsxRepository: superset-sh/superset Length of output: 91 🏁 Script executed: # Also check for slash normalization in different ways
rg 'trailing|slash.*replace|normalize.*url' apps/mobile/ --type ts --type tsx -iRepository: superset-sh/superset Length of output: 91 🌐 Web query:
💡 Result: Short answer — better-auth expects a normalized baseURL (no trailing path slash) and can be confused by double-slashes coming from baseURL + basePath or from un-normalized incoming requests; set BETTER_AUTH_URL / baseURL without a trailing slash, set basePath starting with a single leading slash, and ensure your proxy/host normalizes or forwards correct host/proto headers. Also upgrade to a fixed release (1.4.2+ and 1.4.5+ for later rou3 fixes) because older versions had baseURL/double-slash-related issues. [1][2][3] Practical checklist
Sources
Ensure baseURL doesn't have trailing slash to avoid better-auth issues. The Either:
🤖 Prompt for AI Agents |
||
| plugins: [ | ||
| expoClient({ | ||
| scheme: "superset", | ||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,10 @@ | ||
| // NOTE: This file is generated by uniwind and it should not be edited manually. | ||
| /// <reference types="uniwind/types" /> | ||
|
|
||
| declare module "uniwind" { | ||
| export interface UniwindConfig { | ||
| themes: readonly ["light", "dark"]; | ||
| } | ||
| declare module 'uniwind' { | ||
| export interface UniwindConfig { | ||
| themes: readonly ['light', 'dark'] | ||
| } | ||
| } | ||
|
|
||
| export {}; | ||
| export {} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in
ownerfield.The owner is set to
"supserset-sh"but based on the repository organization (superset-sh/superset), this should likely be"superset-sh". This typo would cause EAS builds and updates to fail or target the wrong project.🐛 Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents