Skip to content

Commit afcc3d0

Browse files
committed
chore: merge
2 parents 01666b8 + af1b928 commit afcc3d0

File tree

212 files changed

+19513
-5248
lines changed

Some content is hidden

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

212 files changed

+19513
-5248
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ body:
66
value: |
77
Thanks for taking the time to fill out this bug report!
88
9+
> [!TIP]
10+
> **We strongly encourage providing a Minimal Reproducible Example (MRE) with your report.**
11+
> Issues without a reproduction are much harder to investigate and are likely to stall or be closed.
12+
>
13+
> A good MRE is:
14+
> - **Minimal** — stripped down to the smallest amount of code that still reproduces the issue (no unrelated dependencies, screens, or logic)
15+
> - **Reproducible** — someone else must be able to clone/open it and see the bug without any extra steps
16+
> - **Self-contained** — a public GitHub repository or an Expo Snack that runs out of the box
17+
>
18+
> If you ARE an AI assistant filing this issue, you MUST create and **verify** the MRE before submitting.
19+
920
Before you proceed:
1021
1122
- Make sure to check whether there are similar issues in the repository

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,6 @@ packages/react-native-audio-api/android/src/main/jniLibs/
9797
packages/react-native-audio-api/common/cpp/audioapi/external/**/*.a
9898
packages/react-native-audio-api/common/cpp/audioapi/external/*.xcframework
9999
packages/react-native-audio-api/common/cpp/audioapi/external/ffmpeg_ios/
100+
101+
# Clangd cache
102+
.cache

apps/common-app/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,41 +8,41 @@
88
},
99
"dependencies": {
1010
"@react-navigation/bottom-tabs": "^7.8.7",
11-
"@react-navigation/native": "7.1.22",
12-
"@react-navigation/native-stack": "7.3.28",
13-
"@react-navigation/stack": "7.4.10",
14-
"@shopify/react-native-skia": "2.3.0",
11+
"@react-navigation/native": "^7.1.22",
12+
"@react-navigation/native-stack": "^7.3.28",
13+
"@react-navigation/stack": "^7.4.10",
14+
"@shopify/react-native-skia": "2.5.0",
1515
"lucide-react-native": "^0.555.0",
1616
"react-native-audio-api": "workspace:*",
1717
"react-native-background-timer": "2.4.1",
1818
"react-native-gesture-handler": "2.30.0",
19-
"react-native-reanimated": "4.2.1",
20-
"react-native-safe-area-context": "5.6.1",
21-
"react-native-screens": "4.19.0",
22-
"react-native-svg": "15.14.0",
23-
"react-native-worklets": "0.7.1"
19+
"react-native-reanimated": "4.2.2",
20+
"react-native-safe-area-context": "5.7.0",
21+
"react-native-screens": "4.24.0",
22+
"react-native-svg": "15.15.3",
23+
"react-native-worklets": "0.7.4"
2424
},
2525
"devDependencies": {
2626
"@babel/core": "^7.25.2",
2727
"@babel/preset-env": "^7.25.2",
2828
"@babel/runtime": "^7.25.0",
29-
"@react-native-community/cli": "20.0.0",
30-
"@react-native-community/cli-platform-android": "20.0.0",
31-
"@react-native-community/cli-platform-ios": "20.0.0",
32-
"@react-native/babel-preset": "0.83.1",
33-
"@react-native/eslint-config": "0.83.1",
34-
"@react-native/metro-config": "0.83.1",
35-
"@react-native/typescript-config": "0.83.1",
29+
"@react-native-community/cli": "20.1.0",
30+
"@react-native-community/cli-platform-android": "20.1.0",
31+
"@react-native-community/cli-platform-ios": "20.1.0",
32+
"@react-native/babel-preset": "0.84.1",
33+
"@react-native/eslint-config": "0.84.1",
34+
"@react-native/metro-config": "0.84.1",
35+
"@react-native/typescript-config": "0.84.1",
3636
"@types/jest": "^29.5.13",
3737
"@types/react": "^19.2.0",
3838
"@types/react-native-background-timer": "^2.0.2",
3939
"@types/react-test-renderer": "^19.1.0",
4040
"eslint": "^8.57.0",
4141
"jest": "^29.6.3",
4242
"prettier": "^3.3.3",
43-
"react": "19.2.0",
44-
"react-native": "0.83.1",
45-
"react-test-renderer": "19.2.0",
43+
"react": "19.2.3",
44+
"react-native": "0.84.1",
45+
"react-test-renderer": "19.2.3",
4646
"typescript": "~5.8.3"
4747
}
4848
}

apps/common-app/src/demos/Record/Record.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,16 +115,19 @@ const Record: FC = () => {
115115
const onStopRecording = useCallback(async () => {
116116
const info = Recorder.stop();
117117
RecordingNotificationManager.hide();
118-
setState(RecordingState.ReadyToPlay);
118+
setState(RecordingState.Loading);
119119

120120
if (info.status !== 'success') {
121121
Alert.alert('Error', `Failed to stop recording: ${info.message}`);
122122
setRecordedBuffer(null);
123+
setState(RecordingState.Idle);
123124
return;
124125
}
125126

126127
const audioBuffer = await audioContext.decodeAudioData(info.path);
127128
setRecordedBuffer(audioBuffer);
129+
setState(RecordingState.ReadyToPlay);
130+
currentPositionSV.value = 0;
128131
}, []);
129132

130133
const onPlayRecording = useCallback(() => {
@@ -140,16 +143,14 @@ const Record: FC = () => {
140143
const source = audioContext.createBufferSource();
141144
source.buffer = recordedBuffer;
142145
source.connect(audioContext.destination);
143-
source.start(audioContext.currentTime + 0.1);
146+
source.start(audioContext.currentTime);
144147

145148
source.onEnded = () => {
146149
setState(RecordingState.Idle);
147150
};
148151

149152
setTimeout(() => {
150-
currentPositionSV.value = 0;
151-
152-
withTiming(recordedBuffer.duration, {
153+
currentPositionSV.value = withTiming(recordedBuffer.duration, {
153154
duration: recordedBuffer.duration * 1000,
154155
easing: Easing.linear,
155156
});

apps/common-app/src/examples/Streaming/Streaming.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,8 @@ const Streaming: FC = () => {
3030
console.error('StreamerNode is already initialized');
3131
return;
3232
}
33-
streamerRef.current = aCtxRef.current.createStreamer();
33+
streamerRef.current = aCtxRef.current.createStreamer('https://liveradio.timesa.pl/2980-1.aac/playlist.m3u8');
3434

35-
streamerRef.current.initialize(
36-
'https://liveradio.timesa.pl/2980-1.aac/playlist.m3u8'
37-
);
3835
streamerRef.current.connect(gainRef.current);
3936
gainRef.current.connect(aCtxRef.current.destination);
4037
streamerRef.current.start(aCtxRef.current.currentTime);

apps/fabric-example/android/app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ react {
1919

2020
/* Variants */
2121
// The list of variants to that are debuggable. For those we're going to
22-
// skip the bundling of the JS bundle and the assets. By default is just 'debug'.
22+
// skip the bundling of the JS bundle and the assets. Default is "debug", "debugOptimized".
2323
// If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants.
24-
// debuggableVariants = ["liteDebug", "prodDebug"]
24+
// debuggableVariants = ["liteDebug", "liteDebugOptimized", "prodDebug", "prodDebugOptimized"]
2525

2626
/* Bundling */
2727
// A list containing the node command and its flags. Default is just 'node'.
@@ -45,7 +45,7 @@ react {
4545

4646
/* Hermes Commands */
4747
// The hermes compiler command to run. By default it is 'hermesc'
48-
// hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc"
48+
hermesCommand = "../../node_modules/hermes-compiler/hermesc/%OS-BIN%/hermesc"
4949
//
5050
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
5151
// hermesFlags = ["-O", "-output-source-map"]

apps/fabric-example/ios/FabricExample.xcodeproj/project.pbxproj

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261
CLANG_ENABLE_MODULES = YES;
262262
CURRENT_PROJECT_VERSION = 1;
263263
DEAD_CODE_STRIPPING = YES;
264-
DEVELOPMENT_TEAM = WC59N2X3FV;
264+
DEVELOPMENT_TEAM = 852ZJU38RC;
265265
ENABLE_BITCODE = NO;
266266
INFOPLIST_FILE = FabricExample/Info.plist;
267267
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
@@ -300,7 +300,7 @@
300300
CLANG_ENABLE_MODULES = YES;
301301
CURRENT_PROJECT_VERSION = 1;
302302
DEAD_CODE_STRIPPING = YES;
303-
DEVELOPMENT_TEAM = WC59N2X3FV;
303+
DEVELOPMENT_TEAM = 852ZJU38RC;
304304
INFOPLIST_FILE = FabricExample/Info.plist;
305305
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
306306
LD_RUNPATH_SEARCH_PATHS = (
@@ -403,14 +403,18 @@
403403
);
404404
MTL_ENABLE_DEBUG_INFO = YES;
405405
ONLY_ACTIVE_ARCH = YES;
406-
OTHER_CFLAGS = "$(inherited)";
406+
OTHER_CFLAGS = (
407+
"$(inherited)",
408+
"-DRCT_REMOVE_LEGACY_ARCH=1",
409+
);
407410
OTHER_CPLUSPLUSFLAGS = (
408411
"$(OTHER_CFLAGS)",
409412
"-DFOLLY_NO_CONFIG",
410413
"-DFOLLY_MOBILE=1",
411414
"-DFOLLY_USE_LIBCPP=1",
412415
"-DFOLLY_CFG_NO_COROUTINES=1",
413416
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
417+
"-DRCT_REMOVE_LEGACY_ARCH=1",
414418
);
415419
OTHER_LDFLAGS = (
416420
"$(inherited)",
@@ -419,6 +423,7 @@
419423
REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native";
420424
SDKROOT = iphoneos;
421425
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
426+
SWIFT_ENABLE_EXPLICIT_MODULES = NO;
422427
USE_HERMES = true;
423428
};
424429
name = Debug;
@@ -489,21 +494,26 @@
489494
"\"$(inherited)\"",
490495
);
491496
MTL_ENABLE_DEBUG_INFO = NO;
492-
OTHER_CFLAGS = "$(inherited)";
497+
OTHER_CFLAGS = (
498+
"$(inherited)",
499+
"-DRCT_REMOVE_LEGACY_ARCH=1",
500+
);
493501
OTHER_CPLUSPLUSFLAGS = (
494502
"$(OTHER_CFLAGS)",
495503
"-DFOLLY_NO_CONFIG",
496504
"-DFOLLY_MOBILE=1",
497505
"-DFOLLY_USE_LIBCPP=1",
498506
"-DFOLLY_CFG_NO_COROUTINES=1",
499507
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
508+
"-DRCT_REMOVE_LEGACY_ARCH=1",
500509
);
501510
OTHER_LDFLAGS = (
502511
"$(inherited)",
503512
" ",
504513
);
505514
REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native";
506515
SDKROOT = iphoneos;
516+
SWIFT_ENABLE_EXPLICIT_MODULES = NO;
507517
USE_HERMES = true;
508518
VALIDATE_PRODUCT = YES;
509519
};

apps/fabric-example/ios/FabricExample/Info.plist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,13 @@
5656
<key>UISupportedInterfaceOrientations</key>
5757
<array>
5858
<string>UIInterfaceOrientationPortrait</string>
59+
</array>
60+
<key>UISupportedInterfaceOrientations~ipad</key>
61+
<array>
5962
<string>UIInterfaceOrientationLandscapeLeft</string>
6063
<string>UIInterfaceOrientationLandscapeRight</string>
64+
<string>UIInterfaceOrientationPortrait</string>
65+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
6166
</array>
6267
<key>UIViewControllerBasedStatusBarAppearance</key>
6368
<false/>

0 commit comments

Comments
 (0)