agora-appbuilder-core 4.0.0-beta.97 → 4.0.0-beta.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-appbuilder-core",
3
- "version": "4.0.0-beta.97",
3
+ "version": "4.0.0-beta.99",
4
4
  "description": "React Native template for RTE app builder",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -1,6 +1,6 @@
1
1
  <resources>
2
2
  <string name="app_name">Hello App Display Name</string>
3
3
  <string name="hostname">managedservices-prod.rteappbuilder.com</string>
4
- <string name="main_public_key">5VC9ody3DexBxZs51+65COtntkY7seybRRwJIC0VZRA=</string>
5
- <string name="backup_public_key">18tkPyr2nckv4fgo0dhAkaUtJ2hu2831xlO2SKhq8dg=</string>
4
+ <string name="main_public_key">59d0kvzJLl7UOwYCl9KLk+Nzx9fD49Ah5qem+VGG8p8=</string>
5
+ <string name="backup_public_key">++MBgDH5WGvL9Bcn5Be30cRcL0f5O+NyoXuWtQdX1aI=</string>
6
6
  </resources>
@@ -86,8 +86,8 @@
86
86
  <key>HostName</key>
87
87
  <string>managedservices-prod.rteappbuilder.com</string>
88
88
  <key>MainPublicKey</key>
89
- <string>5VC9ody3DexBxZs51+65COtntkY7seybRRwJIC0VZRA=</string>
89
+ <string>59d0kvzJLl7UOwYCl9KLk+Nzx9fD49Ah5qem+VGG8p8=</string>
90
90
  <key>BackupPublicKey</key>
91
- <string>18tkPyr2nckv4fgo0dhAkaUtJ2hu2831xlO2SKhq8dg=</string>
91
+ <string>++MBgDH5WGvL9Bcn5Be30cRcL0f5O+NyoXuWtQdX1aI=</string>
92
92
  </dict>
93
93
  </plist>
@@ -45,48 +45,53 @@ function RTableBody({status, recordings}) {
45
45
  </Text>
46
46
  </View>
47
47
  <View style={style.td}>
48
- {item?.download_url ? (
49
- <View style={style.tactions}>
50
- <Text
51
- style={style.tlink}
52
- onPress={async () => {
53
- if (await Linking.canOpenURL(item.download_url[0])) {
54
- await Linking.openURL(item.download_url[0]);
55
- }
56
- }}>
57
- View
58
- </Text>
59
- <Text
60
- style={[style.tlink, style.pl15]}
61
- onPress={() => {
62
- downloadRecording(item.download_url[0]);
63
- }}>
64
- Download
65
- </Text>
66
- <View>
67
- <Tooltip
68
- isClickable
69
- placement="right"
70
- toolTipMessage="Link Copied"
48
+ {item?.download_url?.length > 0 ? (
49
+ item?.download_url?.map((link: string, i: number) => (
50
+ <View style={style.tactions} key={i}>
51
+ <Text
52
+ style={style.tlink}
53
+ onPress={async () => {
54
+ if (await Linking.canOpenURL(link)) {
55
+ await Linking.openURL(link);
56
+ }
57
+ }}>
58
+ View
59
+ </Text>
60
+ <Text
61
+ style={[style.tlink, style.pl15]}
71
62
  onPress={() => {
72
- Clipboard.setString(item.download_url[0]);
73
- }}
74
- fontSize={12}
75
- renderContent={(isToolTipVisible, setToolTipVisible) => {
76
- return (
77
- <Text
78
- style={[style.tlink, style.pl15]}
79
- onPress={() => {
80
- Clipboard.setString(item.download_url[0]);
81
- setToolTipVisible(true);
82
- }}>
83
- Copy shareable link
84
- </Text>
85
- );
86
- }}
87
- />
63
+ downloadRecording(link);
64
+ }}>
65
+ Download
66
+ </Text>
67
+ <View>
68
+ <Tooltip
69
+ isClickable
70
+ placement="right"
71
+ toolTipMessage="Link Copied"
72
+ onPress={() => {
73
+ Clipboard.setString(link);
74
+ }}
75
+ fontSize={12}
76
+ renderContent={(
77
+ isToolTipVisible,
78
+ setToolTipVisible,
79
+ ) => {
80
+ return (
81
+ <Text
82
+ style={[style.tlink, style.pl15]}
83
+ onPress={() => {
84
+ Clipboard.setString(link);
85
+ setToolTipVisible(true);
86
+ }}>
87
+ Copy shareable link
88
+ </Text>
89
+ );
90
+ }}
91
+ />
92
+ </View>
88
93
  </View>
89
- </View>
94
+ ))
90
95
  ) : (
91
96
  <View style={style.tactions}>
92
97
  <Text style={style.placeHolder}>
@@ -90,12 +90,14 @@ export const style = StyleSheet.create({
90
90
  tbrow: {
91
91
  display: 'flex',
92
92
  alignSelf: 'stretch',
93
- height: 50,
93
+ minHeight: 50,
94
94
  flexDirection: 'row',
95
+ paddingBottom: 10,
96
+ paddingTop: 20,
95
97
  },
96
98
  td: {
97
99
  flex: 1,
98
- alignSelf: 'stretch',
100
+ alignSelf: 'flex-start',
99
101
  justifyContent: 'center',
100
102
  paddingHorizontal: 12,
101
103
  // height: 100,