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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heartrate sensor #380

Open
roberto-buratti opened this issue Mar 30, 2021 · 1 comment
Open

Heartrate sensor #380

roberto-buratti opened this issue Mar 30, 2021 · 1 comment
Labels

Comments

@roberto-buratti
Copy link

Hi! 馃憢

Firstly, thanks for your work on this project! 馃檪

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

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-sensors/.DS_Store b/node_modules/react-native-sensors/.DS_Store
new file mode 100644
index 0000000..a99890a
Binary files /dev/null and b/node_modules/react-native-sensors/.DS_Store differ
diff --git a/node_modules/react-native-sensors/android/.DS_Store b/node_modules/react-native-sensors/android/.DS_Store
new file mode 100644
index 0000000..9a874b5
Binary files /dev/null and b/node_modules/react-native-sensors/android/.DS_Store differ
diff --git a/node_modules/react-native-sensors/android/build/generated/source/buildConfig/debug/com/sensors/BuildConfig.java b/node_modules/react-native-sensors/android/build/generated/source/buildConfig/debug/com/sensors/BuildConfig.java
new file mode 100644
index 0000000..eab995a
--- /dev/null
+++ b/node_modules/react-native-sensors/android/build/generated/source/buildConfig/debug/com/sensors/BuildConfig.java
@@ -0,0 +1,12 @@
+/**
+ * Automatically generated file. DO NOT MODIFY
+ */
+package com.sensors;
+
+public final class BuildConfig {
+  public static final boolean DEBUG = Boolean.parseBoolean("true");
+  public static final String LIBRARY_PACKAGE_NAME = "com.sensors";
+  public static final String BUILD_TYPE = "debug";
+  public static final int VERSION_CODE = 1;
+  public static final String VERSION_NAME = "1.0";
+}
diff --git a/node_modules/react-native-sensors/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml b/node_modules/react-native-sensors/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml
new file mode 100644
index 0000000..bfd0e40
--- /dev/null
+++ b/node_modules/react-native-sensors/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+    package="com.sensors"
+    android:versionCode="1"
+    android:versionName="1.0" >
+
+    <uses-sdk
+        android:minSdkVersion="17"
+        android:targetSdkVersion="29" />
+
+</manifest>
\ No newline at end of file
diff --git a/node_modules/react-native-sensors/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output.json b/node_modules/react-native-sensors/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output.json
new file mode 100644
index 0000000..a68236f
--- /dev/null
+++ b/node_modules/react-native-sensors/android/buil
@stale
Copy link

stale bot commented Jan 8, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant