@functionland/react-native-fula 1.55.20 → 1.56.2
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/android/build.gradle +1 -1
- package/ios/Fula.swift +2 -2
- package/package.json +1 -1
- package/react-native-fula.podspec +1 -1
package/android/build.gradle
CHANGED
|
@@ -98,7 +98,7 @@ dependencies {
|
|
|
98
98
|
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
|
|
99
99
|
//noinspection GradleDynamicVersion
|
|
100
100
|
implementation "com.facebook.react:react-android:+"
|
|
101
|
-
implementation 'com.github.functionland:fula-build-aar:v1.
|
|
101
|
+
implementation 'com.github.functionland:fula-build-aar:v1.56.2' // From jitpack.io
|
|
102
102
|
implementation 'com.github.functionland:wnfs-android:v1.8.8' // From jitpack.io
|
|
103
103
|
implementation 'commons-io:commons-io:20030203.000550'
|
|
104
104
|
implementation 'commons-codec:commons-codec:1.16.0'
|
package/ios/Fula.swift
CHANGED
|
@@ -2219,7 +2219,7 @@ func streamChunks(streamID: String, resolve: @escaping RCTPromiseResolveBlock, r
|
|
|
2219
2219
|
throw MyError.runtimeError("ReactNative Fula client is not initialized")
|
|
2220
2220
|
}
|
|
2221
2221
|
|
|
2222
|
-
let iterator = fula.getStreamIterator(streamID)
|
|
2222
|
+
let iterator = try fula.getStreamIterator(streamID)
|
|
2223
2223
|
// Iterator is now non-optional, no need for nil check
|
|
2224
2224
|
|
|
2225
2225
|
// Start listening for chunks on the main thread
|
|
@@ -2264,7 +2264,7 @@ private func pollIterator(iterator: FulamobileStreamIterator, resolve: @escaping
|
|
|
2264
2264
|
} else if errorMessage.contains("timeout") {
|
|
2265
2265
|
// Retry on timeout
|
|
2266
2266
|
DispatchQueue.main.async {
|
|
2267
|
-
self.pollIterator(iterator: iterator
|
|
2267
|
+
self.pollIterator(iterator: iterator, resolve: resolve, reject: reject)
|
|
2268
2268
|
}
|
|
2269
2269
|
} else {
|
|
2270
2270
|
self.emitEvent(eventName: "onStreamError", data: errorMessage)
|
package/package.json
CHANGED
|
@@ -38,7 +38,7 @@ Pod::Spec.new do |s|
|
|
|
38
38
|
s.dependency "ReactCommon/turbomodule/core"
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
|
-
s.dependency 'Fula','~> 1.
|
|
41
|
+
s.dependency 'Fula','~> 1.56.2'
|
|
42
42
|
s.dependency "Wnfs", "1.1.1"
|
|
43
43
|
s.dependency 'CryptoSwift', '~> 1.7.1'
|
|
44
44
|
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
|