Skip to content

Commit 6fbec09

Browse files
kadhar03Vanithacontus
authored andcommitted
Merged in uat (pull request #178)
#MRN-78 #CONTUIMSER-38159 #CONTUIMSER-38722 #CONTUIMSER-39069 Approved-by: vanitha.g
2 parents 7102d90 + e869a0a commit 6fbec09

File tree

393 files changed

+49287
-6768
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

393 files changed

+49287
-6768
lines changed

.buckconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
[android]
3+
target = Google Inc.:Google APIs:23
4+
5+
[maven_repositories]
6+
central = https://repo1.maven.org/maven2

.eslintrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"root": true,
3+
"extends": "@react-native-community",
4+
"rules": {
5+
"react-hooks/rules-of-hooks": "error",
6+
"react-hooks/exhaustive-deps": "off"
7+
}
8+
}

.eslintrc.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

.flowconfig

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
[ignore]
2+
; We fork some components by platform
3+
.*/*[.]android.js
4+
5+
; Ignore "BUCK" generated dirs
6+
<PROJECT_ROOT>/\.buckd/
7+
8+
; Ignore polyfills
9+
node_modules/react-native/Libraries/polyfills/.*
10+
11+
; Flow doesn't support platforms
12+
.*/Libraries/Utilities/LoadingView.js
13+
14+
.*/node_modules/resolve/test/resolver/malformed_package_json/package\.json$
15+
16+
[untyped]
17+
.*/node_modules/@react-native-community/cli/.*/.*
18+
19+
[include]
20+
21+
[libs]
22+
node_modules/react-native/interface.js
23+
node_modules/react-native/flow/
24+
25+
[options]
26+
emoji=true
27+
28+
exact_by_default=true
29+
30+
format.bracket_spacing=false
31+
32+
module.file_ext=.js
33+
module.file_ext=.json
34+
module.file_ext=.ios.js
35+
36+
munge_underscores=true
37+
38+
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
39+
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
40+
41+
suppress_type=$FlowIssue
42+
suppress_type=$FlowFixMe
43+
suppress_type=$FlowFixMeProps
44+
suppress_type=$FlowFixMeState
45+
46+
[lints]
47+
sketchy-null-number=warn
48+
sketchy-null-mixed=warn
49+
sketchy-number=warn
50+
untyped-type-import=warn
51+
nonstrict-import=warn
52+
deprecated-type=warn
53+
unsafe-getters-setters=warn
54+
unnecessary-invariant=warn
55+
56+
[strict]
57+
deprecated-type
58+
nonstrict-import
59+
sketchy-null
60+
unclear-type
61+
unsafe-getters-setters
62+
untyped-import
63+
untyped-type-import
64+
65+
[version]
66+
^0.176.3

.gitignore

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,14 @@ local.properties
3333
.cxx/
3434
*.keystore
3535
!debug.keystore
36-
native/
37-
wrapper/
38-
daemon/
39-
caches/
4036

4137
# node.js
4238
#
4339
node_modules/
4440
npm-debug.log
4541
yarn-error.log
4642
package-lock.json
47-
dist/
43+
4844
# fastlane
4945
#
5046
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
@@ -66,3 +62,18 @@ dist/
6662

6763
# Temporary files created by Metro to check the health of the file watcher
6864
.metro-health-check*
65+
66+
# testing
67+
/coverage
68+
69+
# bundle
70+
dist/
71+
72+
# vscode
73+
.vscode
74+
75+
# tarball file
76+
mirrorfly-uikit-react-native-*.tgz
77+
78+
# zip file
79+
*.zip

.node-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"arrowParens": "avoid",
3+
"bracketSameLine": true,
4+
"bracketSpacing": true,
5+
"singleQuote": true,
6+
"trailingComma": "all",
7+
"printWidth": 120,
8+
"tabWidth": 3
9+
}

.prettierrc.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"java.configuration.updateBuildConfiguration": "interactive",
3+
"sonarlint.connectedMode.project": {
4+
"connectionId": "https-sonar-fly-devops-contus-us",
5+
"projectKey": "P078-MirrorFly-RN_UIKit"
6+
}
7+
}

App.js

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
11
import React from 'react';
2-
import { ChatApp } from './src/ChatApp';
2+
import { Platform } from 'react-native';
3+
import { MirrorflyChatComponent } from './src/MirrorflyChatComponent';
4+
import { CallComponent } from './src/calls/CallComponent';
5+
6+
export const MirrorflyComponent = (props = {}) => {
7+
const renderCallComponent = () => {
8+
return Platform.OS === 'ios' ? <CallComponent /> : null;
9+
};
10+
11+
return (
12+
<>
13+
<MirrorflyChatComponent {...props} />
14+
{renderCallComponent()}
15+
</>
16+
);
17+
};
318

419
function App() {
5-
return (
6-
<ChatApp />
7-
);
20+
return <MirrorflyComponent />;
821
}
922

1023
export default App;

0 commit comments

Comments
 (0)