Skip to content

Commit 1ed32fa

Browse files
committed
Update
1 parent 697b35a commit 1ed32fa

39 files changed

+97
-28
lines changed

pkgs/cupertino_http/darwin/Classes/CUPHTTPClientDelegate.m

Lines changed: 0 additions & 1 deletion
This file was deleted.

pkgs/cupertino_http/darwin/Classes/CUPHTTPCompletionHelper.m

Lines changed: 0 additions & 1 deletion
This file was deleted.

pkgs/cupertino_http/darwin/Classes/CUPHTTPForwardedDelegate.m

Lines changed: 0 additions & 1 deletion
This file was deleted.

pkgs/cupertino_http/darwin/Classes/CUPHTTPStreamToNSInputStreamAdapter.m

Lines changed: 0 additions & 1 deletion
This file was deleted.

pkgs/cupertino_http/darwin/Classes/dart_api_dl.c

Lines changed: 0 additions & 1 deletion
This file was deleted.

pkgs/cupertino_http/darwin/cupertino_http.podspec

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ Pod::Spec.new do |s|
1313
s.license = { :type => 'BSD', :file => '../LICENSE' }
1414
s.author = { 'TODO' => 'use-valid-author' }
1515

16-
# This will ensure the source files in Classes/ are included in the native
17-
# builds of apps using this FFI plugin. Podspec does not support relative
18-
# paths, so Classes contains a forwarder C file that relatively imports
19-
# `../src/*` so that the C sources can be shared among all target platforms.
20-
s.source = { :path => '.' }
2116
s.source_files = 'cupertino_http/Sources/cupertino_http/**/*'
2217
s.ios.dependency 'Flutter'
2318
s.osx.dependency 'FlutterMacOS'

pkgs/cupertino_http/ios/cupertino_http/Package.swift renamed to pkgs/cupertino_http/darwin/cupertino_http/Package.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ let package = Package(
77
name: "cupertino_http",
88
platforms: [
99
.iOS("12.0"),
10+
.macOS("10.4"),
1011
],
1112
products: [
1213
.library(name: "cupertino-http", targets: ["cupertino_http"])
@@ -31,6 +32,7 @@ let package = Package(
3132
],
3233
cSettings: [
3334
// TODO: Update your plugin name.
35+
.headerSearchPath("include")
3436
.headerSearchPath("include/cupertino_http")
3537
]
3638
)

pkgs/cupertino_http/example/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*.swp
66
.DS_Store
77
.atom/
8+
.build/
89
.buildlog/
910
.history
1011
.svn/
12+
.swiftpm/
1113
migrate_working_dir/
1214

1315
# IntelliJ related
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package io.flutter.plugins;
2+
3+
import androidx.annotation.Keep;
4+
import androidx.annotation.NonNull;
5+
import io.flutter.Log;
6+
7+
import io.flutter.embedding.engine.FlutterEngine;
8+
9+
/**
10+
* Generated file. Do not edit.
11+
* This file is generated by the Flutter tool based on the
12+
* plugins that support the Android platform.
13+
*/
14+
@Keep
15+
public final class GeneratedPluginRegistrant {
16+
private static final String TAG = "GeneratedPluginRegistrant";
17+
public static void registerWith(@NonNull FlutterEngine flutterEngine) {
18+
try {
19+
flutterEngine.getPlugins().add(new dev.flutter.plugins.integration_test.IntegrationTestPlugin());
20+
} catch (Exception e) {
21+
Log.e(TAG, "Error registering plugin integration_test, dev.flutter.plugins.integration_test.IntegrationTestPlugin", e);
22+
}
23+
}
24+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sdk.dir=/Users/bquinlan/Library/Android/sdk
2+
flutter.sdk=/Users/bquinlan/flutter
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
//
2+
// Generated file. Do not edit.
3+
//
4+
5+
// clang-format off
6+
7+
#include "generated_plugin_registrant.h"
8+
9+
10+
void fl_register_plugins(FlPluginRegistry* registry) {
11+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// Generated file. Do not edit.
3+
//
4+
5+
// clang-format off
6+
7+
#ifndef GENERATED_PLUGIN_REGISTRANT_
8+
#define GENERATED_PLUGIN_REGISTRANT_
9+
10+
#include <flutter_linux/flutter_linux.h>
11+
12+
// Registers Flutter plugins.
13+
void fl_register_plugins(FlPluginRegistry* registry);
14+
15+
#endif // GENERATED_PLUGIN_REGISTRANT_
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#
2+
# Generated file, do not edit.
3+
#
4+
5+
list(APPEND FLUTTER_PLUGIN_LIST
6+
)
7+
8+
list(APPEND FLUTTER_FFI_PLUGIN_LIST
9+
)
10+
11+
set(PLUGIN_BUNDLED_LIBRARIES)
12+
13+
foreach(plugin ${FLUTTER_PLUGIN_LIST})
14+
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
15+
target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
16+
list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
17+
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
18+
endforeach(plugin)
19+
20+
foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
21+
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
22+
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
23+
endforeach(ffi_plugin)

pkgs/cupertino_http/example/macos/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
platform :osx, '10.13'
1+
platform :osx, '10.14'
22

33
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
44
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
PODS:
22
- cupertino_http (0.0.1):
3+
- Flutter
34
- FlutterMacOS
45
- FlutterMacOS (1.0.0)
56

67
DEPENDENCIES:
7-
- cupertino_http (from `Flutter/ephemeral/.symlinks/plugins/cupertino_http/macos`)
8+
- cupertino_http (from `Flutter/ephemeral/.symlinks/plugins/cupertino_http/darwin`)
89
- FlutterMacOS (from `Flutter/ephemeral`)
910

1011
EXTERNAL SOURCES:
1112
cupertino_http:
12-
:path: Flutter/ephemeral/.symlinks/plugins/cupertino_http/macos
13+
:path: Flutter/ephemeral/.symlinks/plugins/cupertino_http/darwin
1314
FlutterMacOS:
1415
:path: Flutter/ephemeral
1516

1617
SPEC CHECKSUMS:
17-
cupertino_http: afa11b9e2786b62da2671e4ddd32caf792503748
18-
FlutterMacOS: 85f90bfb3f1703249cf1539e4dfbff31e8584698
18+
cupertino_http: 1c08a57f2f5de1fb61844cf904b226be50f2bee1
19+
FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
1920

20-
PODFILE CHECKSUM: a884f6dd3f7494f3892ee6c81feea3a3abbf9153
21+
PODFILE CHECKSUM: 353c8bcc5d5b0994e508d035b5431cfe18c1dea7
2122

22-
COCOAPODS: 1.11.2
23+
COCOAPODS: 1.15.2

pkgs/cupertino_http/example/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
isa = PBXProject;
204204
attributes = {
205205
LastSwiftUpdateCheck = 0920;
206-
LastUpgradeCheck = 1300;
206+
LastUpgradeCheck = 1510;
207207
ORGANIZATIONNAME = "";
208208
TargetAttributes = {
209209
33CC10EC2044A3C60003C045 = {
@@ -405,7 +405,7 @@
405405
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
406406
GCC_WARN_UNUSED_FUNCTION = YES;
407407
GCC_WARN_UNUSED_VARIABLE = YES;
408-
MACOSX_DEPLOYMENT_TARGET = 10.13;
408+
MACOSX_DEPLOYMENT_TARGET = 10.14;
409409
MTL_ENABLE_DEBUG_INFO = NO;
410410
SDKROOT = macosx;
411411
SWIFT_COMPILATION_MODE = wholemodule;
@@ -484,7 +484,7 @@
484484
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
485485
GCC_WARN_UNUSED_FUNCTION = YES;
486486
GCC_WARN_UNUSED_VARIABLE = YES;
487-
MACOSX_DEPLOYMENT_TARGET = 10.13;
487+
MACOSX_DEPLOYMENT_TARGET = 10.14;
488488
MTL_ENABLE_DEBUG_INFO = YES;
489489
ONLY_ACTIVE_ARCH = YES;
490490
SDKROOT = macosx;
@@ -531,7 +531,7 @@
531531
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
532532
GCC_WARN_UNUSED_FUNCTION = YES;
533533
GCC_WARN_UNUSED_VARIABLE = YES;
534-
MACOSX_DEPLOYMENT_TARGET = 10.13;
534+
MACOSX_DEPLOYMENT_TARGET = 10.14;
535535
MTL_ENABLE_DEBUG_INFO = NO;
536536
SDKROOT = macosx;
537537
SWIFT_COMPILATION_MODE = wholemodule;

pkgs/cupertino_http/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1300"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
import Cocoa
22
import FlutterMacOS
33

4-
@NSApplicationMain
4+
@main
55
class AppDelegate: FlutterAppDelegate {
66
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
77
return true
88
}
9+
10+
override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
11+
return true
12+
}
913
}

pkgs/cupertino_http/ios/Sources/cupertino_http/CUPHTTPClientDelegate.m

Lines changed: 0 additions & 1 deletion
This file was deleted.

pkgs/cupertino_http/ios/Sources/cupertino_http/CUPHTTPCompletionHelper.m

Lines changed: 0 additions & 1 deletion
This file was deleted.

pkgs/cupertino_http/ios/Sources/cupertino_http/CUPHTTPForwardedDelegate.m

Lines changed: 0 additions & 1 deletion
This file was deleted.

pkgs/cupertino_http/ios/Sources/cupertino_http/CUPHTTPStreamToNSInputStreamAdapter.m

Lines changed: 0 additions & 1 deletion
This file was deleted.

pkgs/cupertino_http/ios/Sources/cupertino_http/dart_api_dl.c

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)