diff --git a/bindings/dart/example/README.md b/bindings/dart/example/README.md index 204a44875..3ecc81cd7 100644 --- a/bindings/dart/example/README.md +++ b/bindings/dart/example/README.md @@ -1,6 +1,6 @@ # ouisync_plugin_example -Demonstrates how to use the ouisync_plugin plugin. +Demonstrates how to use the ouisync plugin plugin. ## Getting Started diff --git a/bindings/dart/example/ios/Podfile.lock b/bindings/dart/example/ios/Podfile.lock index 25df4de6a..c2833c46d 100644 --- a/bindings/dart/example/ios/Podfile.lock +++ b/bindings/dart/example/ios/Podfile.lock @@ -34,7 +34,7 @@ PODS: - DKImagePickerController/PhotoGallery - Flutter - Flutter (1.0.0) - - ouisync_plugin (0.0.1): + - ouisync (0.0.1): - Flutter - path_provider_foundation (0.0.1): - Flutter @@ -47,7 +47,7 @@ PODS: DEPENDENCIES: - file_picker (from `.symlinks/plugins/file_picker/ios`) - Flutter (from `Flutter`) - - ouisync_plugin (from `.symlinks/plugins/ouisync_plugin/ios`) + - ouisync (from `.symlinks/plugins/ouisync/ios`) - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) SPEC REPOS: @@ -62,8 +62,8 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/file_picker/ios" Flutter: :path: Flutter - ouisync_plugin: - :path: ".symlinks/plugins/ouisync_plugin/ios" + ouisync: + :path: ".symlinks/plugins/ouisync/ios" path_provider_foundation: :path: ".symlinks/plugins/path_provider_foundation/darwin" @@ -72,7 +72,7 @@ SPEC CHECKSUMS: DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179 file_picker: 15fd9539e4eb735dc54bae8c0534a7a9511a03de Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 - ouisync_plugin: 62b9c297dd5936ed592166786517e6990d93d6dc + ouisync: 62b9c297dd5936ed592166786517e6990d93d6dc path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943 SDWebImage: 981fd7e860af070920f249fd092420006014c3eb SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f diff --git a/bindings/dart/example/macos/RunnerTests/RunnerTests.swift b/bindings/dart/example/macos/RunnerTests/RunnerTests.swift index 1f3830fe2..92cec2ae6 100644 --- a/bindings/dart/example/macos/RunnerTests/RunnerTests.swift +++ b/bindings/dart/example/macos/RunnerTests/RunnerTests.swift @@ -2,7 +2,7 @@ import FlutterMacOS import Cocoa import XCTest -@testable import ouisync_plugin +@testable import ouisync // This demonstrates a simple unit test of the Swift portion of this plugin's implementation. // diff --git a/bindings/dart/ios/Classes/SwiftOuisyncPlugin.swift b/bindings/dart/ios/Classes/SwiftOuisyncPlugin.swift index 0f818a575..a88797df9 100644 --- a/bindings/dart/ios/Classes/SwiftOuisyncPlugin.swift +++ b/bindings/dart/ios/Classes/SwiftOuisyncPlugin.swift @@ -3,7 +3,7 @@ import UIKit public class SwiftOuisyncPlugin: NSObject, FlutterPlugin { public static func register(with registrar: FlutterPluginRegistrar) { - let channel = FlutterMethodChannel(name: "ouisync_plugin", binaryMessenger: registrar.messenger()) + let channel = FlutterMethodChannel(name: "ouisync", binaryMessenger: registrar.messenger()) let instance = SwiftOuisyncPlugin() registrar.addMethodCallDelegate(instance, channel: channel) } diff --git a/bindings/dart/ios/ouisync_plugin.podspec b/bindings/dart/ios/ouisync_plugin.podspec index e993ee4b6..5b57b7263 100644 --- a/bindings/dart/ios/ouisync_plugin.podspec +++ b/bindings/dart/ios/ouisync_plugin.podspec @@ -3,7 +3,7 @@ # Run `pod lib lint ouisync_plugin.podspec` to validate before publishing. # Pod::Spec.new do |s| - s.name = 'ouisync_plugin' + s.name = 'ouisync' s.version = '0.0.1' s.summary = 'A new flutter plugin project.' s.description = <<-DESC diff --git a/bindings/dart/macos/Classes/OuisyncPlugin.swift b/bindings/dart/macos/Classes/OuisyncPlugin.swift index 1b39919fc..a8a873a7a 100644 --- a/bindings/dart/macos/Classes/OuisyncPlugin.swift +++ b/bindings/dart/macos/Classes/OuisyncPlugin.swift @@ -3,7 +3,7 @@ import FlutterMacOS public class OuisyncPlugin: NSObject, FlutterPlugin { public static func register(with registrar: FlutterPluginRegistrar) { - let channel = FlutterMethodChannel(name: "ouisync_plugin", binaryMessenger: registrar.messenger) + let channel = FlutterMethodChannel(name: "ouisync", binaryMessenger: registrar.messenger) let instance = OuisyncPlugin() registrar.addMethodCallDelegate(instance, channel: channel) } diff --git a/bindings/dart/macos/ouisync_plugin.podspec b/bindings/dart/macos/ouisync.podspec similarity index 72% rename from bindings/dart/macos/ouisync_plugin.podspec rename to bindings/dart/macos/ouisync.podspec index 70a01c512..c6ce7d77d 100644 --- a/bindings/dart/macos/ouisync_plugin.podspec +++ b/bindings/dart/macos/ouisync.podspec @@ -1,17 +1,17 @@ # # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. -# Run `pod lib lint ouisync_plugin.podspec` to validate before publishing. +# Run `pod lib lint ouisync.podspec` to validate before publishing. # Pod::Spec.new do |s| - s.name = 'ouisync_plugin' + s.name = 'ouisync' s.version = '0.0.1' - s.summary = 'A new Flutter plugin project.' + s.summary = 'Ouisync flutter plugin.' s.description = <<-DESC A new Flutter plugin project. DESC s.homepage = 'http://example.com' s.license = { :file => '../LICENSE' } - s.author = { 'Your Company' => 'email@example.com' } + s.author = { 'eQualitie' => 'support@ouisync.net' } s.source = { :path => '.' } s.source_files = 'Classes/**/*' diff --git a/bindings/dart/windows/ouisync_plugin.cpp b/bindings/dart/windows/ouisync_plugin.cpp index d196e26fe..32358b20c 100644 --- a/bindings/dart/windows/ouisync_plugin.cpp +++ b/bindings/dart/windows/ouisync_plugin.cpp @@ -36,7 +36,7 @@ void OuisyncPlugin::RegisterWithRegistrar( flutter::PluginRegistrarWindows *registrar) { auto channel = std::make_unique>( - registrar->messenger(), "ouisync_plugin", + registrar->messenger(), "ouisync", &flutter::StandardMethodCodec::GetInstance()); auto plugin = std::make_unique();