小编Sha*_*ari的帖子

功能不可用:此应用程序目前无法登录 Facebook,因为我们正在更新此应用程序的其他详细信息。请再试一次

我在 React Native 工作。我正在尝试使用 Facebook 帐户登录 我从 Facebook 收到此错误 我收到 Facebook 消息对话框,其中包含以下消息:此应用程序目前无法使用 Facebook 登录,因为我们正在更新此应用程序的其他详细信息

javascript facebook firebase reactjs react-native

9
推荐指数
1
解决办法
3万
查看次数

尝试在 React Native 中使用 GoogleSignIn 然后可能出现未处理的承诺拒绝(id:错误:DEVELOPER_ERROR

我已经使用此链接在 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)

javascript firebase reactjs react-native google-signin

5
推荐指数
1
解决办法
4939
查看次数

包react-native-webview已被忽略,因为它包含无效的配置

这是版本旧版本=>“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)

需要堆栈:

  • /Volumes/companyData/Meta_Quiz_App_ReactNative/node_modules/react-native-webview/react-native.config.js
  • /Volumes/companyData/Meta_Quiz_App_ReactNative/node_modules/import-fresh/index.js
  • /Volumes/companyData/Meta_Quiz_App_ReactNative/node_modules/cosmiconfig/dist/loaders.js
  • /Volumes/companyData/Meta_Quiz_App_ReactNative/node_modules/cosmiconfig/dist/createExplorer.js
  • /Volumes/companyData/Meta_Quiz_App_ReactNative/node_modules/cosmiconfig/dist/index.js
  • /Volumes/companyData/Meta_Quiz_App_ReactNative/node_modules/@react-native-community/cli/build/tools/config/readConfigFromDisk.js
  • /Volumes/companyData/Meta_Quiz_App_ReactNative/node_modules/@react-native-community/cli/build/tools/config/index.js
  • /Volumes/companyData/Meta_Quiz_App_ReactNative/node_modules/@react-native-community/cli/build/commands/install/install.js
  • /Volumes/companyData/Meta_Quiz_App_ReactNative/node_modules/@react-native-community/cli/build/commands/index.js
  • /Volumes/companyData/Meta_Quiz_App_ReactNative/node_modules/@react-native-community/cli/build/index.js
  • /Volumes/companyData/Meta_Quiz_App_ReactNative/node_modules/react-native/cli.js

当我安装这个时

npm i react-native-test-app
Run Code Online (Sandbox Code Playgroud)

那么它在 Android 上工作正常,但在 ios 上会导致 Pod 问题。如果我回到旧版本它仍然存在。预先感谢,请等待您的帮助

javascript react-native react-native-webview

5
推荐指数
1
解决办法
2167
查看次数