Add Project ID
This commit is contained in:
parent
051837968a
commit
0f3ef6aee5
3 changed files with 26 additions and 15 deletions
11
app.json
11
app.json
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"expo": {
|
||||
"name": "Tones",
|
||||
"slug": "Tones",
|
||||
"slug": "tones",
|
||||
"version": "1.0.1",
|
||||
"orientation": "portrait",
|
||||
"icon": "./assets/images/icon.png",
|
||||
|
|
@ -29,6 +29,15 @@
|
|||
],
|
||||
"experiments": {
|
||||
"typedRoutes": true
|
||||
},
|
||||
"extra": {
|
||||
"router": {
|
||||
"origin": false
|
||||
},
|
||||
"eas": {
|
||||
"projectId": "6903a306-dafd-42ab-b010-f0c8205269ad"
|
||||
}
|
||||
},
|
||||
"owner": "mattdimegs"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,11 +21,13 @@ import {
|
|||
TextLinkContent,
|
||||
LoginTextInput
|
||||
} from '../components/generalHelpers.jsx';
|
||||
import { useNotifications } from '@/hooks';
|
||||
|
||||
export default function Login() {
|
||||
const [hidePassword, setHidePassword] = useState(true);
|
||||
const [loginButtonDisabled, setLoginButtonDisabled] = useState(true);
|
||||
const [auth, setAuth] = useState(false);
|
||||
const { expoPushToken } = useNotifications();
|
||||
|
||||
const formik = useFormik({
|
||||
initialValues: {
|
||||
|
|
@ -122,6 +124,7 @@ export default function Login() {
|
|||
<TextLinkContent>Landing</TextLinkContent>
|
||||
</Link>
|
||||
</View>
|
||||
<Text>View Token: {expoPushToken}</Text>
|
||||
<Line />
|
||||
</InnerContainer>
|
||||
</StyledContainer>
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@ const registerForPushNotificationsAsync = async () => {
|
|||
projectId,
|
||||
})
|
||||
).data;
|
||||
console.log(token);
|
||||
} catch (e) {
|
||||
token = `${e}`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue