├── .gitignore
├── App.tsx
├── Auth
├── index.tsx
├── utils-async-storage.tsx
├── utils-expo.tsx
└── utils.tsx
├── README.md
├── app.json
├── assets
├── favicon.png
├── icon.png
├── snack-icon.png
└── splash.png
├── babel.config.js
├── package.json
└── tsconfig.json
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/**/*
2 | .expo/*
3 | npm-debug.*
4 | *.jks
5 | *.p8
6 | *.p12
7 | *.key
8 | *.mobileprovision
9 | *.orig.*
10 | web-build/
11 |
12 | # macOS
13 | .DS_Store
14 |
--------------------------------------------------------------------------------
/App.tsx:
--------------------------------------------------------------------------------
1 | import * as React from 'react';
2 | import { Text, View, StyleSheet, Button } from 'react-native';
3 | import { AuthProvider, useAuth } from './Auth';
4 |
5 |
6 | const LogOutButton = () => {
7 | const { signOut } = useAuth();
8 | return ;
9 | };
10 |
11 | const LogInButton = () => {
12 | const { signIn } = useAuth();
13 | return