Skip to content

Commit

Permalink
Fix iOS build (#117)
Browse files Browse the repository at this point in the history
## Description

- Fixed Swift function placeholder

## Motivation and Context

- After refactor we probably overlooked the change

## How has this been tested?

- Build iOS

## Types of changes

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to
      not work as expected)

## Checklist:

- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.

## Screenshots (if appropriate)
  • Loading branch information
MiloszFilimowski authored Sep 17, 2024
1 parent a39bafe commit 4d453f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-native-client/ios/RNFishjamClientModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public class RNFishjamClientModule: Module {
return client
}()

AsyncFunction("connect") {
AsyncFunction("joinRoom") {
(
url: String, participantToken: String, participantMetadata: [String: Any], config: ConnectConfig,
promise: Promise
Expand Down Expand Up @@ -136,7 +136,7 @@ public class RNFishjamClientModule: Module {
}

AsyncFunction("switchCamera") { (cameraId: String) in
try rnFishjamClient.switchCamera(captureDeviceId: cameraId)
try rnFishjamClient.switchCamera(cameraId: cameraId)
}

Property("cameras") {
Expand Down

0 comments on commit 4d453f6

Please sign in to comment.