Skip to content

Commit

Permalink
Merge pull request #70 from IDEMSInternational/config/rtl-language
Browse files Browse the repository at this point in the history
Update config for RTL language
  • Loading branch information
esmeetewinkel authored May 23, 2024
2 parents 26325a2 + edcf1fd commit 75f41e4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { generateDeploymentConfig, loadEncryptedConfig} from "scripts";
import { generateDeploymentConfig, loadEncryptedConfig } from "scripts";
import { SKINS } from "./skins";

const config = generateDeploymentConfig("debug");
Expand Down Expand Up @@ -27,12 +27,12 @@ config.app_config.ASSET_PACKS = {
// TODO - should supabase match general config and additional settings

const supabaseConfig = loadEncryptedConfig("supabaseConfig.json");
config.supabase = { ...supabaseConfig, enabled: supabaseConfig ? true : false };
config.supabase = { ...supabaseConfig, enabled: supabaseConfig ? true : false };

config.firebase = {
config: loadEncryptedConfig('firebase.json'),
auth:{enabled:true},
crashlytics:{enabled:true}
auth: { enabled: true },
crashlytics: { enabled: true }
}

config.error_logging = {
Expand Down Expand Up @@ -76,4 +76,6 @@ config.app_config.APP_UPDATES.completeUpdateTemplate = "app_update_complete"
config.app_config.APP_AUTHENTICATION_DEFAULTS.enforceLogin = false
config.app_config.APP_AUTHENTICATION_DEFAULTS.signInTemplate = "example_google_auth"

config.app_config.APP_LANGUAGES_META = { en_rtl: { rtl: true } }

export default config;

0 comments on commit 75f41e4

Please sign in to comment.