Resolve patch-package warnings (#4520)
parent
f8c58a68a9
commit
94c1f4968d
|
@ -1,9 +1,9 @@
|
||||||
diff --git a/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt b/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt
|
diff --git a/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt b/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt
|
||||||
index 26c52af..b949a4c 100644
|
index 1520465..6ea988a 100644
|
||||||
--- a/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt
|
--- a/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt
|
||||||
+++ b/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt
|
+++ b/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt
|
||||||
@@ -42,7 +42,7 @@ class HapticsModule : Module() {
|
@@ -42,7 +42,7 @@ class HapticsModule : Module() {
|
||||||
|
|
||||||
private fun vibrate(type: HapticsVibrationType) {
|
private fun vibrate(type: HapticsVibrationType) {
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||||
- vibrator.vibrate(VibrationEffect.createWaveform(type.timings, type.amplitudes, -1))
|
- vibrator.vibrate(VibrationEffect.createWaveform(type.timings, type.amplitudes, -1))
|
|
@ -1,11 +1,11 @@
|
||||||
diff --git a/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift b/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift
|
diff --git a/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift b/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift
|
||||||
index b85291e..07a5d3c 100644
|
index b85291e..546709d 100644
|
||||||
--- a/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift
|
--- a/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift
|
||||||
+++ b/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift
|
+++ b/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift
|
||||||
@@ -78,13 +78,20 @@ public final class ExpoUpdatesUpdate: Update {
|
@@ -78,13 +78,20 @@ public final class ExpoUpdatesUpdate: Update {
|
||||||
status = UpdateStatus.StatusPending
|
status = UpdateStatus.StatusPending
|
||||||
}
|
}
|
||||||
|
|
||||||
+ // Instead of relying on various hacks to get the correct format for the specific
|
+ // Instead of relying on various hacks to get the correct format for the specific
|
||||||
+ // platform on the backend, we can just add this little patch..
|
+ // platform on the backend, we can just add this little patch..
|
||||||
+ let dateFormatter = DateFormatter()
|
+ let dateFormatter = DateFormatter()
|
Loading…
Reference in New Issue