-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Conversation
0311c2b
to
bf09e26
Compare
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)); |
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.
Can we use AutoRouter.of(context).pop()
to keep navigation within the auto_router
package?
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.
This does not seem to work. DeleteDialog also uses Navigator.of(buildContext).pop()
.
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.
Ah, ok then. We can leave it as it
363da62
to
019fd45
Compare
#241