Skip to content

Backporting for old version of RN.  #24

@bprymicz

Description

@bprymicz

This is a long shot, but I've taken over a project done in RN v .38 and I need to pull the auth to Cognito out of a native package an into a JS lib. I used your library to do this for Android, but unfortunately I'm getting the issue with not being able to find RCTBridgeModule.h in RNAWSCognito.h. And I'm hoping their might be a simple fix that won't require me to do a major upgrade refactor.

To reproduce my issue I did the following:
react-native init sample --version 0.38.0
npm install react-native-aws-cognito-js
react-native link react-native-aws-cognito-js
react-native run-ios

Which fails with:
/node_modules/react-native-aws-cognito-js/ios/RNAWSCognito.h:4:9: fatal error: 'React/RCTBridgeModule.h' file not found #import <React/RCTBridgeModule.h>

Mobile and RN development is not my wheelhouse, but I'm hoping there is some sort of xcode configuration or tricks I can do to get this working and avoid a major overhaul. Thanks in advance for any assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions