In the example, it works when share content to the app.
But how to share content with directing to open app and route to certain page?
I try place the ShareHandler in the second page, but after i click share, the app open, but it still is the first page, however, when i go second page, i see the file, but what i want is direct to second page.
Thank you, is anyone has idea of this?
Future initPlatformState() async {
final handler = ShareHandler.instance;
media = await handler.getInitialSharedMedia();
In the example, it works when share content to the app. But how to share content with directing to open app and route to certain page?
I try place the ShareHandler in the second page, but after i click share, the app open, but it still is the first page, however, when i go second page, i see the file, but what i want is direct to second page.
Thank you, is anyone has idea of this?
Future initPlatformState() async {
final handler = ShareHandler.instance;
media = await handler.getInitialSharedMedia();
}