From d1211d4eef85864cc4af5393c9d4fb6cc7833d6b Mon Sep 17 00:00:00 2001 From: amsyarasyiq <82711525+amsyarasyiq@users.noreply.github.com> Date: Tue, 4 Jun 2024 18:11:28 +0800 Subject: [PATCH] chore(metro): don't put version in key --- src/metro/caches.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/metro/caches.ts b/src/metro/caches.ts index ec6ce66..5f17591 100644 --- a/src/metro/caches.ts +++ b/src/metro/caches.ts @@ -1,8 +1,8 @@ import { ClientInfoManager, MMKVManager } from "@lib/api/native/modules"; import { throttle } from "@lib/utils/throttle"; -const CACHE_VERSION = 32; -const BUNNY_METRO_CACHE_KEY = `__bunny_metro_cache_key_v${CACHE_VERSION}__`; +const CACHE_VERSION = 33; +const BUNNY_METRO_CACHE_KEY = "__bunny_metro_cache_key__"; export enum ExportsFlags { EXISTS = 1 << 0,