agora-appbuilder-core 4.0.0-beta.81 → 4.0.0-beta.84

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.81",
3
+ "version": "4.0.0-beta.84",
4
4
  "description": "React Native template for RTE app builder",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -170,6 +170,7 @@ const style = StyleSheet.create({
170
170
  borderBottomRightRadius: 8,
171
171
  borderTopLeftRadius: 0,
172
172
  borderTopRightRadius: 8,
173
+ maxWidth: '88%',
173
174
  },
174
175
  chatBubbleRemoteViewLayer2: {
175
176
  backgroundColor: 'transparent',
@@ -204,6 +205,7 @@ const style = StyleSheet.create({
204
205
  borderBottomRightRadius: 8,
205
206
  borderTopLeftRadius: 8,
206
207
  borderTopRightRadius: 0,
208
+ maxWidth: '88%',
207
209
  },
208
210
  messageStyle: {
209
211
  fontFamily: ThemeConfig.FontFamily.sansPro,
@@ -185,6 +185,14 @@ const RecordingProvider = (props: RecordingProviderProps) => {
185
185
  const startRecording = () => {
186
186
  const passphrase = roomId.host || '';
187
187
  console.log('web-recording - start recording API called');
188
+ if (!passphrase) {
189
+ console.log('web-recording - passphrase is empty');
190
+ return;
191
+ }
192
+ if (!$config.FRONTEND_ENDPOINT) {
193
+ console.log('web-recording - endpoint url is empty');
194
+ return;
195
+ }
188
196
  if (inProgress) {
189
197
  console.log('web-recording - start recording API already in progress');
190
198
  return;