@hortemo/expo-photos 5.0.0 → 7.0.0
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/ios/ExpoPhotos.podspec
CHANGED
|
@@ -244,6 +244,7 @@ public final class ExpoPhotos: Module {
|
|
|
244
244
|
|
|
245
245
|
try await withCheckedThrowingContinuation {
|
|
246
246
|
(continuation: CheckedContinuation<Void, Error>) in
|
|
247
|
+
nonisolated(unsafe) let exportSession = exportSession
|
|
247
248
|
exportSession.exportAsynchronously {
|
|
248
249
|
switch exportSession.status {
|
|
249
250
|
case .completed:
|
|
@@ -292,9 +293,11 @@ public final class ExpoPhotos: Module {
|
|
|
292
293
|
return picker
|
|
293
294
|
}
|
|
294
295
|
|
|
296
|
+
let pickerId = await MainActor.run { picker.id }
|
|
297
|
+
|
|
295
298
|
return try await withCheckedThrowingContinuation {
|
|
296
299
|
(continuation: CheckedContinuation<[[String: Any]], Error>) in
|
|
297
|
-
self.pickAssetsContinuations[
|
|
300
|
+
self.pickAssetsContinuations[pickerId] = continuation
|
|
298
301
|
|
|
299
302
|
Task {
|
|
300
303
|
await viewController.present(picker, animated: true, completion: nil)
|
package/package.json
CHANGED
package/ExpoPhotos.podspec
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
require 'json'
|
|
2
|
-
|
|
3
|
-
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
4
|
-
|
|
5
|
-
Pod::Spec.new do |s|
|
|
6
|
-
s.name = 'ExpoPhotos'
|
|
7
|
-
s.version = package['version']
|
|
8
|
-
s.summary = package['description']
|
|
9
|
-
s.description = package['description']
|
|
10
|
-
s.license = package['license']
|
|
11
|
-
s.author = package['author']
|
|
12
|
-
s.homepage = package['homepage']
|
|
13
|
-
s.platform = :ios, '15.0'
|
|
14
|
-
s.swift_version = '5.9'
|
|
15
|
-
s.source = { git: package['repository'] || 'https://github.com/hortemo/expo-photos' }
|
|
16
|
-
s.static_framework = true
|
|
17
|
-
|
|
18
|
-
s.dependency 'ExpoModulesCore'
|
|
19
|
-
s.dependency 'React-Core'
|
|
20
|
-
s.dependency 'SDWebImageWebPCoder', '0.15.0'
|
|
21
|
-
|
|
22
|
-
s.source_files = 'ios/**/*.{h,m,swift}'
|
|
23
|
-
s.requires_arc = true
|
|
24
|
-
end
|