-
Notifications
You must be signed in to change notification settings - Fork 8
Update Quickstart for Flutter/Dart to v5 #237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Aaron LaBeau (biozal)
wants to merge
19
commits into
main
Choose a base branch
from
da-138-update-v5-flutter
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 15 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f798367
feature: updated MacOS, iOS, and Windows to run v5 along with API cha…
biozal a44988e
fix: lint ran in main.dart
biozal c99531d
fix: updated for preview 4
biozal 158e14f
updated to 5.0.0-preview-r
biozal 87cb15a
Updated to RC1 - fix CI/CD Issues
biozal 30c9fc2
updated to fix test failing with update to dotenv
biozal 38767d0
fix Android builds based on minSdkVersion
biozal 2cef5c2
fixing the ios tests
biozal 85f427e
Merge branch 'main' into da-138-update-v5-flutter
biozal 517b59a
Updated for RC3
biozal fe89cdf
updated Flutter
biozal 2ace57f
flutter version manager config
biozal 15c96c5
Updated for version 5
biozal 4c62813
Updated README
biozal e2f4c00
Merge branch 'main' into da-138-update-v5-flutter
biozal d768296
Potential fix for pull request finding
biozal 3475637
Potential fix for pull request finding
biozal ee5af52
Potential fix for pull request finding
biozal 419f762
updated pubspec to 3.24.0 flutter releawse
biozal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "flutter": "3.32.8" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,3 +34,6 @@ packages/ | |
| Pods/ | ||
| target/ | ||
| xcuserdata | ||
|
|
||
| # FVM Version Cache | ||
| .fvm/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,46 @@ | ||
| @import XCTest; | ||
| @import integration_test; | ||
| INTEGRATION_TEST_IOS_RUNNER(RunnerTests) | ||
| @import integration_test; | ||
|
|
||
| // This file replaces the one-liner INTEGRATION_TEST_IOS_RUNNER macro so we | ||
| // can add a UIInterruptionMonitor. Without it, native iOS system permission | ||
| // dialogs (Bluetooth, Local Network, etc.) block the test and can never be | ||
| // dismissed by Flutter's find.text() which only searches Flutter widgets. | ||
| // | ||
| // The interruption monitor fires whenever a springboard-level alert appears | ||
| // during the test and automatically taps the first "accept" button it finds. | ||
|
|
||
| @interface RunnerTests : XCTestCase | ||
| @end | ||
|
|
||
| @implementation RunnerTests | ||
|
|
||
| + (XCTestSuite *)defaultTestSuite { | ||
| return [IntegrationTestIosRunner defaultTestSuiteForIntegrationTestRunner:self]; | ||
| } | ||
|
|
||
| - (void)setUp { | ||
| [super setUp]; | ||
|
|
||
| // Automatically accept system permission dialogs so that Ditto's | ||
| // Bluetooth and Local Network transports can initialise during tests. | ||
| // "OK" – Bluetooth usage alert | ||
| // "Allow" / "Allow While Using App" – Local Network usage alert | ||
| [self addUIInterruptionMonitorWithDescription:@"System Permission Alert" | ||
| handler:^BOOL(XCUIElement *alert) { | ||
| NSArray<NSString *> *acceptLabels = @[ | ||
| @"OK", | ||
| @"Allow", | ||
| @"Allow While Using App" | ||
| ]; | ||
| for (NSString *label in acceptLabels) { | ||
| XCUIElement *button = alert.buttons[label]; | ||
| if (button.exists) { | ||
| [button tap]; | ||
| return YES; | ||
| } | ||
| } | ||
| return NO; | ||
| }]; | ||
| } | ||
|
|
||
| @end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.