mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
mobile: remove react-native-securerandom patch
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"main": "index.js",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@callstack/repack": "^3.0.0-next.7",
|
||||
"@callstack/repack": "^3.0.0",
|
||||
"@react-native-clipboard/clipboard": "^1.9.0",
|
||||
"@react-native-community/checkbox": "^0.5.8",
|
||||
"@react-native-community/netinfo": "^6.0.4",
|
||||
@@ -45,7 +45,7 @@
|
||||
"react-native-safe-area-context": "^4.3.1",
|
||||
"react-native-scoped-storage": "^1.9.3",
|
||||
"react-native-screens": "^3.13.1",
|
||||
"react-native-securerandom": "^1.0.0",
|
||||
"react-native-securerandom": "^1.0.1",
|
||||
"react-native-share": "^7.2.0",
|
||||
"react-native-sodium": "github:ammarahm-ed/react-native-sodium",
|
||||
"react-native-svg": "^12.3.0",
|
||||
|
||||
8
apps/mobile/package-lock.json
generated
8
apps/mobile/package-lock.json
generated
@@ -57,7 +57,7 @@
|
||||
"version": "1.0.0",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@callstack/repack": "^3.0.0-next.7",
|
||||
"@callstack/repack": "^3.0.0",
|
||||
"@react-native-clipboard/clipboard": "^1.9.0",
|
||||
"@react-native-community/checkbox": "^0.5.8",
|
||||
"@react-native-community/netinfo": "^6.0.4",
|
||||
@@ -97,7 +97,7 @@
|
||||
"react-native-safe-area-context": "^4.3.1",
|
||||
"react-native-scoped-storage": "^1.9.3",
|
||||
"react-native-screens": "^3.13.1",
|
||||
"react-native-securerandom": "^1.0.0",
|
||||
"react-native-securerandom": "^1.0.1",
|
||||
"react-native-share": "^7.2.0",
|
||||
"react-native-sodium": "github:ammarahm-ed/react-native-sodium",
|
||||
"react-native-svg": "^12.3.0",
|
||||
@@ -24250,7 +24250,7 @@
|
||||
"@babel/plugin-transform-named-capturing-groups-regex": "^7.16.5",
|
||||
"@babel/preset-env": "^7.18.6",
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@callstack/repack": "^3.0.0-next.7",
|
||||
"@callstack/repack": "^3.0.0",
|
||||
"@react-native-clipboard/clipboard": "^1.9.0",
|
||||
"@react-native-community/checkbox": "^0.5.8",
|
||||
"@react-native-community/eslint-config": "^2.0.0",
|
||||
@@ -24319,7 +24319,7 @@
|
||||
"react-native-safe-area-context": "^4.3.1",
|
||||
"react-native-scoped-storage": "^1.9.3",
|
||||
"react-native-screens": "^3.13.1",
|
||||
"react-native-securerandom": "^1.0.0",
|
||||
"react-native-securerandom": "^1.0.1",
|
||||
"react-native-share": "^7.2.0",
|
||||
"react-native-sodium": "github:ammarahm-ed/react-native-sodium",
|
||||
"react-native-svg": "^12.3.0",
|
||||
|
||||
@@ -1,88 +0,0 @@
|
||||
diff --git a/node_modules/react-native-securerandom/android/build.gradle b/node_modules/react-native-securerandom/android/build.gradle
|
||||
index e21cdf0..dc19649 100644
|
||||
--- a/node_modules/react-native-securerandom/android/build.gradle
|
||||
+++ b/node_modules/react-native-securerandom/android/build.gradle
|
||||
@@ -16,8 +16,6 @@ buildscript {
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.library'
|
||||
-apply plugin: 'maven'
|
||||
-
|
||||
def safeExtGet(prop, fallback) {
|
||||
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
||||
}
|
||||
@@ -56,74 +54,3 @@ repositories {
|
||||
dependencies {
|
||||
implementation 'com.facebook.react:react-native:+'
|
||||
}
|
||||
-
|
||||
-def configureReactNativePom(def pom) {
|
||||
- def packageJson = new groovy.json.JsonSlurper().parseText(file('../package.json').text)
|
||||
-
|
||||
- pom.project {
|
||||
- name packageJson.title
|
||||
- artifactId packageJson.name
|
||||
- version = packageJson.version
|
||||
- group = "net.rhogan.rnsecurerandom"
|
||||
- description packageJson.description
|
||||
- url packageJson.repository.baseUrl
|
||||
-
|
||||
- licenses {
|
||||
- license {
|
||||
- name packageJson.license
|
||||
- url packageJson.repository.baseUrl + '/blob/master/' + packageJson.licenseFilename
|
||||
- distribution 'repo'
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- developers {
|
||||
- developer {
|
||||
- id packageJson.author.url
|
||||
- name packageJson.author.name
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-afterEvaluate { project ->
|
||||
-
|
||||
- task androidJavadoc(type: Javadoc) {
|
||||
- source = android.sourceSets.main.java.srcDirs
|
||||
- classpath += files(android.bootClasspath)
|
||||
- classpath += files(project.getConfigurations().getByName('compile').asList())
|
||||
- include '**/*.java'
|
||||
- }
|
||||
-
|
||||
- task androidJavadocJar(type: Jar, dependsOn: androidJavadoc) {
|
||||
- classifier = 'javadoc'
|
||||
- from androidJavadoc.destinationDir
|
||||
- }
|
||||
-
|
||||
- task androidSourcesJar(type: Jar) {
|
||||
- classifier = 'sources'
|
||||
- from android.sourceSets.main.java.srcDirs
|
||||
- include '**/*.java'
|
||||
- }
|
||||
-
|
||||
- android.libraryVariants.all { variant ->
|
||||
- def name = variant.name.capitalize()
|
||||
- task "jar${name}"(type: Jar, dependsOn: variant.javaCompile) {
|
||||
- from variant.javaCompile.destinationDir
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- artifacts {
|
||||
- archives androidSourcesJar
|
||||
- archives androidJavadocJar
|
||||
- }
|
||||
-
|
||||
- task installArchives(type: Upload) {
|
||||
- configuration = configurations.archives
|
||||
- repositories.mavenDeployer {
|
||||
- // Deploy to react-native-event-bridge/maven, ready to publish to npm
|
||||
- repository url: "file://${projectDir}/../android/maven"
|
||||
-
|
||||
- configureReactNativePom pom
|
||||
- }
|
||||
- }
|
||||
-}
|
||||
Reference in New Issue
Block a user