Skip to content

Commit 2c0a0e4

Browse files
committed
fix(android): add missing setIOsSleepBeforeStarting stub for new arch
- The CKCameraManagerInterface requires setIOsSleepBeforeStarting to be implemented, but the Android new architecture implementation was missing this method stub. This caused Kotlin compilation failures when building release APKs.
1 parent cc6515b commit 2c0a0e4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

android/src/newarch/java/com/rncamerakit/CKCameraManager.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ class CKCameraManager(context: ReactApplicationContext) : SimpleViewManager<CKCa
155155
}
156156

157157
// Methods only available on iOS
158+
override fun setIOsSleepBeforeStarting(view: CKCamera?, value: Int) = Unit
159+
158160
override fun setRatioOverlay(view: CKCamera?, value: String?) = Unit
159161

160162
override fun setRatioOverlayColor(view: CKCamera?, value: Int?) = Unit

0 commit comments

Comments
 (0)