cocoapods-embed-flutter 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/.vscode/extensions.json +6 -0
  3. data/CHANGELOG.md +42 -0
  4. data/Gemfile +1 -0
  5. data/Gemfile.lock +62 -4
  6. data/README.md +29 -1
  7. data/Rakefile +19 -8
  8. data/cocoapods-embed-flutter.gemspec +12 -11
  9. data/lib/cocoapods-embed-flutter/flutter/external_sources.rb +14 -7
  10. data/lib/cocoapods-embed-flutter/gem_version.rb +1 -1
  11. data/lib/cocoapods-embed-flutter/src/pub.rb +4 -1
  12. metadata +8 -33
  13. data/.github/config/config.js +0 -21
  14. data/.github/config/package-lock.json +0 -223
  15. data/.github/config/package.json +0 -16
  16. data/.github/config/pre_changelog_hook.js +0 -27
  17. data/.github/dependabot.yml +0 -23
  18. data/.github/workflows/main.yml +0 -146
  19. data/example/flutter_module/.gitignore +0 -48
  20. data/example/flutter_module/.metadata +0 -10
  21. data/example/flutter_module/README.md +0 -11
  22. data/example/flutter_module/analysis_options.yaml +0 -4
  23. data/example/flutter_module/flutter_module.iml +0 -18
  24. data/example/flutter_module/flutter_module_android.iml +0 -27
  25. data/example/flutter_module/lib/main.dart +0 -112
  26. data/example/flutter_module/pubspec.lock +0 -174
  27. data/example/flutter_module/pubspec.yaml +0 -87
  28. data/example/flutter_module/test/widget_test.dart +0 -30
  29. data/example/ios_app/Gemfile +0 -4
  30. data/example/ios_app/Gemfile.lock +0 -110
  31. data/example/ios_app/Podfile +0 -11
  32. data/example/ios_app/Podfile.lock +0 -28
  33. data/example/ios_app/ios_app/Assets.xcassets/AccentColor.colorset/Contents.json +0 -11
  34. data/example/ios_app/ios_app/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -98
  35. data/example/ios_app/ios_app/Assets.xcassets/Contents.json +0 -6
  36. data/example/ios_app/ios_app/ContentView.swift +0 -40
  37. data/example/ios_app/ios_app/Preview Content/Preview Assets.xcassets/Contents.json +0 -6
  38. data/example/ios_app/ios_app/ios_appApp.swift +0 -18
  39. data/example/ios_app/ios_app.xcodeproj/project.pbxproj +0 -426
@@ -1,174 +0,0 @@
1
- # Generated by pub
2
- # See https://dart.dev/tools/pub/glossary#lockfile
3
- packages:
4
- async:
5
- dependency: transitive
6
- description:
7
- name: async
8
- url: "https://pub.dartlang.org"
9
- source: hosted
10
- version: "2.8.2"
11
- boolean_selector:
12
- dependency: transitive
13
- description:
14
- name: boolean_selector
15
- url: "https://pub.dartlang.org"
16
- source: hosted
17
- version: "2.1.0"
18
- characters:
19
- dependency: transitive
20
- description:
21
- name: characters
22
- url: "https://pub.dartlang.org"
23
- source: hosted
24
- version: "1.2.0"
25
- charcode:
26
- dependency: transitive
27
- description:
28
- name: charcode
29
- url: "https://pub.dartlang.org"
30
- source: hosted
31
- version: "1.3.1"
32
- clock:
33
- dependency: transitive
34
- description:
35
- name: clock
36
- url: "https://pub.dartlang.org"
37
- source: hosted
38
- version: "1.1.0"
39
- collection:
40
- dependency: transitive
41
- description:
42
- name: collection
43
- url: "https://pub.dartlang.org"
44
- source: hosted
45
- version: "1.15.0"
46
- cupertino_icons:
47
- dependency: "direct main"
48
- description:
49
- name: cupertino_icons
50
- url: "https://pub.dartlang.org"
51
- source: hosted
52
- version: "1.0.4"
53
- fake_async:
54
- dependency: transitive
55
- description:
56
- name: fake_async
57
- url: "https://pub.dartlang.org"
58
- source: hosted
59
- version: "1.2.0"
60
- flutter:
61
- dependency: "direct main"
62
- description: flutter
63
- source: sdk
64
- version: "0.0.0"
65
- flutter_lints:
66
- dependency: "direct dev"
67
- description:
68
- name: flutter_lints
69
- url: "https://pub.dartlang.org"
70
- source: hosted
71
- version: "1.0.4"
72
- flutter_test:
73
- dependency: "direct dev"
74
- description: flutter
75
- source: sdk
76
- version: "0.0.0"
77
- lints:
78
- dependency: transitive
79
- description:
80
- name: lints
81
- url: "https://pub.dartlang.org"
82
- source: hosted
83
- version: "1.0.1"
84
- matcher:
85
- dependency: transitive
86
- description:
87
- name: matcher
88
- url: "https://pub.dartlang.org"
89
- source: hosted
90
- version: "0.12.11"
91
- material_color_utilities:
92
- dependency: transitive
93
- description:
94
- name: material_color_utilities
95
- url: "https://pub.dartlang.org"
96
- source: hosted
97
- version: "0.1.3"
98
- meta:
99
- dependency: transitive
100
- description:
101
- name: meta
102
- url: "https://pub.dartlang.org"
103
- source: hosted
104
- version: "1.7.0"
105
- path:
106
- dependency: transitive
107
- description:
108
- name: path
109
- url: "https://pub.dartlang.org"
110
- source: hosted
111
- version: "1.8.0"
112
- sky_engine:
113
- dependency: transitive
114
- description: flutter
115
- source: sdk
116
- version: "0.0.99"
117
- source_span:
118
- dependency: transitive
119
- description:
120
- name: source_span
121
- url: "https://pub.dartlang.org"
122
- source: hosted
123
- version: "1.8.1"
124
- stack_trace:
125
- dependency: transitive
126
- description:
127
- name: stack_trace
128
- url: "https://pub.dartlang.org"
129
- source: hosted
130
- version: "1.10.0"
131
- stream_channel:
132
- dependency: transitive
133
- description:
134
- name: stream_channel
135
- url: "https://pub.dartlang.org"
136
- source: hosted
137
- version: "2.1.0"
138
- string_scanner:
139
- dependency: transitive
140
- description:
141
- name: string_scanner
142
- url: "https://pub.dartlang.org"
143
- source: hosted
144
- version: "1.1.0"
145
- term_glyph:
146
- dependency: transitive
147
- description:
148
- name: term_glyph
149
- url: "https://pub.dartlang.org"
150
- source: hosted
151
- version: "1.2.0"
152
- test_api:
153
- dependency: transitive
154
- description:
155
- name: test_api
156
- url: "https://pub.dartlang.org"
157
- source: hosted
158
- version: "0.4.8"
159
- typed_data:
160
- dependency: transitive
161
- description:
162
- name: typed_data
163
- url: "https://pub.dartlang.org"
164
- source: hosted
165
- version: "1.3.0"
166
- vector_math:
167
- dependency: transitive
168
- description:
169
- name: vector_math
170
- url: "https://pub.dartlang.org"
171
- source: hosted
172
- version: "2.1.1"
173
- sdks:
174
- dart: ">=2.16.1 <3.0.0"
@@ -1,87 +0,0 @@
1
- name: flutter_module
2
- description: A new flutter module project.
3
-
4
- # The following defines the version and build number for your application.
5
- # A version number is three numbers separated by dots, like 1.2.43
6
- # followed by an optional build number separated by a +.
7
- # Both the version and the builder number may be overridden in flutter
8
- # build by specifying --build-name and --build-number, respectively.
9
- # In Android, build-name is used as versionName while build-number used as versionCode.
10
- # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
11
- # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
12
- # Read more about iOS versioning at
13
- # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
14
- #
15
- # This version is used _only_ for the Runner app, which is used if you just do
16
- # a `flutter run` or a `flutter make-host-app-editable`. It has no impact
17
- # on any other native host app that you embed your Flutter project into.
18
- version: 1.0.0+1
19
-
20
- environment:
21
- sdk: ">=2.16.1 <3.0.0"
22
-
23
- dependencies:
24
- flutter:
25
- sdk: flutter
26
-
27
- # The following adds the Cupertino Icons font to your application.
28
- # Use with the CupertinoIcons class for iOS style icons.
29
- cupertino_icons: ^1.0.2
30
-
31
- dev_dependencies:
32
- flutter_test:
33
- sdk: flutter
34
- flutter_lints: ^1.0.0
35
-
36
- # For information on the generic Dart part of this file, see the
37
- # following page: https://dart.dev/tools/pub/pubspec
38
-
39
- flutter:
40
- # The following line ensures that the Material Icons font is
41
- # included with your application, so that you can use the icons in
42
- # the material Icons class.
43
- uses-material-design: true
44
-
45
- # To add Flutter specific assets to your application, add an assets section,
46
- # like this:
47
- # assets:
48
- # - images/a_dot_burr.jpeg
49
- # - images/a_dot_ham.jpeg
50
-
51
- # An image asset can refer to one or more resolution-specific "variants", see
52
- # https://flutter.dev/assets-and-images/#resolution-aware.
53
-
54
- # For details regarding adding assets from package dependencies, see
55
- # https://flutter.dev/assets-and-images/#from-packages
56
-
57
- # To add Flutter specific custom fonts to your application, add a fonts
58
- # section here, in this "flutter" section. Each entry in this list should
59
- # have a "family" key with the font family name, and a "fonts" key with a
60
- # list giving the asset and other descriptors for the font. For
61
- # example:
62
- # fonts:
63
- # - family: Schyler
64
- # fonts:
65
- # - asset: fonts/Schyler-Regular.ttf
66
- # - asset: fonts/Schyler-Italic.ttf
67
- # style: italic
68
- # - family: Trajan Pro
69
- # fonts:
70
- # - asset: fonts/TrajanPro.ttf
71
- # - asset: fonts/TrajanPro_Bold.ttf
72
- # weight: 700
73
- #
74
- # For details regarding fonts from package dependencies,
75
- # see https://flutter.dev/custom-fonts/#from-packages
76
-
77
-
78
- # This section identifies your Flutter project as a module meant for
79
- # embedding in a native host app. These identifiers should _not_ ordinarily
80
- # be changed after generation - they are used to ensure that the tooling can
81
- # maintain consistency when adding or modifying assets and plugins.
82
- # They also do not have any bearing on your native host application's
83
- # identifiers, which may be completely independent or the same as these.
84
- module:
85
- androidX: true
86
- androidPackage: com.example.flutter_module
87
- iosBundleIdentifier: com.example.flutterModule
@@ -1,30 +0,0 @@
1
- // This is a basic Flutter widget test.
2
- //
3
- // To perform an interaction with a widget in your test, use the WidgetTester
4
- // utility that Flutter provides. For example, you can send tap and scroll
5
- // gestures. You can also use WidgetTester to find child widgets in the widget
6
- // tree, read text, and verify that the values of widget properties are correct.
7
-
8
- import 'package:flutter/material.dart';
9
- import 'package:flutter_test/flutter_test.dart';
10
-
11
- import 'package:flutter_module/main.dart';
12
-
13
- void main() {
14
- testWidgets('Counter increments smoke test', (WidgetTester tester) async {
15
- // Build our app and trigger a frame.
16
- await tester.pumpWidget(const MyApp());
17
-
18
- // Verify that our counter starts at 0.
19
- expect(find.text('0'), findsOneWidget);
20
- expect(find.text('1'), findsNothing);
21
-
22
- // Tap the '+' icon and trigger a frame.
23
- await tester.tap(find.byIcon(Icons.add));
24
- await tester.pump();
25
-
26
- // Verify that our counter has incremented.
27
- expect(find.text('0'), findsNothing);
28
- expect(find.text('1'), findsOneWidget);
29
- });
30
- }
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'cocoapods'
4
- gem 'cocoapods-embed-flutter', :path => '../../'
@@ -1,110 +0,0 @@
1
- PATH
2
- remote: ../..
3
- specs:
4
- cocoapods-embed-flutter (0.5.0)
5
- cocoapods
6
- fileutils
7
- yaml
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- CFPropertyList (3.0.5)
13
- rexml
14
- activesupport (6.1.5)
15
- concurrent-ruby (~> 1.0, >= 1.0.2)
16
- i18n (>= 1.6, < 2)
17
- minitest (>= 5.1)
18
- tzinfo (~> 2.0)
19
- zeitwerk (~> 2.3)
20
- addressable (2.8.0)
21
- public_suffix (>= 2.0.2, < 5.0)
22
- algoliasearch (1.27.5)
23
- httpclient (~> 2.8, >= 2.8.3)
24
- json (>= 1.5.1)
25
- atomos (0.1.3)
26
- claide (1.1.0)
27
- cocoapods (1.11.2)
28
- addressable (~> 2.8)
29
- claide (>= 1.0.2, < 2.0)
30
- cocoapods-core (= 1.11.2)
31
- cocoapods-deintegrate (>= 1.0.3, < 2.0)
32
- cocoapods-downloader (>= 1.4.0, < 2.0)
33
- cocoapods-plugins (>= 1.0.0, < 2.0)
34
- cocoapods-search (>= 1.0.0, < 2.0)
35
- cocoapods-trunk (>= 1.4.0, < 2.0)
36
- cocoapods-try (>= 1.1.0, < 2.0)
37
- colored2 (~> 3.1)
38
- escape (~> 0.0.4)
39
- fourflusher (>= 2.3.0, < 3.0)
40
- gh_inspector (~> 1.0)
41
- molinillo (~> 0.8.0)
42
- nap (~> 1.0)
43
- ruby-macho (>= 1.0, < 3.0)
44
- xcodeproj (>= 1.21.0, < 2.0)
45
- cocoapods-core (1.11.2)
46
- activesupport (>= 5.0, < 7)
47
- addressable (~> 2.8)
48
- algoliasearch (~> 1.0)
49
- concurrent-ruby (~> 1.1)
50
- fuzzy_match (~> 2.0.4)
51
- nap (~> 1.0)
52
- netrc (~> 0.11)
53
- public_suffix (~> 4.0)
54
- typhoeus (~> 1.0)
55
- cocoapods-deintegrate (1.0.5)
56
- cocoapods-downloader (1.5.1)
57
- cocoapods-plugins (1.0.0)
58
- nap
59
- cocoapods-search (1.0.1)
60
- cocoapods-trunk (1.6.0)
61
- nap (>= 0.8, < 2.0)
62
- netrc (~> 0.11)
63
- cocoapods-try (1.2.0)
64
- colored2 (3.1.2)
65
- concurrent-ruby (1.1.9)
66
- escape (0.0.4)
67
- ethon (0.15.0)
68
- ffi (>= 1.15.0)
69
- ffi (1.15.5)
70
- fileutils (1.6.0)
71
- fourflusher (2.3.1)
72
- fuzzy_match (2.0.4)
73
- gh_inspector (1.1.3)
74
- httpclient (2.8.3)
75
- i18n (1.10.0)
76
- concurrent-ruby (~> 1.0)
77
- json (2.6.1)
78
- minitest (5.15.0)
79
- molinillo (0.8.0)
80
- nanaimo (0.3.0)
81
- nap (1.1.0)
82
- netrc (0.11.0)
83
- public_suffix (4.0.6)
84
- rexml (3.2.5)
85
- ruby-macho (2.5.1)
86
- typhoeus (1.4.0)
87
- ethon (>= 0.9.0)
88
- tzinfo (2.0.4)
89
- concurrent-ruby (~> 1.0)
90
- xcodeproj (1.21.0)
91
- CFPropertyList (>= 2.3.3, < 4.0)
92
- atomos (~> 0.1.3)
93
- claide (>= 1.0.2, < 2.0)
94
- colored2 (~> 3.1)
95
- nanaimo (~> 0.3.0)
96
- rexml (~> 3.2.4)
97
- yaml (0.2.0)
98
- zeitwerk (2.5.4)
99
-
100
- PLATFORMS
101
- universal-darwin-21
102
- x86_64-darwin-19
103
- x86_64-linux
104
-
105
- DEPENDENCIES
106
- cocoapods
107
- cocoapods-embed-flutter!
108
-
109
- BUNDLED WITH
110
- 2.3.7
@@ -1,11 +0,0 @@
1
- # Uncomment the next line to define a global platform for your project
2
- platform :ios, '9.0'
3
- plugin 'cocoapods-embed-flutter'
4
-
5
- target 'ios_app' do
6
- # Comment the next line if you don't want to use dynamic frameworks
7
- use_frameworks!
8
-
9
- # Pods for ios_app
10
- pub 'flutter_module', :path => '../'
11
- end
@@ -1,28 +0,0 @@
1
- PODS:
2
- - Flutter (1.0.0)
3
- - flutter_module (0.0.1):
4
- - Flutter
5
- - FlutterPluginRegistrant (0.0.1):
6
- - Flutter
7
-
8
- DEPENDENCIES:
9
- - Flutter (from `../flutter_module/.ios/Flutter/engine`)
10
- - flutter_module (from `../flutter_module/.ios/Flutter`)
11
- - FlutterPluginRegistrant (from `../flutter_module/.ios/Flutter/FlutterPluginRegistrant`)
12
-
13
- EXTERNAL SOURCES:
14
- Flutter:
15
- :path: "../flutter_module/.ios/Flutter/engine"
16
- flutter_module:
17
- :path: "../flutter_module/.ios/Flutter"
18
- FlutterPluginRegistrant:
19
- :path: "../flutter_module/.ios/Flutter/FlutterPluginRegistrant"
20
-
21
- SPEC CHECKSUMS:
22
- Flutter: bdfa2e8fe0e2880a2c6a58a0b1a8675c262a07af
23
- flutter_module: d1e1ff44505640bd9aa37f23f63380c646272be4
24
- FlutterPluginRegistrant: 2afd5ea46d3a949472c9b7da6462d8fbf7d8b16e
25
-
26
- PODFILE CHECKSUM: 63b6421f4bf00554065d89d2308ed2deb78332fc
27
-
28
- COCOAPODS: 1.11.2
@@ -1,11 +0,0 @@
1
- {
2
- "colors" : [
3
- {
4
- "idiom" : "universal"
5
- }
6
- ],
7
- "info" : {
8
- "author" : "xcode",
9
- "version" : 1
10
- }
11
- }
@@ -1,98 +0,0 @@
1
- {
2
- "images" : [
3
- {
4
- "idiom" : "iphone",
5
- "scale" : "2x",
6
- "size" : "20x20"
7
- },
8
- {
9
- "idiom" : "iphone",
10
- "scale" : "3x",
11
- "size" : "20x20"
12
- },
13
- {
14
- "idiom" : "iphone",
15
- "scale" : "2x",
16
- "size" : "29x29"
17
- },
18
- {
19
- "idiom" : "iphone",
20
- "scale" : "3x",
21
- "size" : "29x29"
22
- },
23
- {
24
- "idiom" : "iphone",
25
- "scale" : "2x",
26
- "size" : "40x40"
27
- },
28
- {
29
- "idiom" : "iphone",
30
- "scale" : "3x",
31
- "size" : "40x40"
32
- },
33
- {
34
- "idiom" : "iphone",
35
- "scale" : "2x",
36
- "size" : "60x60"
37
- },
38
- {
39
- "idiom" : "iphone",
40
- "scale" : "3x",
41
- "size" : "60x60"
42
- },
43
- {
44
- "idiom" : "ipad",
45
- "scale" : "1x",
46
- "size" : "20x20"
47
- },
48
- {
49
- "idiom" : "ipad",
50
- "scale" : "2x",
51
- "size" : "20x20"
52
- },
53
- {
54
- "idiom" : "ipad",
55
- "scale" : "1x",
56
- "size" : "29x29"
57
- },
58
- {
59
- "idiom" : "ipad",
60
- "scale" : "2x",
61
- "size" : "29x29"
62
- },
63
- {
64
- "idiom" : "ipad",
65
- "scale" : "1x",
66
- "size" : "40x40"
67
- },
68
- {
69
- "idiom" : "ipad",
70
- "scale" : "2x",
71
- "size" : "40x40"
72
- },
73
- {
74
- "idiom" : "ipad",
75
- "scale" : "1x",
76
- "size" : "76x76"
77
- },
78
- {
79
- "idiom" : "ipad",
80
- "scale" : "2x",
81
- "size" : "76x76"
82
- },
83
- {
84
- "idiom" : "ipad",
85
- "scale" : "2x",
86
- "size" : "83.5x83.5"
87
- },
88
- {
89
- "idiom" : "ios-marketing",
90
- "scale" : "1x",
91
- "size" : "1024x1024"
92
- }
93
- ],
94
- "info" : {
95
- "author" : "xcode",
96
- "version" : 1
97
- }
98
- }
@@ -1,6 +0,0 @@
1
- {
2
- "info" : {
3
- "author" : "xcode",
4
- "version" : 1
5
- }
6
- }
@@ -1,40 +0,0 @@
1
- //
2
- // ContentView.swift
3
- // ios_app
4
- //
5
- // Created by Soumya Ranjan Mahunt on 06/03/22.
6
- //
7
-
8
- import SwiftUI
9
- import Flutter
10
- import FlutterPluginRegistrant
11
-
12
- struct ContentView: View {
13
- var body: some View {
14
- NavigationView {
15
- VStack {
16
- Text("Hello, world!")
17
- .padding()
18
- NavigationLink("Go to Flutter", destination: FlutterView())
19
- }
20
- }
21
- }
22
- }
23
-
24
-
25
- struct FlutterView: UIViewControllerRepresentable {
26
-
27
- func makeUIViewController(context: Context) -> FlutterViewController {
28
- let flutterViewController = FlutterViewController(project: nil, nibName: nil, bundle: nil)
29
- return flutterViewController
30
- }
31
-
32
- func updateUIViewController(_ uiViewController: FlutterViewController, context: Context) {
33
- }
34
- }
35
-
36
- struct ContentView_Previews: PreviewProvider {
37
- static var previews: some View {
38
- ContentView()
39
- }
40
- }
@@ -1,6 +0,0 @@
1
- {
2
- "info" : {
3
- "author" : "xcode",
4
- "version" : 1
5
- }
6
- }
@@ -1,18 +0,0 @@
1
- //
2
- // ios_appApp.swift
3
- // ios_app
4
- //
5
- // Created by Soumya Ranjan Mahunt on 06/03/22.
6
- //
7
-
8
- import SwiftUI
9
-
10
- @main
11
- struct ios_appApp: App {
12
-
13
- var body: some Scene {
14
- WindowGroup {
15
- ContentView()
16
- }
17
- }
18
- }