cloudinary / cloudinary/cloudinary-react-native

Support for expo 54

未关闭
#52 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
28
派生
21
PR 合并指标
30 天内没有已合并 PR

描述

## Feature request for Cloudinary React Native SDK

Now that expo 54 is here would be great if this library adds support for the same

## Describe the problem you’re trying to solve

Getting the following when trying to use this library with expo 54

```bash
> npm install
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: cloudinary-react-native@1.2.0
npm error Found: expo@54.0.12
npm error node_modules/expo
npm error expo@"^54.0.12" from the root project
npm error peerOptional expo@"*" from @expo/metro-config@54.0.6
npm error node_modules/@expo/metro-config
npm error @expo/metro-config@"54.0.6" from expo@54.0.12
npm error @expo/metro-config@"~54.0.6" from @expo/cli@54.0.10
npm error node_modules/expo/node_modules/@expo/cli
npm error @expo/cli@"54.0.10" from expo@54.0.12
npm error 18 more (babel-preset-expo, expo-asset, expo-crypto, ...)
npm error
npm error Could not resolve dependency:
npm error peer expo@"^50.0.0 || ^51.0.0 || ^52.0.0 || ^53.0.0" from cloudinary-react-native@1.2.0
npm error node_modules/cloudinary-react-native
npm error cloudinary-react-native@"^1.2.0" from the root project
npm error
npm error Conflicting peer dependency: expo@53.0.23
npm error node_modules/expo
npm error peer expo@"^50.0.0 || ^51.0.0 || ^52.0.0 || ^53.0.0" from cloudinary-react-native@1.2.0
npm error node_modules/cloudinary-react-native
npm error cloudinary-react-native@"^1.2.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
```

贡献指南

打开贡献指南

调研方向

首先找到声明 cloudinary-react-native 的 Expo peer dependency 的包元数据,并检查支持的 Expo 版本是如何指定的。使用 Expo 54 重现报告中的 npm install;当依赖解析成功且没有出现此处所示的 peer-dependency 冲突时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native, typescript
领域
mobile
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。