react-native-tpstreams 0.2.5 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,9 +20,7 @@ rootProject.allprojects {
20
20
  repositories {
21
21
  mavenCentral() // Ensure this line is here
22
22
  google()
23
- maven {
24
- url "https://github.com/testpress/TPStreamsAndroidPlayerMaven/raw/main/repo"
25
- }
23
+ maven { url 'https://jitpack.io' }
26
24
  }
27
25
  }
28
26
 
@@ -84,7 +82,7 @@ def kotlin_version = getExtOrDefault("kotlinVersion")
84
82
  dependencies {
85
83
  implementation "com.facebook.react:react-android"
86
84
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
87
- implementation "com.tpstreams:tpstreams-player:0.0.5"
85
+ implementation 'com.github.testpress:TPStreamsAndroidPlayer:1.0.2'
88
86
  }
89
87
 
90
88
  react {
@@ -1,4 +1,4 @@
1
- Tpstreams_kotlinVersion=2.0.21
1
+ Tpstreams_kotlinVersion=2.2.0
2
2
  Tpstreams_minSdkVersion=24
3
3
  Tpstreams_targetSdkVersion=34
4
4
  Tpstreams_compileSdkVersion=35
@@ -3,7 +3,7 @@ package com.tpstreams
3
3
  import com.facebook.react.bridge.ReactApplicationContext
4
4
  import com.facebook.react.bridge.ReactContextBaseJavaModule
5
5
  import com.facebook.react.bridge.ReactMethod
6
- import com.tpstreams.player.TPStreamsPlayer
6
+ import com.tpstreams.player.TPStreamsSDK
7
7
 
8
8
  class TPStreamsRNModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaModule(reactContext) {
9
9
 
@@ -13,6 +13,6 @@ class TPStreamsRNModule(reactContext: ReactApplicationContext) : ReactContextBas
13
13
 
14
14
  @ReactMethod
15
15
  fun initialize(organizationId: String) {
16
- TPStreamsPlayer.init(organizationId)
16
+ TPStreamsSDK.init(organizationId)
17
17
  }
18
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-tpstreams",
3
- "version": "0.2.5",
3
+ "version": "0.2.8",
4
4
  "description": "Video component for TPStreams",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",