feat(cli): upgrade to expo 54 (#574)

This commit is contained in:
Aman Varshney
2025-09-12 00:11:41 +05:30
committed by GitHub
parent 0bfb3cfda0
commit 09482029c5
68 changed files with 491 additions and 579 deletions

View File

@@ -16,7 +16,7 @@ export const auth = betterAuth({
trustedOrigins: [
process.env.CORS_ORIGIN || "",
{{#if (or (includes frontend "native-nativewind") (includes frontend "native-unistyles"))}}
"my-better-t-app://",
"mybettertapp://", "exp://"
{{/if}}
],
emailAndPassword: {
@@ -55,7 +55,7 @@ export const auth = betterAuth({
trustedOrigins: [
process.env.CORS_ORIGIN || "",
{{#if (or (includes frontend "native-nativewind") (includes frontend "native-unistyles"))}}
"my-better-t-app://",
"mybettertapp://", "exp://"
{{/if}}
],
emailAndPassword: {
@@ -124,7 +124,7 @@ export const auth = betterAuth({
trustedOrigins: [
process.env.CORS_ORIGIN || "",
{{#if (or (includes frontend "native-nativewind") (includes frontend "native-unistyles"))}}
"my-better-t-app://",
"mybettertapp://", "exp://"
{{/if}}
],
emailAndPassword: {
@@ -154,7 +154,7 @@ export const auth = betterAuth({
trustedOrigins: [
process.env.CORS_ORIGIN || "",
{{#if (or (includes frontend "native-nativewind") (includes frontend "native-unistyles"))}}
"my-better-t-app://",
"mybettertapp://", "exp://"
{{/if}}
],
emailAndPassword: {
@@ -171,4 +171,4 @@ export const auth = betterAuth({
, plugins: [expo()]
{{/if}}
});
{{/if}}
{{/if}}