Skip to content
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

Share assets from mobile to other apps #435

Merged
merged 7 commits into from
Aug 8, 2022
Merged

Conversation

matthinc
Copy link
Contributor

@matthinc matthinc commented Aug 7, 2022

@matthinc matthinc force-pushed the dev/mobile-share branch 2 times, most recently from 0311c2b to bf09e26 Compare August 8, 2022 14:21
@matthinc matthinc requested a review from alextran1502 August 8, 2022 14:22
@matthinc matthinc marked this pull request as ready for review August 8, 2022 14:22
@matthinc
Copy link
Contributor Author

matthinc commented Aug 8, 2022

It would be great if you could test the functionality on ios. It might behave differently than the native android sharing dialog.

builder: (BuildContext buildContext) {
_shareService
.shareAsset(asset)
.then((_) => Navigator.pop(buildContext));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use AutoRouter.of(context).pop() to keep navigation within the auto_router package?

https://pub.dev/packages/auto_route

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not seem to work. DeleteDialog also uses Navigator.of(buildContext).pop().

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, ok then. We can leave it as it

@alextran1502 alextran1502 merged commit e57e279 into main Aug 8, 2022
@alextran1502 alextran1502 deleted the dev/mobile-share branch August 8, 2022 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants