mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
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
This commit is contained in:
@@ -7,9 +7,6 @@ steps:
|
||||
- ios
|
||||
- name: Flutter recreate
|
||||
flutter: create --platform android,ios --org dev.flutter .
|
||||
- name: Strip DEVELOPMENT_TEAM
|
||||
strip-lines-containing: DEVELOPMENT_TEAM =
|
||||
path: ios/Runner.xcodeproj/project.pbxproj
|
||||
- name: Patch android/app/build.gradle
|
||||
path: android/app/build.gradle
|
||||
patch-u: |
|
||||
@@ -2617,6 +2614,9 @@ steps:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
- name: Add AccelerometerStreamHandler.swift to Xcode project
|
||||
xcode-project-path: ios/Runner.xcodeproj
|
||||
xcode-add-file: AccelerometerStreamHandler.swift
|
||||
- name: Replace ios/Runner/AppDelegate.swift
|
||||
path: ios/Runner/AppDelegate.swift
|
||||
replace-contents: |
|
||||
|
||||
Reference in New Issue
Block a user