react-native-okhi 1.2.7 → 1.2.8
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/Okhi.swift
CHANGED
|
@@ -186,8 +186,9 @@ class Okhi: RCTEventEmitter {
|
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
@objc public func onStart(_ resolve:@escaping RCTPromiseResolveBlock, reject:RCTPromiseRejectBlock) {
|
|
189
|
-
OkVerify.onStart
|
|
190
|
-
|
|
189
|
+
OkVerify.onStart { result in
|
|
190
|
+
resolve(result)
|
|
191
|
+
}
|
|
191
192
|
}
|
|
192
193
|
}
|
|
193
194
|
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
|
|
|
17
17
|
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
|
18
18
|
|
|
19
19
|
s.dependency "React-Core"
|
|
20
|
-
s.dependency "OkHi", "1.9.
|
|
20
|
+
s.dependency "OkHi", "1.9.28"
|
|
21
21
|
|
|
22
22
|
# Don't install the dependencies when we run `pod install` in the old architecture.
|
|
23
23
|
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
|
package/src/OkCollect/app.json
CHANGED