Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ios/ContractConstants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ extension VideoEditorReactNative {
static let errLicenseRevoked = "ERR_SDK_LICENSE_REVOKED"
static let errMissingHost = "ERR_MISSING_HOST"
static let errMissingExportResult = "ERR_MISSING_EXPORT_RESULT"
static let errVideoExportCancel = "ERR_VIDEO_EXPORT_CANCEL"

static let inputParamToken = "token"
static let inputParamFeaturesConfig = "featuresConfig"
Expand Down
2 changes: 1 addition & 1 deletion ios/VideoEditorModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ extension VideoEditorModule: BanubaVideoEditorDelegate {
self.videoEditorSDK?.clearSessionData()
}
self.videoEditorSDK = nil
self.currentReject?(VideoEditorReactNative.errMissingExportResult, VideoEditorReactNative.errMessageVideoExportCancel, nil)
self.currentReject?(VideoEditorReactNative.errVideoExportCancel, VideoEditorReactNative.errMessageVideoExportCancel, nil)
}
}

Expand Down