From f0f94d412f375a92e287e452f39fc39f7167c991 Mon Sep 17 00:00:00 2001 From: Kudo Chien Date: Thu, 6 Jul 2023 19:33:17 +0800 Subject: [PATCH] [plugin] fix support on expo sdk 49 (rn 0.72) --- plugin/build/withV8ExpoAdapter.js | 4 ++++ plugin/src/withV8ExpoAdapter.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/plugin/build/withV8ExpoAdapter.js b/plugin/build/withV8ExpoAdapter.js index 44ab49c..5569868 100644 --- a/plugin/build/withV8ExpoAdapter.js +++ b/plugin/build/withV8ExpoAdapter.js @@ -71,6 +71,10 @@ android { } } } + +dependencies { + debugImplementation('com.facebook.react:hermes-android') +} `; let mergeResults; mergeResults = (0, generateCode_1.mergeContents)({ diff --git a/plugin/src/withV8ExpoAdapter.ts b/plugin/src/withV8ExpoAdapter.ts index ba5de02..b2de11a 100644 --- a/plugin/src/withV8ExpoAdapter.ts +++ b/plugin/src/withV8ExpoAdapter.ts @@ -84,6 +84,10 @@ android { } } } + +dependencies { + debugImplementation('com.facebook.react:hermes-android') +} `; let mergeResults: MergeResults;