Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yeni versiyonda değişen parametre #1

Closed
cenkay123 opened this issue Jul 3, 2024 · 0 comments
Closed

Yeni versiyonda değişen parametre #1

cenkay123 opened this issue Jul 3, 2024 · 0 comments

Comments

@cenkay123
Copy link

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch instascan-react-native@1.0.4 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/instascan-react-native/android/.project b/node_modules/instascan-react-native/android/.project
new file mode 100644
index 0000000..21a56f8
--- /dev/null
+++ b/node_modules/instascan-react-native/android/.project
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>instascan-react-native</name>
+	<comment>Project instascan-react-native created by Buildship.</comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
+	</natures>
+	<filteredResources>
+		<filter>
+			<id>1716988659692</id>
+			<name></name>
+			<type>30</type>
+			<matcher>
+				<id>org.eclipse.core.resources.regexFilterMatcher</id>
+				<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
+			</matcher>
+		</filter>
+	</filteredResources>
+</projectDescription>
diff --git a/node_modules/instascan-react-native/android/bin/.project b/node_modules/instascan-react-native/android/bin/.project
new file mode 100644
index 0000000..21a56f8
--- /dev/null
+++ b/node_modules/instascan-react-native/android/bin/.project
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>instascan-react-native</name>
+	<comment>Project instascan-react-native created by Buildship.</comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
+	</natures>
+	<filteredResources>
+		<filter>
+			<id>1716988659692</id>
+			<name></name>
+			<type>30</type>
+			<matcher>
+				<id>org.eclipse.core.resources.regexFilterMatcher</id>
+				<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
+			</matcher>
+		</filter>
+	</filteredResources>
+</projectDescription>
diff --git a/node_modules/instascan-react-native/android/build.gradle b/node_modules/instascan-react-native/android/build.gradle
index d190509..1496f7c 100644
--- a/node_modules/instascan-react-native/android/build.gradle
+++ b/node_modules/instascan-react-native/android/build.gradle
@@ -115,7 +115,7 @@ afterEvaluate { project ->
  
 
     task androidSourcesJar(type: Jar) {
-        classifier = 'sources'
+        archivesClassifier = 'sources'
         from android.sourceSets.main.java.srcDirs
         include '**/*.java'
     }

This issue body was partially generated by patch-package.

@cenkay123 cenkay123 changed the title Selamlarr Yeni versiyonda değişen parametre Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant