This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/node_modules/react-native/React/Views/RCTModalHostView.h b/node_modules/react-native/React/Views/RCTModalHostView.h | |
index e421e59..ba461e0 100644 | |
--- a/node_modules/react-native/React/Views/RCTModalHostView.h | |
+++ b/node_modules/react-native/React/Views/RCTModalHostView.h | |
@@ -17,7 +17,7 @@ | |
@protocol RCTModalHostViewInteractor; | |
-@interface RCTModalHostView : UIView <RCTInvalidating> | |
+@interface RCTModalHostView : UIView <RCTInvalidating, UIAdaptivePresentationControllerDelegate> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Note that some disk-related and disk-auto-delete code has been removed | |
// PersistedQuery defines the JSON structure for the disk cache | |
type PersistedQuery = { | |
queryKey: QueryKey, | |
queryHash: string, | |
cacheTime: number, | |
state: { | |
data: unknown | undefined; | |
dataUpdatedAt: number; // Roughly same as 'last modified' date on filesystem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/node_modules/@nozbe/watermelondb/native/android-jsi/src/main/java/com/nozbe/watermelondb/jsi/JSIInstaller.java b/node_modules/@nozbe/watermelondb/native/android-jsi/src/main/java/com/nozbe/watermelondb/jsi/JSIInstaller.java | |
index 055cede..8dc52e6 100755 | |
--- a/node_modules/@nozbe/watermelondb/native/android-jsi/src/main/java/com/nozbe/watermelondb/jsi/JSIInstaller.java | |
+++ b/node_modules/@nozbe/watermelondb/native/android-jsi/src/main/java/com/nozbe/watermelondb/jsi/JSIInstaller.java | |
@@ -14,8 +14,7 @@ class JSIInstaller { | |
// Helper method called from C++ | |
static String _resolveDatabasePath(String dbName) { | |
- // On some systems there is some kind of lock on `/databases` folder ¯\_(ツ)_/¯ | |
- return context.getDatabasePath(dbName + ".db").getPath().replace("/databases", ""); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable no-console */ | |
const fs = require('fs'); | |
const path = require('path'); | |
/** | |
* Redux Persist script that convert the double-encoded persisted reducer state files into normal JSON files. | |
* Usage: node convert-persist-state-to-json.js /tmp/Documents/persistStore | |
* generates several files: | |
* persistStore/persist-root -> persistStore/persist-root.json | |
* persistStore/persist-user -> persistStore/persist-user.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add this to your mac's ~/.zshrc | |
alias caffeinate-android='while true; do adb -d shell input keyevent mouse; sleep 10; done' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# similar to the old 'caffeinate' command for macOS, this will keep the connected android phones active | |
alias caffeinate-android='while true; do adb -d shell input keyevent mouse ; sleep 10 ; done' |
OlderNewer