浏览代码

fix(rn,reactions) fix copying sounds to app bundles

master
Saúl Ibarra Corretgé 3 年前
父节点
当前提交
c03fb61c5f
共有 2 个文件被更改,包括 90 次插入17 次删除
  1. 3
    10
      android/sdk/build.gradle
  2. 87
    7
      ios/sdk/sdk.xcodeproj/project.pbxproj

+ 3
- 10
android/sdk/build.gradle 查看文件

@@ -156,16 +156,9 @@ android.libraryVariants.all { def variant ->
156 156
         // Bundle sounds
157 157
         //
158 158
         copy {
159
-            from("${projectDir}/../../sounds/incomingMessage.wav")
160
-            from("${projectDir}/../../sounds/joined.wav")
161
-            from("${projectDir}/../../sounds/left.wav")
162
-            from("${projectDir}/../../sounds/liveStreamingOn.mp3")
163
-            from("${projectDir}/../../sounds/liveStreamingOff.mp3")
164
-            from("${projectDir}/../../sounds/outgoingRinging.wav")
165
-            from("${projectDir}/../../sounds/outgoingStart.wav")
166
-            from("${projectDir}/../../sounds/recordingOn.mp3")
167
-            from("${projectDir}/../../sounds/recordingOff.mp3")
168
-            from("${projectDir}/../../sounds/rejected.wav")
159
+            from("${projectDir}/../../sounds")
160
+            include("*.wav")
161
+            include("*.mp3")
169 162
             into("${assetsDir}/sounds")
170 163
         }
171 164
 

+ 87
- 7
ios/sdk/sdk.xcodeproj/project.pbxproj 查看文件

@@ -46,6 +46,21 @@
46 46
 		C81E9AB925AC5AD800B134D9 /* ExternalAPI.h in Headers */ = {isa = PBXBuildFile; fileRef = C81E9AB825AC5AD800B134D9 /* ExternalAPI.h */; };
47 47
 		C8AFD27F2462C613000293D2 /* InfoPlistUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = C8AFD27D2462C613000293D2 /* InfoPlistUtil.h */; settings = {ATTRIBUTES = (Public, ); }; };
48 48
 		C8AFD2802462C613000293D2 /* InfoPlistUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = C8AFD27E2462C613000293D2 /* InfoPlistUtil.m */; };
49
+		DE29467B26D7D10A00C407A3 /* e2eeOn.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = DE29466426D7D10900C407A3 /* e2eeOn.mp3 */; };
50
+		DE29467C26D7D10A00C407A3 /* reactions–applause.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = DE29466626D7D10900C407A3 /* reactions–applause.mp3 */; };
51
+		DE29467D26D7D10A00C407A3 /* reactions–raised-hand.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = DE29466726D7D10900C407A3 /* reactions–raised-hand.mp3 */; };
52
+		DE29467E26D7D10A00C407A3 /* knock.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = DE29466826D7D10900C407A3 /* knock.mp3 */; };
53
+		DE29467F26D7D10A00C407A3 /* noAudioSignal.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = DE29466B26D7D10900C407A3 /* noAudioSignal.mp3 */; };
54
+		DE29468026D7D10A00C407A3 /* noisyAudioInput.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = DE29466C26D7D10900C407A3 /* noisyAudioInput.mp3 */; };
55
+		DE29468126D7D10A00C407A3 /* talkWhileMuted.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = DE29466D26D7D10900C407A3 /* talkWhileMuted.mp3 */; };
56
+		DE29468226D7D10A00C407A3 /* ring.wav in Resources */ = {isa = PBXBuildFile; fileRef = DE29466E26D7D10900C407A3 /* ring.wav */; };
57
+		DE29468326D7D10A00C407A3 /* ring.ogg in Resources */ = {isa = PBXBuildFile; fileRef = DE29466F26D7D10900C407A3 /* ring.ogg */; };
58
+		DE29468426D7D10A00C407A3 /* reactions–thumbs-up.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = DE29467126D7D10900C407A3 /* reactions–thumbs-up.mp3 */; };
59
+		DE29468526D7D10A00C407A3 /* reactions–crickets.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = DE29467226D7D10900C407A3 /* reactions–crickets.mp3 */; };
60
+		DE29468626D7D10A00C407A3 /* e2eeOff.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = DE29467326D7D10900C407A3 /* e2eeOff.mp3 */; };
61
+		DE29468726D7D10A00C407A3 /* reactions–boo.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = DE29467526D7D10900C407A3 /* reactions–boo.mp3 */; };
62
+		DE29468826D7D10A00C407A3 /* reactions–surprise.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = DE29467726D7D10A00C407A3 /* reactions–surprise.mp3 */; };
63
+		DE29468926D7D10A00C407A3 /* reactions-laughter.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = DE29467A26D7D10A00C407A3 /* reactions-laughter.mp3 */; };
49 64
 		DE438CDA2350934700DD541D /* JavaScriptSandbox.m in Sources */ = {isa = PBXBuildFile; fileRef = DE438CD82350934700DD541D /* JavaScriptSandbox.m */; };
50 65
 		DE65AACA2317FFCD00290BEC /* LogUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = DE65AAC92317FFCD00290BEC /* LogUtils.h */; };
51 66
 		DE65AACC2318028300290BEC /* JitsiMeetBaseLogHandler+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = DE65AACB2318028300290BEC /* JitsiMeetBaseLogHandler+Private.h */; };
@@ -113,6 +128,31 @@
113 128
 		C81E9AB825AC5AD800B134D9 /* ExternalAPI.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ExternalAPI.h; sourceTree = "<group>"; };
114 129
 		C8AFD27D2462C613000293D2 /* InfoPlistUtil.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = InfoPlistUtil.h; sourceTree = "<group>"; };
115 130
 		C8AFD27E2462C613000293D2 /* InfoPlistUtil.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InfoPlistUtil.m; sourceTree = "<group>"; };
131
+		DE29466226D7D10800C407A3 /* outgoingRinging.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; name = outgoingRinging.wav; path = ../../sounds/outgoingRinging.wav; sourceTree = "<group>"; };
132
+		DE29466326D7D10900C407A3 /* recordingOff.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = recordingOff.mp3; path = ../../sounds/recordingOff.mp3; sourceTree = "<group>"; };
133
+		DE29466426D7D10900C407A3 /* e2eeOn.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = e2eeOn.mp3; path = ../../sounds/e2eeOn.mp3; sourceTree = "<group>"; };
134
+		DE29466526D7D10900C407A3 /* rejected.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; name = rejected.wav; path = ../../sounds/rejected.wav; sourceTree = "<group>"; };
135
+		DE29466626D7D10900C407A3 /* reactions–applause.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = "reactions–applause.mp3"; path = "../../sounds/reactions–applause.mp3"; sourceTree = "<group>"; };
136
+		DE29466726D7D10900C407A3 /* reactions–raised-hand.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = "reactions–raised-hand.mp3"; path = "../../sounds/reactions–raised-hand.mp3"; sourceTree = "<group>"; };
137
+		DE29466826D7D10900C407A3 /* knock.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = knock.mp3; path = ../../sounds/knock.mp3; sourceTree = "<group>"; };
138
+		DE29466926D7D10900C407A3 /* left.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; name = left.wav; path = ../../sounds/left.wav; sourceTree = "<group>"; };
139
+		DE29466A26D7D10900C407A3 /* liveStreamingOn.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = liveStreamingOn.mp3; path = ../../sounds/liveStreamingOn.mp3; sourceTree = "<group>"; };
140
+		DE29466B26D7D10900C407A3 /* noAudioSignal.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = noAudioSignal.mp3; path = ../../sounds/noAudioSignal.mp3; sourceTree = "<group>"; };
141
+		DE29466C26D7D10900C407A3 /* noisyAudioInput.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = noisyAudioInput.mp3; path = ../../sounds/noisyAudioInput.mp3; sourceTree = "<group>"; };
142
+		DE29466D26D7D10900C407A3 /* talkWhileMuted.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = talkWhileMuted.mp3; path = ../../sounds/talkWhileMuted.mp3; sourceTree = "<group>"; };
143
+		DE29466E26D7D10900C407A3 /* ring.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; name = ring.wav; path = ../../sounds/ring.wav; sourceTree = "<group>"; };
144
+		DE29466F26D7D10900C407A3 /* ring.ogg */ = {isa = PBXFileReference; lastKnownFileType = file; name = ring.ogg; path = ../../sounds/ring.ogg; sourceTree = "<group>"; };
145
+		DE29467026D7D10900C407A3 /* incomingMessage.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; name = incomingMessage.wav; path = ../../sounds/incomingMessage.wav; sourceTree = "<group>"; };
146
+		DE29467126D7D10900C407A3 /* reactions–thumbs-up.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = "reactions–thumbs-up.mp3"; path = "../../sounds/reactions–thumbs-up.mp3"; sourceTree = "<group>"; };
147
+		DE29467226D7D10900C407A3 /* reactions–crickets.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = "reactions–crickets.mp3"; path = "../../sounds/reactions–crickets.mp3"; sourceTree = "<group>"; };
148
+		DE29467326D7D10900C407A3 /* e2eeOff.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = e2eeOff.mp3; path = ../../sounds/e2eeOff.mp3; sourceTree = "<group>"; };
149
+		DE29467426D7D10900C407A3 /* outgoingStart.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; name = outgoingStart.wav; path = ../../sounds/outgoingStart.wav; sourceTree = "<group>"; };
150
+		DE29467526D7D10900C407A3 /* reactions–boo.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = "reactions–boo.mp3"; path = "../../sounds/reactions–boo.mp3"; sourceTree = "<group>"; };
151
+		DE29467626D7D10900C407A3 /* liveStreamingOff.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = liveStreamingOff.mp3; path = ../../sounds/liveStreamingOff.mp3; sourceTree = "<group>"; };
152
+		DE29467726D7D10A00C407A3 /* reactions–surprise.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = "reactions–surprise.mp3"; path = "../../sounds/reactions–surprise.mp3"; sourceTree = "<group>"; };
153
+		DE29467826D7D10A00C407A3 /* joined.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; name = joined.wav; path = ../../sounds/joined.wav; sourceTree = "<group>"; };
154
+		DE29467926D7D10A00C407A3 /* recordingOn.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = recordingOn.mp3; path = ../../sounds/recordingOn.mp3; sourceTree = "<group>"; };
155
+		DE29467A26D7D10A00C407A3 /* reactions-laughter.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = "reactions-laughter.mp3"; path = "../../sounds/reactions-laughter.mp3"; sourceTree = "<group>"; };
116 156
 		DE438CD82350934700DD541D /* JavaScriptSandbox.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JavaScriptSandbox.m; sourceTree = "<group>"; };
117 157
 		DE65AAC92317FFCD00290BEC /* LogUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LogUtils.h; sourceTree = "<group>"; };
118 158
 		DE65AACB2318028300290BEC /* JitsiMeetBaseLogHandler+Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "JitsiMeetBaseLogHandler+Private.h"; sourceTree = "<group>"; };
@@ -155,7 +195,32 @@
155 195
 		0BCA49681EC4BBE500B793EE /* Resources */ = {
156 196
 			isa = PBXGroup;
157 197
 			children = (
198
+				DE29466426D7D10900C407A3 /* e2eeOn.mp3 */,
158 199
 				87FE6F3221E52437004A5DC7 /* incomingMessage.wav */,
200
+				DE29467326D7D10900C407A3 /* e2eeOff.mp3 */,
201
+				DE29467026D7D10900C407A3 /* incomingMessage.wav */,
202
+				DE29467826D7D10A00C407A3 /* joined.wav */,
203
+				DE29466826D7D10900C407A3 /* knock.mp3 */,
204
+				DE29466926D7D10900C407A3 /* left.wav */,
205
+				DE29467626D7D10900C407A3 /* liveStreamingOff.mp3 */,
206
+				DE29466A26D7D10900C407A3 /* liveStreamingOn.mp3 */,
207
+				DE29466B26D7D10900C407A3 /* noAudioSignal.mp3 */,
208
+				DE29466C26D7D10900C407A3 /* noisyAudioInput.mp3 */,
209
+				DE29466226D7D10800C407A3 /* outgoingRinging.wav */,
210
+				DE29467426D7D10900C407A3 /* outgoingStart.wav */,
211
+				DE29467A26D7D10A00C407A3 /* reactions-laughter.mp3 */,
212
+				DE29466626D7D10900C407A3 /* reactions–applause.mp3 */,
213
+				DE29467526D7D10900C407A3 /* reactions–boo.mp3 */,
214
+				DE29467226D7D10900C407A3 /* reactions–crickets.mp3 */,
215
+				DE29466726D7D10900C407A3 /* reactions–raised-hand.mp3 */,
216
+				DE29467726D7D10A00C407A3 /* reactions–surprise.mp3 */,
217
+				DE29467126D7D10900C407A3 /* reactions–thumbs-up.mp3 */,
218
+				DE29466326D7D10900C407A3 /* recordingOff.mp3 */,
219
+				DE29467926D7D10A00C407A3 /* recordingOn.mp3 */,
220
+				DE29466526D7D10900C407A3 /* rejected.wav */,
221
+				DE29466F26D7D10900C407A3 /* ring.ogg */,
222
+				DE29466E26D7D10900C407A3 /* ring.wav */,
223
+				DE29466D26D7D10900C407A3 /* talkWhileMuted.mp3 */,
159 224
 				0BC4B8681F8C01E100CE8B21 /* CallKitIcon.png */,
160 225
 				C6245F5B2053091D0040BE68 /* image-resize@2x.png */,
161 226
 				C6245F5C2053091D0040BE68 /* image-resize@3x.png */,
@@ -379,18 +444,33 @@
379 444
 			isa = PBXResourcesBuildPhase;
380 445
 			buildActionMask = 2147483647;
381 446
 			files = (
447
+				0B49424620AD8DBD00BD2DE0 /* outgoingRinging.wav in Resources */,
448
+				6C31EDCA20C06D530089C899 /* recordingOff.mp3 in Resources */,
449
+				DE29467B26D7D10A00C407A3 /* e2eeOn.mp3 in Resources */,
450
+				A4414AE020B37F1A003546E6 /* rejected.wav in Resources */,
451
+				DE29467C26D7D10A00C407A3 /* reactions–applause.mp3 in Resources */,
452
+				DE29467D26D7D10A00C407A3 /* reactions–raised-hand.mp3 in Resources */,
453
+				DE29467E26D7D10A00C407A3 /* knock.mp3 in Resources */,
454
+				75635B0B20751D6D00F29C9F /* left.wav in Resources */,
455
+				C30F88D2CB0F4F5593216D24 /* liveStreamingOn.mp3 in Resources */,
456
+				DE29467F26D7D10A00C407A3 /* noAudioSignal.mp3 in Resources */,
457
+				DE29468026D7D10A00C407A3 /* noisyAudioInput.mp3 in Resources */,
458
+				DE29468126D7D10A00C407A3 /* talkWhileMuted.mp3 in Resources */,
459
+				DE29468226D7D10A00C407A3 /* ring.wav in Resources */,
460
+				DE29468326D7D10A00C407A3 /* ring.ogg in Resources */,
382 461
 				87FE6F3321E52437004A5DC7 /* incomingMessage.wav in Resources */,
462
+				DE29468426D7D10A00C407A3 /* reactions–thumbs-up.mp3 in Resources */,
463
+				DE29468526D7D10A00C407A3 /* reactions–crickets.mp3 in Resources */,
464
+				DE29468626D7D10A00C407A3 /* e2eeOff.mp3 in Resources */,
383 465
 				0B49424520AD8DBD00BD2DE0 /* outgoingStart.wav in Resources */,
466
+				DE29468726D7D10A00C407A3 /* reactions–boo.mp3 in Resources */,
384 467
 				C30F88D0CB0F4F5593216D24 /* liveStreamingOff.mp3 in Resources */,
385
-				C30F88D2CB0F4F5593216D24 /* liveStreamingOn.mp3 in Resources */,
386
-				6C31EDCA20C06D530089C899 /* recordingOff.mp3 in Resources */,
387
-				A4414AE020B37F1A003546E6 /* rejected.wav in Resources */,
388
-				0B49424620AD8DBD00BD2DE0 /* outgoingRinging.wav in Resources */,
389
-				C6245F5D2053091D0040BE68 /* image-resize@2x.png in Resources */,
468
+				DE29468826D7D10A00C407A3 /* reactions–surprise.mp3 in Resources */,
469
+				75635B0A20751D6D00F29C9F /* joined.wav in Resources */,
390 470
 				6C31EDC820C06D490089C899 /* recordingOn.mp3 in Resources */,
471
+				DE29468926D7D10A00C407A3 /* reactions-laughter.mp3 in Resources */,
472
+				C6245F5D2053091D0040BE68 /* image-resize@2x.png in Resources */,
391 473
 				0BC4B8691F8C03A700CE8B21 /* CallKitIcon.png in Resources */,
392
-				75635B0B20751D6D00F29C9F /* left.wav in Resources */,
393
-				75635B0A20751D6D00F29C9F /* joined.wav in Resources */,
394 474
 				C6245F5E2053091D0040BE68 /* image-resize@3x.png in Resources */,
395 475
 			);
396 476
 			runOnlyForDeploymentPostprocessing = 0;

正在加载...
取消
保存