我正在尝试弹出我的react-native/expo应用程序,android构建在gradle脚本中失败。 我使用的是最新版本的expo (今天早上才升级,所以是32版)。 每个API引用都失败了。下面是示例输出以及出现故障的部分。 这似乎相当常见,但我看到的解决方案是针对最新版本中似乎实现的较旧的构建。任何帮助都是非常感谢的。 出现故障的Gradle部分: api 'com.facebook.react:react-native:32.0.0'
api 'host.exp.exponent:expo-app-loader-provider:1.0.0'
我使用了@auth包中的LogInAsync函数。它一直工作到打开浏览器窗口。在浏览器窗口中,它抛出400: Invalid_request错误。如果有人帮忙会很感激的。
那些匆忙生活的人的代码..。
import { TouchableOpacity, StyleSheet, Text, View } from "react-native";
import { AntDesign } from "@expo/vector-icons";
import * as Google from "expo-google-app-auth";
expo
我试图使用Constants.statusBarHeight将视图从react本机的状态栏中分离出来,我使用expo install expo-constants安装了常量。
但是我发现了这个错误:
TypeError: undefined is not an object (evaluating '_expoConstants.Constants.statusBarHeight')
at node_modules\react-native\Libraries\LogBox\LogBox.js:149:8 in registerError
at node_modules\rea
我有一个非常困难的时间得到Jest和运行我的RN博览会项目(这样我可以玩和学习它)。
FAIL screens/HomeScreen.test.js
● Test suite failed to run
The Expo SDK requires Expo to run. It appears the native Expo modules are unavailable and this code is not running on Expo. Visit https://docs.expo.io to learn more about developing an Expo
我按照本指南在我的世博会管理项目中安装了react本地采购:
当我使用以下一行导入包时:从“react本地采购”导入采购;在ios上得到以下错误(Ipad,14.5):
Invariant Violation: Native module cannot be null.
at node_modules\react-native\Libraries\LogBox\LogBox.js:149:8 in registerError
at node_modules\react-native\Libraries\LogBox\LogBox.js:60:8 in errorImpl
at node_
我试着在expo客户端构建expo制作的应用程序。然而,这个问题发生了。 While resolving module `react-native/Libraries/NewAppScreen`, the Haste package `react-native` was found. However the module `Libraries/NewAppScreen` could not be found within the package. Indeed, none of these files exist:
* `/Users/Akira/Desktop/ExpoProjec
我正在尝试在我的项目中使用登录。我可以使用GoogleSignIn.signInAsync()登录,但是在返回的对象中,refreshToken、idToken和accessTokenExpirationDate都是空的。有人知道问题出在哪里吗?我使用Expo4.2.1。我已经退出了这个项目,并使用react原生运行-android运行它。
这是我的代码:
import React from 'react';
import { View, Button } from 'react-native';
import * as GoogleSignIn from
我正在尝试通过使用安装页面上的步骤:expo install @notifee/react-native来安装Notifee,然后在"@notifee/react-native"文件中添加"@notifee/react-native"到我的app.json文件中,然后运行expo prebuild,但是我仍然会收到错误Error: Notifee native module not found.和Invariant Violation: "main" has not been registered.,我手动地将"plugins":
每当我通过expo start命令启动我的expo托管react本机项目时,我都会收到这样的警告- Your project is in SDK version >= 33.0.0, but the expo package version seems to be older. 然而,我的expo项目运行成功。我也试着把我的node-modules/metro-config/src/defaults/blacklist.js改成这样- var sharedBlacklist = [
/node_modules[\/\\]react[\/\\]dist[\/\\].*/,