8

So I am exporting a file created in my application with extension .abc

Now, if the user shares the file on whatsapp or telegram or any other platform and when other user tries to open the file, the "open with" dialog should appear with my application in the list.

I have tried following approach which does not work plus it is only for Android and I am looking for multi-platform solution to this.

Is it possible to register a Flutter app as an Android Intent Filter and to handle Incoming Intents?

I was able to compile the app using above method but could not populate "Open with" dialog with my app's name

Thank you for your time.

EDIT 1:

So I have successfully added this functionality for android but I am still trying to add the same functionality for my iPhone users.

Can someone please help me with swift code part in iOS ?? I am not familiar with swift language but I want my users to be able to use same functionality on both platforms.

Deep Shah
  • 364
  • 3
  • 9

1 Answers1

-2

I have found a solution for iOS:

You can use the Uni Links package to get the notifications into your Flutter app. You then need to manually add the file types in the Info.plist for the XCode project. You can find an explanation for example here.

Thomas
  • 514
  • 4
  • 14