@@ -17,8 +17,8 @@ npm install @theoplayer/react-native-analytics-youbora
1717Create the connector by providing the ` THEOplayer ` instance, the ` appId ` provided by Youbora, and ` instanceName `
1818that describes the player or site, and an optional set of ` YouboraOptions ` :
1919
20- ``` jsx
21- import { useYoubora } from ' @theoplayer/react-native-analytics-youbora' ;
20+ ``` tsx
21+ import { useYoubora , youbora } from ' @theoplayer/react-native-analytics-youbora' ;
2222
2323const youboraOptions: youbora .Options = {
2424 ' accountCode' : ' powerdev' ,
@@ -50,7 +50,7 @@ const youboraOptions: youbora.Options = {
5050};
5151
5252const App = () => {
53- const [youbora , initYoubora ] = useYoubora (youboraOptions, youbora .Log .Level .DEBUG );
53+ const [_youboraConnector , initYoubora] = useYoubora (youboraOptions , youbora .Log .Level .DEBUG );
5454
5555 const onPlayerReady = (player : THEOplayer ) => {
5656 // Initialize Youbora connector
@@ -78,7 +78,7 @@ the app's Podfile still needs to include a dependency to the THEOplayerSDK by ad
7878 tvos_youbora_target.dependent_targets <<= tvos_theoplayer_target
7979 end
8080```
81- If you are using a single target project this reduces to
81+ If you are using a single target project this reduces to
8282``` ruby
8383 pre_install do |installer |
8484 youbora_target = installer.pod_targets.find { |t | t.name == " YouboraTHEOPlayerAdapter" }
0 commit comments