From a8da97af8b1876b095b8b17ab0b9cbba488b6cb8 Mon Sep 17 00:00:00 2001 From: Alexander Demchuk Date: Mon, 26 Aug 2024 13:45:02 +0200 Subject: [PATCH] fix: fixed naming --- .../{ExpoPlayAudioStream.kt => ExpoPlayAudioStreamModule.kt} | 2 +- expo-module.config.json | 4 ++-- ...oPlayAudioStream.swift => ExpoPlayAudioStreamModule.swift} | 0 package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename android/src/main/java/expo/modules/audiostream/{ExpoPlayAudioStream.kt => ExpoPlayAudioStreamModule.kt} (99%) rename ios/{ExpoPlayAudioStream.swift => ExpoPlayAudioStreamModule.swift} (100%) diff --git a/android/src/main/java/expo/modules/audiostream/ExpoPlayAudioStream.kt b/android/src/main/java/expo/modules/audiostream/ExpoPlayAudioStreamModule.kt similarity index 99% rename from android/src/main/java/expo/modules/audiostream/ExpoPlayAudioStream.kt rename to android/src/main/java/expo/modules/audiostream/ExpoPlayAudioStreamModule.kt index 30ef32c..18ab362 100644 --- a/android/src/main/java/expo/modules/audiostream/ExpoPlayAudioStream.kt +++ b/android/src/main/java/expo/modules/audiostream/ExpoPlayAudioStreamModule.kt @@ -42,7 +42,7 @@ class ExpoPlayAudioStreamModule : Module() { private var isPlaying = false override fun definition() = ModuleDefinition { - Name("ExpoAudioStreamKin") + Name("ExpoPlayAudioStream") OnCreate { initializeAudioTrack() diff --git a/expo-module.config.json b/expo-module.config.json index a05e94d..2a292b5 100644 --- a/expo-module.config.json +++ b/expo-module.config.json @@ -1,9 +1,9 @@ { "platforms": ["ios", "android"], "ios": { - "modules": ["ExpoPlayAudioStream"] + "modules": ["ExpoPlayAudioStreamModule"] }, "android": { - "modules": ["expo.modules.audiostream.ExpoPlayAudioStream"] + "modules": ["expo.modules.audiostream.ExpoPlayAudioStreamModule"] } } diff --git a/ios/ExpoPlayAudioStream.swift b/ios/ExpoPlayAudioStreamModule.swift similarity index 100% rename from ios/ExpoPlayAudioStream.swift rename to ios/ExpoPlayAudioStreamModule.swift diff --git a/package.json b/package.json index 007d27f..20ee67f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mykin-ai/expo-audio-stream", - "version": "0.1.25", + "version": "0.1.26", "description": "Expo Play Audio Stream module", "main": "build/index.js", "types": "build/index.d.ts",