A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: remove react-native-securerandom patch
ammarahm-ed0c84bfdbca43
diff --git a/apps/mobile/native/package.json b/apps/mobile/native/package.jsonindex 44fa4326b..d2b948f94 100644--- a/apps/mobile/native/package.json+++ b/apps/mobile/native/package.json@@ -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",diff --git a/apps/mobile/package-lock.json b/apps/mobile/package-lock.jsonindex b3c733709..0b3ffd116 100644--- a/apps/mobile/package-lock.json+++ b/apps/mobile/package-lock.json@@ -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",diff --git a/apps/mobile/patches/react-native-securerandom+1.0.0.patch b/apps/mobile/patches/react-native-securerandom+1.0.0.patchdeleted file mode 100644index ec98bc52b..000000000--- a/apps/mobile/patches/react-native-securerandom+1.0.0.patch+++ /dev/null@@ -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-- }-- }--}