From 79cd1ce0b1d9705c30ee1aa6f18a24348f6369ec Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Wed, 10 Nov 2021 00:10:57 +0000 Subject: [PATCH] add isLTS attribute to the loading line for react-native --- react-native/src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/react-native/src/index.js b/react-native/src/index.js index 8bc1857..a28c69a 100644 --- a/react-native/src/index.js +++ b/react-native/src/index.js @@ -1710,8 +1710,9 @@ class FFmpegKitInitializer { const arch = await ArchDetect.getArch(); const packageName = await Packages.getPackageName(); await FFmpegKitConfig.enableRedirection(); + const isLTSPostfix = (await FFmpegKitConfig.isLTSBuild()) ? "-lts" : ""; - console.log(`Loaded ffmpeg-kit-react-native-${platform}-${packageName}-${arch}-${version}.`); + console.log(`Loaded ffmpeg-kit-react-native-${platform}-${packageName}-${arch}-${version}${isLTSPostfix}.`); } }