Skip to content

Commit 06daf11

Browse files
Merged in bugfix/MRN-429_user_block (pull request #236)
MRN-429 Approved-by: vanitha.g
2 parents 9bb8e84 + 2c26037 commit 06daf11

23 files changed

+235
-137
lines changed

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ android {
9898
minSdkVersion rootProject.ext.minSdkVersion
9999
targetSdkVersion rootProject.ext.targetSdkVersion
100100
versionCode 1
101-
versionName "3.3.1"
101+
versionName "3.3.3"
102102
/** Add this for react-native-camera */
103103
missingDimensionStrategy 'react-native-camera', 'general'
104104
multiDexEnabled true

ios/mirrorfly_rn.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@
674674
"$(inherited)",
675675
"@executable_path/Frameworks",
676676
);
677-
MARKETING_VERSION = 3.3.1;
677+
MARKETING_VERSION = 3.3.3;
678678
OTHER_LDFLAGS = (
679679
"$(inherited)",
680680
"-ObjC",
@@ -707,7 +707,7 @@
707707
"$(inherited)",
708708
"@executable_path/Frameworks",
709709
);
710-
MARKETING_VERSION = 3.3.1;
710+
MARKETING_VERSION = 3.3.3;
711711
OTHER_LDFLAGS = (
712712
"$(inherited)",
713713
"-ObjC",

rollup.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ export default {
6060
'react-native-progress',
6161
'react-native-safe-area-context',
6262
'react-native-screens',
63-
'react-native-simple-toast',
6463
'react-native-sound',
6564
'react-native-svg',
6665
'react-native-svg-transformer',
@@ -82,7 +81,6 @@ export default {
8281
'react-native-material-menu',
8382
'react-native-keyevent',
8483
'react-native-ringer-mode',
85-
'react-native-simple-toast',
8684
],
8785
plugins: [
8886
replace({

src/Navigation/stackNavigation.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { createNativeStackNavigator } from '@react-navigation/native-stack';
22
import React from 'react';
33
import { Provider } from 'react-redux';
44
import VideoPlayer from '../Media/VideoPlayer';
5+
import AlertModalRoot from '../common/AlertModalRoot';
6+
import ToastMessage from '../common/ToastMessage';
57
import store from '../redux/store';
68
import ArchivedScreen from '../screens/ArchivedScreen';
79
import BlockedContactListScreen from '../screens/BlockedContactListScreen';
@@ -71,7 +73,6 @@ import {
7173
VIEWALLMEDIA,
7274
} from '../screens/constants';
7375
import { getCurrentScreen } from '../uikitMethods';
74-
import ToastMessage from '../common/ToastMessage';
7576

7677
const Stack = createNativeStackNavigator();
7778

@@ -182,6 +183,7 @@ function StackNavigationPage() {
182183
<Stack.Screen name={GROUP_STACK}>{prop => <GroupScreenStackNavigation {...prop} />}</Stack.Screen>
183184
</Stack.Navigator>
184185
<ToastMessage />
186+
<AlertModalRoot />
185187
</Provider>
186188
);
187189
}

src/SDK/index.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/calls/components/BigVideoTile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ const BigVideoTile = ({
7575
{/* Pulse animation view here */}
7676
<PulseAnimatedView animateToValue={1.3} baseStyle={styles.avatharPulseAnimatedView} />
7777
<Avathar
78+
userId={userId}
7879
width={90}
7980
height={90}
8081
backgroundColor={userProfile.colorCode}

src/calls/components/SmallVideoTile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ const SmallVideoTile = ({
5454
<>
5555
<View style={styles.smallVideoUserAvathar}>
5656
<Avathar
57+
userId={userId}
5758
width={50}
5859
height={50}
5960
backgroundColor={userProfile.colorCode}

src/calls/screens/IncomingCall.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ const IncomingCall = ({ userId, userJid, callStatus }) => {
9696
</Text>
9797
<View style={commonStyles.marginTop_15}>
9898
<Avathar
99+
userId={userId}
99100
width={90}
100101
height={90}
101102
backgroundColor={userProfile.colorCode}

src/calls/screens/OutGoingCall.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ const OutGoingCall = () => {
120120
)}
121121
<View style={[styles.avathar]}>
122122
<Avathar
123+
userId={userID}
123124
width={90}
124125
height={90}
125126
backgroundColor={userProfile.colorCode}

src/common/AlertModalRoot.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import React from 'react';
2+
import AlertModal from './AlertModal';
3+
import { useAlertModalContent } from '../redux/reduxHook';
4+
5+
function AlertModalRoot() {
6+
const modalContent = useAlertModalContent();
7+
console.log('modalContent ==> ', modalContent);
8+
return modalContent && <AlertModal {...modalContent} />;
9+
}
10+
11+
export default AlertModalRoot;

0 commit comments

Comments
 (0)