From 6bf2dda18aadb6af5259f459c5febd04304f8fac Mon Sep 17 00:00:00 2001 From: zhangzy Date: Thu, 25 Apr 2024 09:38:58 +0800 Subject: [PATCH] fix react-native 0.74 --- .../reactnativecommunity/asyncstorage/AsyncStorageModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/default-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java b/packages/default-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java index 3e402486..345e5e1c 100644 --- a/packages/default-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java +++ b/packages/default-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java @@ -81,7 +81,7 @@ public void initialize() { } @Override - public void onCatalystInstanceDestroy() { + public void invalidate() { mShuttingDown = true; }