Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type 'YBOptions' has no member 'fromDictionary' #130

Open
michelecocuccio opened this issue Dec 6, 2023 · 0 comments
Open

type 'YBOptions' has no member 'fromDictionary' #130

michelecocuccio opened this issue Dec 6, 2023 · 0 comments

Comments

@michelecocuccio
Copy link

Hello, even after adding the pre-install script in the Podfile (which works fine), I get this error immediately after. Any clue?

❌  (node_modules/@theoplayer/react-native-analytics-youbora/ios/THEOplayerYouboraRCTYouboraAPI.swift:36:41)

  34 |             let theView = self.bridge.uiManager.view(forReactTag: node) as? THEOplayerRCTView
  35 |             if let player = theView?.player {
> 36 |                 let options = YBOptions.fromDictionary(youboraOptions)
     |                                         ^ type 'YBOptions' has no member 'fromDictionary'
  37 |                 let plugin = YBPlugin(options: options)
  38 |                 plugin.adapter = YBTHEOPlayerAdapter(player: player)
  39 |                 self.connectors[node] = plugin


❌  (node_modules/@theoplayer/react-native-analytics-youbora/ios/THEOplayerYouboraRCTYouboraAPI.swift:36:41)

  34 |             let theView = self.bridge.uiManager.view(forReactTag: node) as? THEOplayerRCTView
  35 |             if let player = theView?.player {
> 36 |                 let options = YBOptions.fromDictionary(youboraOptions)
     |                                         ^ type 'YBOptions' has no member 'fromDictionary'
  37 |                 let plugin = YBPlugin(options: options)
  38 |                 plugin.adapter = YBTHEOPlayerAdapter(player: player)
  39 |                 self.connectors[node] = plugin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant