diff --git a/modules/vlc-player/android/.gradle/8.9/checksums/checksums.lock b/modules/vlc-player/android/.gradle/8.9/checksums/checksums.lock deleted file mode 100644 index d3a90046..00000000 Binary files a/modules/vlc-player/android/.gradle/8.9/checksums/checksums.lock and /dev/null differ diff --git a/modules/vlc-player/android/.gradle/8.9/dependencies-accessors/gc.properties b/modules/vlc-player/android/.gradle/8.9/dependencies-accessors/gc.properties deleted file mode 100644 index e69de29b..00000000 diff --git a/modules/vlc-player/android/.gradle/8.9/fileChanges/last-build.bin b/modules/vlc-player/android/.gradle/8.9/fileChanges/last-build.bin deleted file mode 100644 index f76dd238..00000000 Binary files a/modules/vlc-player/android/.gradle/8.9/fileChanges/last-build.bin and /dev/null differ diff --git a/modules/vlc-player/android/.gradle/8.9/fileHashes/fileHashes.lock b/modules/vlc-player/android/.gradle/8.9/fileHashes/fileHashes.lock deleted file mode 100644 index da9ec570..00000000 Binary files a/modules/vlc-player/android/.gradle/8.9/fileHashes/fileHashes.lock and /dev/null differ diff --git a/modules/vlc-player/android/.gradle/8.9/gc.properties b/modules/vlc-player/android/.gradle/8.9/gc.properties deleted file mode 100644 index e69de29b..00000000 diff --git a/modules/vlc-player/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/modules/vlc-player/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock deleted file mode 100644 index f105b879..00000000 Binary files a/modules/vlc-player/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock and /dev/null differ diff --git a/modules/vlc-player/android/.gradle/buildOutputCleanup/cache.properties b/modules/vlc-player/android/.gradle/buildOutputCleanup/cache.properties deleted file mode 100644 index 799d484f..00000000 --- a/modules/vlc-player/android/.gradle/buildOutputCleanup/cache.properties +++ /dev/null @@ -1,2 +0,0 @@ -#Thu Oct 10 22:31:55 AEDT 2024 -gradle.version=8.9 diff --git a/modules/vlc-player/android/.gradle/vcs-1/gc.properties b/modules/vlc-player/android/.gradle/vcs-1/gc.properties deleted file mode 100644 index e69de29b..00000000 diff --git a/modules/vlc-player/android/build.gradle b/modules/vlc-player/android/build.gradle deleted file mode 100644 index ccc7cf47..00000000 --- a/modules/vlc-player/android/build.gradle +++ /dev/null @@ -1,43 +0,0 @@ -apply plugin: 'com.android.library' - -group = 'expo.modules.vlcplayer' -version = '0.6.0' - -def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle") -apply from: expoModulesCorePlugin -applyKotlinExpoModulesCorePlugin() -useCoreDependencies() -useExpoPublishing() - -// If you want to use the managed Android SDK versions from expo-modules-core, set this to true. -// The Android SDK versions will be bumped from time to time in SDK releases and may introduce breaking changes in your module code. -// Most of the time, you may like to manage the Android SDK versions yourself. -def useManagedAndroidSdkVersions = false -if (useManagedAndroidSdkVersions) { - useDefaultAndroidSdkVersions() -} else { - buildscript { - // Simple helper that allows the root project to override versions declared by this library. - ext.safeExtGet = { prop, fallback -> - rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback - } - } - project.android { - compileSdkVersion safeExtGet("compileSdkVersion", 34) - defaultConfig { - minSdkVersion safeExtGet("minSdkVersion", 21) - targetSdkVersion safeExtGet("targetSdkVersion", 34) - } - } -} - -android { - namespace "expo.modules.vlcplayer" - defaultConfig { - versionCode 1 - versionName "0.6.0" - } - lintOptions { - abortOnError false - } -} diff --git a/modules/vlc-player/android/src/main/AndroidManifest.xml b/modules/vlc-player/android/src/main/AndroidManifest.xml deleted file mode 100644 index bdae66c8..00000000 --- a/modules/vlc-player/android/src/main/AndroidManifest.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/modules/vlc-player/android/src/main/java/expo/modules/vlcplayer/VlcPlayerModule.kt b/modules/vlc-player/android/src/main/java/expo/modules/vlcplayer/VlcPlayerModule.kt deleted file mode 100644 index 729ccb57..00000000 --- a/modules/vlc-player/android/src/main/java/expo/modules/vlcplayer/VlcPlayerModule.kt +++ /dev/null @@ -1,47 +0,0 @@ -package expo.modules.vlcplayer - -import expo.modules.kotlin.modules.Module -import expo.modules.kotlin.modules.ModuleDefinition - -class VlcPlayerModule : Module() { - // Each module class must implement the definition function. The definition consists of components - // that describes the module's functionality and behavior. - // See https://docs.expo.dev/modules/module-api for more details about available components. - override fun definition() = ModuleDefinition { - // Sets the name of the module that JavaScript code will use to refer to the module. Takes a string as an argument. - // Can be inferred from module's class name, but it's recommended to set it explicitly for clarity. - // The module will be accessible from `requireNativeModule('VlcPlayer')` in JavaScript. - Name("VlcPlayer") - - // Sets constant properties on the module. Can take a dictionary or a closure that returns a dictionary. - Constants( - "PI" to Math.PI - ) - - // Defines event names that the module can send to JavaScript. - Events("onChange") - - // Defines a JavaScript synchronous function that runs the native code on the JavaScript thread. - Function("hello") { - "Hello world! 👋" - } - - // Defines a JavaScript function that always returns a Promise and whose native code - // is by default dispatched on the different thread than the JavaScript runtime runs on. - AsyncFunction("setValueAsync") { value: String -> - // Send an event to JavaScript. - sendEvent("onChange", mapOf( - "value" to value - )) - } - - // Enables the module to be used as a native view. Definition components that are accepted as part of - // the view definition: Prop, Events. - View(VlcPlayerView::class) { - // Defines a setter for the `name` prop. - Prop("name") { view: VlcPlayerView, prop: String -> - println(prop) - } - } - } -} diff --git a/modules/vlc-player/android/src/main/java/expo/modules/vlcplayer/VlcPlayerView.kt b/modules/vlc-player/android/src/main/java/expo/modules/vlcplayer/VlcPlayerView.kt deleted file mode 100644 index 3f0855ca..00000000 --- a/modules/vlc-player/android/src/main/java/expo/modules/vlcplayer/VlcPlayerView.kt +++ /dev/null @@ -1,7 +0,0 @@ -package expo.modules.vlcplayer - -import android.content.Context -import expo.modules.kotlin.AppContext -import expo.modules.kotlin.views.ExpoView - -class VlcPlayerView(context: Context, appContext: AppContext) : ExpoView(context, appContext) diff --git a/modules/vlc-player/expo-module.config.json b/modules/vlc-player/expo-module.config.json index 2fbd3167..181ae212 100644 --- a/modules/vlc-player/expo-module.config.json +++ b/modules/vlc-player/expo-module.config.json @@ -1,5 +1,5 @@ { - "platforms": ["ios", "tvos", "android", "web"], + "platforms": ["ios"], "ios": { "modules": ["VlcPlayerModule"] },