Skip to content

Unable to make 3rd party modules / plugins use local forked version of React Native #21776

Closed
@MarkOSullivan94

Description

@MarkOSullivan94

Environment

React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
      Memory: 4.87 GB / 32.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 10.12.0 - /usr/local/bin/node
      npm: 6.4.1 - /usr/local/bin/npm
    SDKs:
      iOS SDK:
        Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
      Android SDK:
        Build Tools: 23.0.1, 27.0.3, 28.0.2
        API Levels: 23, 26, 27, 28
    IDEs:
      Xcode: 10.0/10A255 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.0-alpha.8af6728 => 16.6.0-alpha.8af6728
      react-native: github:MarkOSullivan94/react-native#develop => 0.57.3
    npmGlobalPackages:
      react-native-cli: 2.0.1

Description

Following the steps of the Building React Native from source documentation and I'm stuck on step 4.

It looked like everything was working fine until I noticed this in Android Studio

screen shot 2018-10-13 at 22 19 55

Unfortunately this is preventing me from running a local version of React Native so I can test my changes.

My version of React Native can be found here: https://github.com/MarkOSullivan94/react-native/tree/develop

Reproducible Demo

My project containing the error: https://github.com/MarkOSullivan94/ReactNativeShareExample

Clone the project, install the node modules and then try and run it in Android Studio and you'll see warning issues.

If you use the command react-native run-android it'll produce the following error.

error: cannot find symbol import com.facebook.react.modules.core.PermissionAwareActivity;

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