-
Notifications
You must be signed in to change notification settings - Fork 32
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
chore(deps): Update and fix all dependencies #741
Merged
Merged
Changes from 12 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c402858
deps: fix dependency resolution
XavierChanth 70bd470
deps: fix dependency issue
XavierChanth 014ee21
deps(at_backupkey_flutter): uptake file_selector 1.0.1
XavierChanth 1db83ec
deps(at_sync_ui_flutter): migrate from deprecated syncService api in …
XavierChanth 7fe18ff
deps(at_login_flutter): uptake new apis
XavierChanth 8f6b665
deps(at_invitation_flutter): use new onboarding widget
XavierChanth 3f31680
deps(at_chat_flutter): add flutter_test to dev deps
XavierChanth 2956bbc
chore: remove deps used for tracking purposes
XavierChanth 53459f6
fix: string formatting
XavierChanth fa5299b
deps: only allow minor version differences
XavierChanth 94ccd56
chore(deps): remove unused dep
XavierChanth 0b4cd27
deps: only allow minor version differences
XavierChanth fd8bea3
chore(deps): update all version numbers and changelogs
XavierChanth 579a208
chore(deps): use local path for onboarding example
XavierChanth bcad99a
chore(at_sync_ui_flutter): merge 1.0.10 changes into 1.0.9 and rollba…
XavierChanth 294a0a2
fix: warnings on publish for at_follows_flutter
XavierChanth 032910e
fix: warnings in at_invitation_flutter
XavierChanth 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 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,4 +1,5 @@ | ||
name: at_widgets | ||
|
||
packages: | ||
- packages/** | ||
- packages/* | ||
- packages/*/*example | ||
This file contains 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 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 |
---|---|---|
|
@@ -156,9 +156,9 @@ class BackupKeyWidget extends StatelessWidget { | |
child: Showcase( | ||
key: key, | ||
description: | ||
'''Each atSign has a unique key used to verify ownership and encrypt your data. You will get this key when you first activate your atSign, and you will need it to pair your atSign with other devices and all atPlatform apps. | ||
|
||
PLEASE SECURELY SAVE YOUR KEYS. WE DO NOT HAVE ACCESS TO THEM AND CANNOT CREATE A BACKUP OR RESET THEM.''', | ||
'Each atSign has a unique key used to verify ownership and encrypt your data. You will get this key when you first activate your atSign, and you will need it to pair your atSign with other devices and all atPlatform apps.' | ||
'\n\n' | ||
'PLEASE SECURELY SAVE YOUR KEYS. WE DO NOT HAVE ACCESS TO THEM AND CANNOT CREATE A BACKUP OR RESET THEM.', | ||
targetShapeBorder: const CircleBorder(), | ||
disableMovingAnimation: true, | ||
targetBorderRadius: | ||
|
@@ -335,21 +335,25 @@ PLEASE SECURELY SAVE YOUR KEYS. WE DO NOT HAVE ACCESS TO THEM AND CANNOT CREATE | |
}, | ||
); | ||
} else if (Platform.isIOS) { | ||
var size = MediaQuery.of(context).size; | ||
await Share.shareXFiles( | ||
[XFile(tempFilePath)], | ||
sharePositionOrigin: Rect.fromLTWH(0, 0, size.width, size.height / 2), | ||
).then((ShareResult shareResult) { | ||
if (shareResult.status == ShareResultStatus.success) { | ||
ScaffoldMessenger.of(context).showSnackBar( | ||
const SnackBar(content: Text('File saved successfully'))); | ||
} | ||
}); | ||
if (context.mounted) { | ||
var size = MediaQuery.of(context).size; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wrapped with a mounted check |
||
await Share.shareXFiles( | ||
[XFile(tempFilePath)], | ||
sharePositionOrigin: | ||
Rect.fromLTWH(0, 0, size.width, size.height / 2), | ||
).then((ShareResult shareResult) { | ||
if (shareResult.status == ShareResultStatus.success) { | ||
ScaffoldMessenger.of(context).showSnackBar( | ||
const SnackBar(content: Text('File saved successfully'))); | ||
} | ||
}); | ||
} | ||
} else { | ||
final path = | ||
await getSavePath(suggestedName: '$atsign${Strings.backupKeyName}'); | ||
final path = await getSaveLocation( | ||
suggestedName: '$atsign${Strings.backupKeyName}'); | ||
if (path == null) return; | ||
final file = XFile(tempFilePath); | ||
await file.saveTo(path ?? ''); | ||
await file.saveTo(path.path); | ||
if (context.mounted) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. getSavePath was removed in 1.0.0 of path_selector, so I replaced it with the getSaveLocation |
||
showSnackBar( | ||
context: context, | ||
|
This file contains 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 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 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 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 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 |
---|---|---|
|
@@ -13,7 +13,7 @@ environment: | |
dependencies: | ||
flutter: | ||
sdk: flutter | ||
|
||
dev_dependencies: | ||
flutter_test: | ||
sdk: flutter | ||
|
This file contains 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explicitly identified the packages and example globs just in case there are further nested pubspec.yaml files which we might want to ignore in melos