Skip to content

aws-amplify/rtn-web-browser does not work on React Native 0.80 and above #14550

Description

@weijihuang

Before opening, please confirm:

JavaScript Framework

React Native

Amplify APIs

Not applicable

Amplify Version

v6

Amplify Categories

auth

Backend

Amplify Gen 2

Environment information

Details

  System:
    OS: macOS 15.6.1
    CPU: (12) arm64 Apple M4 Pro
    Memory: 2.61 GB / 24.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.3.0 - /opt/homebrew/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 11.4.2 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 139.0.7258.157
    Safari: 18.6
  npmPackages:
    @aws-amplify/react-native: ^1.1.10 => 1.1.10 
    @aws-amplify/rtn-web-browser: ^1.1.4 => 1.1.4 
    @react-native-async-storage/async-storage: ^2.2.0 => 2.2.0 
    @react-native-picker/picker: 2.11.1 => 2.11.1 
    aws-amplify: ^6.14.4 => 6.15.5 
    aws-amplify/adapter-core:  undefined ()
    aws-amplify/adapter-core/internals:  undefined ()
    aws-amplify/analytics:  undefined ()
    aws-amplify/analytics/kinesis:  undefined ()
    aws-amplify/analytics/kinesis-firehose:  undefined ()
    aws-amplify/analytics/personalize:  undefined ()
    aws-amplify/analytics/pinpoint:  undefined ()
    aws-amplify/api:  undefined ()
    aws-amplify/api/internals:  undefined ()
    aws-amplify/api/server:  undefined ()
    aws-amplify/auth:  undefined ()
    aws-amplify/auth/cognito:  undefined ()
    aws-amplify/auth/cognito/server:  undefined ()
    aws-amplify/auth/enable-oauth-listener:  undefined ()
    aws-amplify/auth/server:  undefined ()
    aws-amplify/data:  undefined ()
    aws-amplify/data/server:  undefined ()
    aws-amplify/datastore:  undefined ()
    aws-amplify/in-app-messaging:  undefined ()
    aws-amplify/in-app-messaging/pinpoint:  undefined ()
    aws-amplify/push-notifications:  undefined ()
    aws-amplify/push-notifications/pinpoint:  undefined ()
    aws-amplify/storage:  undefined ()
    aws-amplify/storage/s3:  undefined ()
    aws-amplify/storage/s3/server:  undefined ()
    aws-amplify/storage/server:  undefined ()
    aws-amplify/utils:  undefined ()
    expo-device: ~8.0.6 => 8.0.6 
    expo-haptics: ~15.0.6 => 15.0.6 
    expo-linking: ~8.0.7 => 8.0.7 
    expo-print: ~15.0.6 => 15.0.6 
    expo-screen-orientation: ~9.0.6 => 9.0.6 
    expo-sharing: ~14.0.7 => 14.0.7 
    react-native-gesture-handler: ~2.28.0 => 2.28.0 
    react-native-reanimated: ~4.1.0 => 4.1.0 
    react-native-svg: 15.12.1 => 15.12.1 
    typescript: ~5.9.2 => 5.9.2 
  npmGlobalPackages:
    corepack: 0.33.0
    npm-check-updates: 17.1.15
    npm: 11.4.2

Describe the bug

When working with "react-native": "0.80", + Expo, and npx expo prebuild --platform ios, it will fail the pod install, with following error message:

⚠️  Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: Unable to find a specification for `RCT-Folly` depended upon by `AmplifyRTNWebBrowser`

You have either:
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

By reverting the RN version to 0.79.x, the pod install will work.

Expected behavior

The build should succeed and no errors in pod install

Reproduction steps

  1. Use the version specified (RN >= 0.80.x)
  2. pod install or npx expo prebuild --platform ios (for expo)
Image

Code Snippet

// Put your code below this line.

Log output

Details
// Put your logs below this line


aws-exports.js

No response

Manual configuration

No response

Additional configuration

No response

Mobile Device

No response

Mobile Operating System

No response

Mobile Browser

No response

Mobile Browser Version

No response

Additional information and screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions