Skip to content

Commit

Permalink
Rename ouisync_plugin to ouisync in MacOS code
Browse files Browse the repository at this point in the history
  • Loading branch information
inetic committed Jul 12, 2024
1 parent 7e59805 commit 3be2d13
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion bindings/dart/example/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
10 changes: 5 additions & 5 deletions bindings/dart/example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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"

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bindings/dart/example/macos/RunnerTests/RunnerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down
2 changes: 1 addition & 1 deletion bindings/dart/ios/Classes/SwiftOuisyncPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion bindings/dart/ios/ouisync_plugin.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bindings/dart/macos/Classes/OuisyncPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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 protected]' }
s.author = { 'eQualitie' => '[email protected]' }

s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
Expand Down
2 changes: 1 addition & 1 deletion bindings/dart/windows/ouisync_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void OuisyncPlugin::RegisterWithRegistrar(
flutter::PluginRegistrarWindows *registrar) {
auto channel =
std::make_unique<flutter::MethodChannel<flutter::EncodableValue>>(
registrar->messenger(), "ouisync_plugin",
registrar->messenger(), "ouisync",
&flutter::StandardMethodCodec::GetInstance());

auto plugin = std::make_unique<OuisyncPlugin>();
Expand Down

0 comments on commit 3be2d13

Please sign in to comment.