This repository has been archived by the owner on Nov 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add camera qr view to replace manual invitation input
Signed-off-by: Karim Stekelenburg <karim@animo.id>
- Loading branch information
1 parent
1e7c3b5
commit 5516b20
Showing
13 changed files
with
137 additions
and
485 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
346 changes: 9 additions & 337 deletions
346
ios/AriesMobileAgentJavaScript.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
import { StyleService, useStyleSheet } from '@ui-kitten/components' | ||
import React from 'react' | ||
import { SafeAreaView } from 'react-native-safe-area-context' | ||
import { useAgent } from '../agent/AgentProvider' | ||
import { AppNavigator } from '../components' | ||
import { LoaderView } from './LoaderView' | ||
|
||
const RootView: React.FC = (): React.ReactElement => { | ||
const styles = useStyleSheet(themedStyles) | ||
|
||
const { loading } = useAgent() | ||
console.log(loading) | ||
|
||
return <>{loading ? <LoaderView /> : <AppNavigator />}</> | ||
return <SafeAreaView style={styles.safeAreaView}>{loading ? <LoaderView /> : <AppNavigator />}</SafeAreaView> | ||
} | ||
const themedStyles = StyleService.create({ | ||
safeAreaView: { | ||
flex: 1, | ||
backgroundColor: 'background-basic-color-1', | ||
}, | ||
}) | ||
|
||
export { RootView } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.