Test update to 0.4.0

This commit is contained in:
Phani Pavan K
2023-04-05 19:15:46 +05:30
parent 3270f1f7a7
commit c2d73f1d45
96 changed files with 732 additions and 587 deletions

1
ios/.gitignore vendored
View File

@@ -34,4 +34,5 @@ Icon?
.tags*
/Flutter/Generated.xcconfig
/Flutter/ephemeral/
/Flutter/flutter_export_environment.sh

View File

@@ -1,4 +0,0 @@
#import <Flutter/Flutter.h>
@interface ModalProgressHudNsnPlugin : NSObject<FlutterPlugin>
@end

View File

@@ -1,15 +0,0 @@
#import "ModalProgressHudNsnPlugin.h"
#if __has_include(<modal_progress_hud_nsn/modal_progress_hud_nsn-Swift.h>)
#import <modal_progress_hud_nsn/modal_progress_hud_nsn-Swift.h>
#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 "modal_progress_hud_nsn-Swift.h"
#endif
@implementation ModalProgressHudNsnPlugin
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
[SwiftModalProgressHudNsnPlugin registerWithRegistrar:registrar];
}
@end

View File

@@ -1,10 +1,10 @@
import Flutter
import UIKit
public class SwiftModalProgressHudNsnPlugin: NSObject, FlutterPlugin {
public class ModalProgressHudNsnPlugin: NSObject, FlutterPlugin {
public static func register(with registrar: FlutterPluginRegistrar) {
let channel = FlutterMethodChannel(name: "modal_progress_hud_nsn", binaryMessenger: registrar.messenger())
let instance = SwiftModalProgressHudNsnPlugin()
let instance = ModalProgressHudNsnPlugin()
registrar.addMethodCallDelegate(instance, channel: channel)
}

View File

@@ -5,9 +5,9 @@
Pod::Spec.new do |s|
s.name = 'modal_progress_hud_nsn'
s.version = '0.0.1'
s.summary = 'A new flutter plugin project.'
s.summary = 'A new Flutter plugin project.'
s.description = <<-DESC
A new flutter plugin project.
A new Flutter plugin project.
DESC
s.homepage = 'http://example.com'
s.license = { :file => '../LICENSE' }
@@ -15,7 +15,7 @@ A new flutter plugin project.
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.platform = :ios, '8.0'
s.platform = :ios, '9.0'
# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }