Skip to content

React Native 0.70.x Support #24

@retyui

Description

@retyui

To reproduce:

npx react-native init inappUpdates
cd inappUpdates
yarn add kumparan/react-native-android-inapp-updates # use git version to apply unpublished changes
cd android
./gradlew assembleRelease

Error:

FAILURE: Build failed with an exception.

* Where:
Build file '/home/i/tmp/inappUpdates/node_modules/@gurukumparan/react-native-android-inapp-updates/android/build.gradle' line: 123

* What went wrong:
A problem occurred configuring project ':gurukumparan_react-native-android-inapp-updates'.
> Could not resolve all files for configuration ':gurukumparan_react-native-android-inapp-updates:implementation'.
   > Could not resolve com.facebook.react:react-native:+.
     Required by:
         project :gurukumparan_react-native-android-inapp-updates
      > Cannot choose between the following variants of com.facebook.react:react-native:0.70.6:
          - debugVariantDefaultRuntimePublication
          - releaseVariantDefaultRuntimePublication
        All of them match the consumer attributes:
          - Variant 'debugVariantDefaultRuntimePublication' capability com.facebook.react:react-native:0.70.6:
              - Unmatched attributes:

Demo repo: https://github.com/retyui/inapp-updates-rn-70

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