oron11
February 1, 2020, 11:25am
1
Hello,
I have integrated Linkedin login simillarly to the following logic process:
import { ResponseType } from "expo-auth-session";
import * as Facebook from "expo-auth-session/providers/facebook";
import * as WebBrowser from "expo-web-browser";
import * as React from "react";
import { Button, Image, StyleSheet, Text, View } from "react-native";
WebBrowser.maybeCompleteAuthSession();
const FB_APP_ID = "145668956753819";
export default function App() {
const [user, setUser] = React.useState(null);
// Request
const [request, response, promptAsync] = Facebook.useAuthRequest({
clientId: FB_APP_ID,
// NOTICE: Please do not actually request the token on the client (see:
// response_type=token in the authUrl), it is not secure. Request a code
// instead, and use this flow:
// https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow/#confirm
// The code here is simplified for the sake of demonstration. If you are
This file has been truncated. show original
I noticed that I get a warning message that suggests to add scheme to the app.json.
I’m not sure how it’s supposed to be perfromed.
In addition, I have read in the docs about the scheme, from what I understand it’s supposed to be used for linking to other apps and not websites.
What is the scheme supposed to be in app.json?
Thank you.
system
Closed
September 30, 2021, 6:00pm
2
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.