diff --git a/android/app/build.gradle b/android/app/build.gradle index dcfc61e6..6edc0ef2 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -134,8 +134,8 @@ def reactNativeArchitectures() { return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"] } -def VERSION_CODE = 183 -def VERSION_NAME = "2.12.7" +def VERSION_CODE = 184 +def VERSION_NAME = "2.12.8" android { ndkVersion rootProject.ext.ndkVersion diff --git a/package.json b/package.json index 44a438dc..145033e1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "AV_APP", - "version": "2.12.7", - "buildNumber": "183", + "version": "2.12.8", + "buildNumber": "184", "private": true, "scripts": { "android:dev": "yarn move:dev && react-native run-android", diff --git a/src/screens/layout/Layout.tsx b/src/screens/layout/Layout.tsx index e36c5d30..5828ad11 100644 --- a/src/screens/layout/Layout.tsx +++ b/src/screens/layout/Layout.tsx @@ -8,11 +8,16 @@ import { GLOBAL } from '@constants/Global'; const Layout: React.FC = (props) => { const isCallActive = useAppSelector((state: RootState) => state?.activeCall?.callActive); + const isCallRecordingCosmosExotelEnabled = useAppSelector( + (state) => state?.user?.featureFlags?.isCallRecordingCosmosExotelEnabled + ); return ( <> - {isCallActive && !GLOBAL.IS_IMPERSONATED ? : null} + {isCallActive && !GLOBAL.IS_IMPERSONATED && isCallRecordingCosmosExotelEnabled ? ( + + ) : null} {props.children} );