Skip to content

Commit

Permalink
Added env file without my secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyAvraham committed May 31, 2020
1 parent f01749a commit 11a2f62
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 12,292 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ npm-debug.*
*.orig.*
web-build/
web-report/
env.*
app.json

.swp
.idea/**/**
# macOS
.DS_Store
31 changes: 31 additions & 0 deletions App.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import React from "react";
import { I18nManager } from 'react-native';

import AppNavigationStack from "./Components/navigation/AppNavigationStack";
import LoadAssets from "./Components/LoadAssets";
import { StateProvider } from "./Utils/State";
import { initialState, reducer } from "./Utils/Reducer";
import { NavigationContainer } from "@react-navigation/native";
import { Updates } from "expo";
import KBText from "./Components/KBText";

console.log('*** I18nManager.isRTL', I18nManager.isRTL);
I18nManager.forceRTL(false);
I18nManager.allowRTL(false);
if (I18nManager.isRTL){
Updates.reloadAsync();
}

function App() {
return (
<LoadAssets>
<StateProvider initialState={initialState} reducer={reducer}>
<NavigationContainer >
<AppNavigationStack />
</NavigationContainer>
</StateProvider>
</LoadAssets>
);
}

export default App;
7 changes: 3 additions & 4 deletions Config/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ const ENV = {
dev: {
apiUrl: "localhost",
auth0: {
auth0Domain: "auth.romach-dev.com",
auth0Domain: "",
passwordlessClient: {
client_id: "ZaaH4jbBvP85SUUyMjomo8pR8hPLSfUi",
allowedConnections: ["sms"],
client_id: "",
scope: "openid profile read:current_user update:current_user_identities",
audience: `https://dev-b6oppzho.eu.auth0.com/api/v2/`
audience: `https://XXXX.auth0.com/api/v2/`
},
}
},
Expand Down
Binary file modified assets/images/logo-large.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 11a2f62

Please sign in to comment.