diff --git a/assets_audio_player_web/android/.gitignore b/assets_audio_player_web/android/.gitignore deleted file mode 100644 index c6cbe562..00000000 --- a/assets_audio_player_web/android/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/workspace.xml -/.idea/libraries -.DS_Store -/build -/captures diff --git a/assets_audio_player_web/android/build.gradle b/assets_audio_player_web/android/build.gradle deleted file mode 100644 index 2e503b1e..00000000 --- a/assets_audio_player_web/android/build.gradle +++ /dev/null @@ -1,47 +0,0 @@ -group 'com.github.florent37.assets_audio_player_web' -version '1.0-SNAPSHOT' - -buildscript { - ext.kotlin_version = '1.7.10' - repositories { - google() - mavenCentral() - } - - dependencies { - classpath 'com.android.tools.build:gradle:7.3.1' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - } -} - -rootProject.allprojects { - repositories { - google() - mavenCentral() - } -} - -apply plugin: 'com.android.library' -apply plugin: 'kotlin-android' -android { - compileSdkVersion 28 - - if (project.android.hasProperty("namespace")) { - namespace 'com.github.florent37.assets_audio_player_web' - } - - sourceSets { - main.java.srcDirs += 'src/main/kotlin' - } - defaultConfig { - minSdkVersion 16 - } - lintOptions { - disable 'InvalidPackage' - } -} - -dependencies { - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation "androidx.annotation:annotation:1.5.0" -} diff --git a/assets_audio_player_web/android/gradle.properties b/assets_audio_player_web/android/gradle.properties deleted file mode 100644 index 94adc3a3..00000000 --- a/assets_audio_player_web/android/gradle.properties +++ /dev/null @@ -1,3 +0,0 @@ -org.gradle.jvmargs=-Xmx1536M -android.useAndroidX=true -android.enableJetifier=true diff --git a/assets_audio_player_web/android/gradle/wrapper/gradle-wrapper.properties b/assets_audio_player_web/android/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 4d9c443c..00000000 --- a/assets_audio_player_web/android/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Fri Nov 04 15:36:21 CET 2022 -distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip -distributionPath=wrapper/dists -zipStorePath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME diff --git a/assets_audio_player_web/android/settings.gradle b/assets_audio_player_web/android/settings.gradle deleted file mode 100644 index f47a2dd7..00000000 --- a/assets_audio_player_web/android/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -rootProject.name = 'assets_audio_player_web' diff --git a/assets_audio_player_web/android/src/main/AndroidManifest.xml b/assets_audio_player_web/android/src/main/AndroidManifest.xml deleted file mode 100644 index ce0a935b..00000000 --- a/assets_audio_player_web/android/src/main/AndroidManifest.xml +++ /dev/null @@ -1,3 +0,0 @@ - - diff --git a/assets_audio_player_web/android/src/main/kotlin/com/github/florent37/assets_audio_player_web/AssetsAudioPlayerWebPlugin.kt b/assets_audio_player_web/android/src/main/kotlin/com/github/florent37/assets_audio_player_web/AssetsAudioPlayerWebPlugin.kt deleted file mode 100644 index 42896c5f..00000000 --- a/assets_audio_player_web/android/src/main/kotlin/com/github/florent37/assets_audio_player_web/AssetsAudioPlayerWebPlugin.kt +++ /dev/null @@ -1,37 +0,0 @@ -@file:Suppress("EmptyMethod", "EmptyMethod", "EmptyMethod", "EmptyMethod") - -package com.github.florent37.assets_audio_player_web - -import androidx.annotation.NonNull; - -import io.flutter.embedding.engine.plugins.FlutterPlugin -import io.flutter.plugin.common.MethodCall -import io.flutter.plugin.common.MethodChannel -import io.flutter.plugin.common.MethodChannel.MethodCallHandler -import io.flutter.plugin.common.MethodChannel.Result -import io.flutter.plugin.common.PluginRegistry.Registrar - -/** AssetsAudioPlayerWebPlugin */ -public class AssetsAudioPlayerWebPlugin: FlutterPlugin, MethodCallHandler { - - private lateinit var channel : MethodChannel - - override fun onAttachedToEngine(flutterPluginBinding: FlutterPlugin.FlutterPluginBinding) { - //no-op for compatibility - } - - companion object { - @JvmStatic - fun registerWith(registrar: Registrar) { - //no-op for compatibility - } - } - - override fun onMethodCall(call: MethodCall, result: Result) { - //no-op for compatibility - } - - override fun onDetachedFromEngine(binding: FlutterPlugin.FlutterPluginBinding) { - //no-op for compatibility - } -} diff --git a/assets_audio_player_web/ios/.gitignore b/assets_audio_player_web/ios/.gitignore deleted file mode 100644 index aa479fd3..00000000 --- a/assets_audio_player_web/ios/.gitignore +++ /dev/null @@ -1,37 +0,0 @@ -.idea/ -.vagrant/ -.sconsign.dblite -.svn/ - -.DS_Store -*.swp -profile - -DerivedData/ -build/ -GeneratedPluginRegistrant.h -GeneratedPluginRegistrant.m - -.generated/ - -*.pbxuser -*.mode1v3 -*.mode2v3 -*.perspectivev3 - -!default.pbxuser -!default.mode1v3 -!default.mode2v3 -!default.perspectivev3 - -xcuserdata - -*.moved-aside - -*.pyc -*sync/ -Icon? -.tags* - -/Flutter/Generated.xcconfig -/Flutter/flutter_export_environment.sh \ No newline at end of file diff --git a/assets_audio_player_web/ios/Assets/.gitkeep b/assets_audio_player_web/ios/Assets/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/assets_audio_player_web/ios/Classes/AssetsAudioPlayerWebPlugin.h b/assets_audio_player_web/ios/Classes/AssetsAudioPlayerWebPlugin.h deleted file mode 100644 index 8c44c876..00000000 --- a/assets_audio_player_web/ios/Classes/AssetsAudioPlayerWebPlugin.h +++ /dev/null @@ -1,4 +0,0 @@ -#import - -@interface AssetsAudioPlayerWebPlugin : NSObject -@end diff --git a/assets_audio_player_web/ios/Classes/AssetsAudioPlayerWebPlugin.m b/assets_audio_player_web/ios/Classes/AssetsAudioPlayerWebPlugin.m deleted file mode 100644 index 015af033..00000000 --- a/assets_audio_player_web/ios/Classes/AssetsAudioPlayerWebPlugin.m +++ /dev/null @@ -1,15 +0,0 @@ -#import "AssetsAudioPlayerWebPlugin.h" -#if __has_include() -#import -#else -// Support project import fallback if the generated compatibility header -// is not copied when this plugin is created as a library. -// https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816 -#import "assets_audio_player_web-Swift.h" -#endif - -@implementation AssetsAudioPlayerWebPlugin -+ (void)registerWithRegistrar:(NSObject*)registrar { - [SwiftAssetsAudioPlayerWebPlugin registerWithRegistrar:registrar]; -} -@end diff --git a/assets_audio_player_web/ios/Classes/SwiftAssetsAudioPlayerWebPlugin.swift b/assets_audio_player_web/ios/Classes/SwiftAssetsAudioPlayerWebPlugin.swift deleted file mode 100644 index a40941c8..00000000 --- a/assets_audio_player_web/ios/Classes/SwiftAssetsAudioPlayerWebPlugin.swift +++ /dev/null @@ -1,12 +0,0 @@ -import Flutter -import UIKit - -public class SwiftAssetsAudioPlayerWebPlugin: NSObject, FlutterPlugin { - public static func register(with registrar: FlutterPluginRegistrar) { - //no-op for compatibility - } - - public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) { - //no-op for compatibility - } -} diff --git a/assets_audio_player_web/ios/assets_audio_player_web.podspec b/assets_audio_player_web/ios/assets_audio_player_web.podspec deleted file mode 100644 index 8a24cf18..00000000 --- a/assets_audio_player_web/ios/assets_audio_player_web.podspec +++ /dev/null @@ -1,23 +0,0 @@ -# -# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. -# Run `pod lib lint assets_audio_player_web.podspec' to validate before publishing. -# -Pod::Spec.new do |s| - s.name = 'assets_audio_player_web' - s.version = '0.0.1' - s.summary = 'A new Flutter plugin.' - s.description = <<-DESC -A new Flutter plugin. - DESC - s.homepage = 'http://example.com' - s.license = { :file => '../LICENSE' } - s.author = { 'Your Company' => 'email@example.com' } - s.source = { :path => '.' } - s.source_files = 'Classes/**/*' - s.dependency 'Flutter' - s.platform = :ios, '8.0' - - # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported. - s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } - s.swift_version = '5.0' -end diff --git a/assets_audio_player_web/macos/Classes/AssetsAudioPlayerWebPlugin.swift b/assets_audio_player_web/macos/Classes/AssetsAudioPlayerWebPlugin.swift deleted file mode 100644 index cc6b438e..00000000 --- a/assets_audio_player_web/macos/Classes/AssetsAudioPlayerWebPlugin.swift +++ /dev/null @@ -1,19 +0,0 @@ -import Cocoa -import FlutterMacOS - -public class AssetsAudioPlayerWebPlugin: NSObject, FlutterPlugin { - public static func register(with registrar: FlutterPluginRegistrar) { - let channel = FlutterMethodChannel(name: "assets_audio_player_web", binaryMessenger: registrar.messenger) - let instance = AssetsAudioPlayerWebPlugin() - registrar.addMethodCallDelegate(instance, channel: channel) - } - - public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) { - switch call.method { - case "getPlatformVersion": - result("macOS " + ProcessInfo.processInfo.operatingSystemVersionString) - default: - result(FlutterMethodNotImplemented) - } - } -} diff --git a/assets_audio_player_web/macos/Flutter/ephemeral/Flutter-Generated.xcconfig b/assets_audio_player_web/macos/Flutter/ephemeral/Flutter-Generated.xcconfig deleted file mode 100644 index 5d70cfb7..00000000 --- a/assets_audio_player_web/macos/Flutter/ephemeral/Flutter-Generated.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -// This is a generated file; do not edit or check into version control. -FLUTTER_ROOT=/Users/yasinilhan/flutter -FLUTTER_APPLICATION_PATH=/Users/yasinilhan/data/Projects/plugins/Flutter-AssetsAudioPlayer/assets_audio_player_web -FLUTTER_BUILD_DIR=build -FLUTTER_BUILD_NAME=3.0.3 -FLUTTER_BUILD_NUMBER=6 -EXCLUDED_ARCHS=arm64 -DART_OBFUSCATION=false -TRACK_WIDGET_CREATION=false -TREE_SHAKE_ICONS=false -PACKAGE_CONFIG=.packages diff --git a/assets_audio_player_web/macos/Flutter/ephemeral/flutter_export_environment.sh b/assets_audio_player_web/macos/Flutter/ephemeral/flutter_export_environment.sh deleted file mode 100755 index 50863a1d..00000000 --- a/assets_audio_player_web/macos/Flutter/ephemeral/flutter_export_environment.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# This is a generated file; do not edit or check into version control. -export "FLUTTER_ROOT=/Users/yasinilhan/flutter" -export "FLUTTER_APPLICATION_PATH=/Users/yasinilhan/data/Projects/plugins/Flutter-AssetsAudioPlayer/assets_audio_player_web" -export "FLUTTER_BUILD_DIR=build" -export "FLUTTER_BUILD_NAME=3.0.3" -export "FLUTTER_BUILD_NUMBER=6" -export "EXCLUDED_ARCHS=arm64" -export "DART_OBFUSCATION=false" -export "TRACK_WIDGET_CREATION=false" -export "TREE_SHAKE_ICONS=false" -export "PACKAGE_CONFIG=.packages" diff --git a/assets_audio_player_web/macos/assets_audio_player_web.podspec b/assets_audio_player_web/macos/assets_audio_player_web.podspec deleted file mode 100644 index 264b2a9a..00000000 --- a/assets_audio_player_web/macos/assets_audio_player_web.podspec +++ /dev/null @@ -1,22 +0,0 @@ -# -# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. -# Run `pod lib lint assets_audio_player_web.podspec' to validate before publishing. -# -Pod::Spec.new do |s| - s.name = 'assets_audio_player_web' - s.version = '0.0.1' - s.summary = 'A new Flutter plugin.' - s.description = <<-DESC -A new Flutter plugin. - DESC - s.homepage = 'http://example.com' - s.license = { :file => '../LICENSE' } - s.author = { 'Your Company' => 'email@example.com' } - s.source = { :path => '.' } - s.source_files = 'Classes/**/*' - s.dependency 'FlutterMacOS' - - s.platform = :osx, '10.11' - s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } - s.swift_version = '5.0' -end diff --git a/assets_audio_player_web/pubspec.yaml b/assets_audio_player_web/pubspec.yaml index f6a4f509..ca5922ca 100644 --- a/assets_audio_player_web/pubspec.yaml +++ b/assets_audio_player_web/pubspec.yaml @@ -30,13 +30,6 @@ flutter: # adding or updating assets for this project. plugin: platforms: - android: - package: com.github.florent37.assets_audio_player_web - pluginClass: AssetsAudioPlayerWebPlugin - ios: - pluginClass: AssetsAudioPlayerWebPlugin - macos: - pluginClass: AssetsAudioPlayerWebPlugin web: pluginClass: AssetsAudioPlayerWebPlugin - fileName: web/assets_audio_player_web.dart \ No newline at end of file + fileName: web/assets_audio_player_web.dart