我在 React Native 工作。我正在尝试使用 Facebook 帐户登录 我从 Facebook 收到此错误 我收到 Facebook 消息对话框,其中包含以下消息:此应用程序目前无法使用 Facebook 登录,因为我们正在更新此应用程序的其他详细信息
我已经使用此链接在 Firebase 上启用了 Google SignIn https://rnfirebase.io/auth/social-auth我的应用程序编译正常,但是当我按下登录按钮并选择 Google 帐户进行登录时,我得到了可能的未处理承诺拒绝(id:0):错误:DEVELOPER_ERROR https://rnfirebase.io/auth/social-auth 我有 Windows 10 和
react-native-cli: 2.0.1
react-native: 0.63.4
Node : v12.16.0
Run Code Online (Sandbox Code Playgroud)
这是App.js
import React , {useState , useEffect} from 'react';
import { Text TextInput, View } from 'react-native';
import {ButtonTemplate} from '../assets/ButtonTemplate'
import auth from '@react-native-firebase/auth';
import { GoogleSignin } from '@react-native-community/google-signin';
const App = () => {
useEffect(()=> {
GoogleSignin.configure({
webClientId: 'xxxxxxxxxxxxxx.apps.googleusercontent.com',
});
})
async function onGoogleButtonPress() {
// Get the users ID token
const { idToken } = …Run Code Online (Sandbox Code Playgroud) 这是版本旧版本=>“react-native-webview”:“^11.17.2”,新版本=>“react-native-webview”:“^11.18.0”
我正在使用 webview 渲染 html,但它需要或依赖于其他库
react-native-test-app
here is the warning I got
warn Package react-native-webview has been ignored because it contains invalid configuration. Reason: Cannot find module 'react-native-test-app/package.json'
Run Code Online (Sandbox Code Playgroud)
需要堆栈:
当我安装这个时
npm i react-native-test-app
Run Code Online (Sandbox Code Playgroud)
那么它在 Android 上工作正常,但在 ios 上会导致 Pod 问题。如果我回到旧版本它仍然存在。预先感谢,请等待您的帮助