LinusU / LinusU/react-native-webcrypto

Replace compile -> implementation on build.gradle

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
23
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used [patch-package](https://github.com/ds300/patch-package) to patch `react-native-webcrypto@1.0.0-alpha.3` for the project I'm working on.

Here is the diff that solved my problem:

```diff
diff --git a/node_modules/react-native-webcrypto/android/build.gradle b/node_modules/react-native-webcrypto/android/build.gradle
index e19e09d..8dfd8b9 100644
--- a/node_modules/react-native-webcrypto/android/build.gradle
+++ b/node_modules/react-native-webcrypto/android/build.gradle
@@ -35,5 +35,5 @@ repositories {
}

dependencies {
- compile 'com.facebook.react:react-native:+'
+ implementation 'com.facebook.react:react-native:+'
}
```

This issue body was [partially generated by patch-package](https://github.com/ds300/patch-package/issues/296).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open android/build.gradle and inspect the dependencies block, starting with the React Native dependency shown in the issue. Update the dependency configuration as specified, then verify that the declaration is consistent with the Android build setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
build-system, mobile-dev
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.