Skip to content

Commit fe5bf44

Browse files
Update platform_channels (#2013)
## Pre-launch Checklist - [x] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I read the [Contributors Guide]. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. <!-- Links --> [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/wiki/Chat [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
1 parent 7f5ea5c commit fe5bf44

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

platform_channels/.metadata

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
# This file should be version controlled and should not be manually edited.
55

66
version:
7-
revision: "ac71592bc605996f9376ec5b7607db52b64cabd0"
8-
channel: "beta"
7+
revision: "2524052335ec76bb03e04ede244b071f1b86d190"
8+
channel: "stable"
99

1010
project_type: app
1111

1212
# Tracks metadata for the flutter migrate command
1313
migration:
1414
platforms:
1515
- platform: root
16-
create_revision: ac71592bc605996f9376ec5b7607db52b64cabd0
17-
base_revision: ac71592bc605996f9376ec5b7607db52b64cabd0
16+
create_revision: 2524052335ec76bb03e04ede244b071f1b86d190
17+
base_revision: 2524052335ec76bb03e04ede244b071f1b86d190
1818
- platform: android
19-
create_revision: ac71592bc605996f9376ec5b7607db52b64cabd0
20-
base_revision: ac71592bc605996f9376ec5b7607db52b64cabd0
19+
create_revision: 2524052335ec76bb03e04ede244b071f1b86d190
20+
base_revision: 2524052335ec76bb03e04ede244b071f1b86d190
2121
- platform: ios
22-
create_revision: ac71592bc605996f9376ec5b7607db52b64cabd0
23-
base_revision: ac71592bc605996f9376ec5b7607db52b64cabd0
22+
create_revision: 2524052335ec76bb03e04ede244b071f1b86d190
23+
base_revision: 2524052335ec76bb03e04ede244b071f1b86d190
2424

2525
# User provided section
2626

platform_channels/codelab_rebuild.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ steps:
77
- ios
88
- name: Flutter recreate
99
flutter: create --platform android,ios --org dev.flutter .
10-
- name: Strip DEVELOPMENT_TEAM
11-
strip-lines-containing: DEVELOPMENT_TEAM =
12-
path: ios/Runner.xcodeproj/project.pbxproj
1310
- name: Patch android/app/build.gradle
1411
path: android/app/build.gradle
1512
patch-u: |
@@ -2617,6 +2614,9 @@ steps:
26172614
return nil
26182615
}
26192616
}
2617+
- name: Add AccelerometerStreamHandler.swift to Xcode project
2618+
xcode-project-path: ios/Runner.xcodeproj
2619+
xcode-add-file: AccelerometerStreamHandler.swift
26202620
- name: Replace ios/Runner/AppDelegate.swift
26212621
path: ios/Runner/AppDelegate.swift
26222622
replace-contents: |

platform_channels/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/* Begin PBXBuildFile section */
1010
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11-
1C5D8C2F2A8127190006C60D /* AccelerometerStreamHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C5D8C2E2A8127190006C60D /* AccelerometerStreamHandler.swift */; };
11+
316C7BC74F432A4549066185 /* AccelerometerStreamHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 854EA80D339DD1D038E5CB29 /* AccelerometerStreamHandler.swift */; };
1212
331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
1313
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
1414
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
@@ -43,13 +43,13 @@
4343
/* Begin PBXFileReference section */
4444
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
4545
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
46-
1C5D8C2E2A8127190006C60D /* AccelerometerStreamHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AccelerometerStreamHandler.swift; sourceTree = "<group>"; };
4746
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
4847
331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
4948
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
5049
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
5150
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
5251
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
52+
854EA80D339DD1D038E5CB29 /* AccelerometerStreamHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AccelerometerStreamHandler.swift; sourceTree = "<group>"; };
5353
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
5454
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
5555
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -111,7 +111,6 @@
111111
97C146F01CF9000F007C117D /* Runner */ = {
112112
isa = PBXGroup;
113113
children = (
114-
1C5D8C2E2A8127190006C60D /* AccelerometerStreamHandler.swift */,
115114
97C146FA1CF9000F007C117D /* Main.storyboard */,
116115
97C146FD1CF9000F007C117D /* Assets.xcassets */,
117116
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
@@ -120,6 +119,7 @@
120119
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
121120
74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
122121
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
122+
854EA80D339DD1D038E5CB29 /* AccelerometerStreamHandler.swift */,
123123
);
124124
path = Runner;
125125
sourceTree = "<group>";
@@ -273,7 +273,7 @@
273273
files = (
274274
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
275275
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
276-
1C5D8C2F2A8127190006C60D /* AccelerometerStreamHandler.swift in Sources */,
276+
316C7BC74F432A4549066185 /* AccelerometerStreamHandler.swift in Sources */,
277277
);
278278
runOnlyForDeploymentPostprocessing = 0;
279279
};

0 commit comments

Comments
 (0)