You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run the example on an iPhone it work nicely for copying in text.
When i complete the task i close the iphone app.
If i try repeating the process the flutter app i cannot kill and it does not open.
There is a flicker of the flutter application page
Not sure even how to debug this problem.
Ideally id like the flutter share_handler extension to run in the background and when copied to it opens my app with the data.
Is this issue, related to:
In Xcode, replace the contents of ShareExtension/ShareViewController.swift with the following code. The share extension doesn't launch a UI of its own, instead it serializes the shared content/media and saves it to the groups shared preferences, then opens a deep link into the full app so your flutter/dart code can then read the serialized data and handle it accordingly. Note that for a brief moment, a default share modal might show up before it redirects to the app (particularly noticeable when using a simulator).
Thanks...
The text was updated successfully, but these errors were encountered:
This is likely related to that. The share extension on iOS just copies the files and shared content into a local app directory that the app can read from. This can take a little bit. Usually it goes fairly fast, and might look a little wonky with the background blurred but nothing showing. It is a tradeoff. Maybe there is a way to just show a little modal indicating something is processing? But I don't think I can just do it in the background entirely.
Hi Folks,
When i run the example on an iPhone it work nicely for copying in text.
When i complete the task i close the iphone app.
If i try repeating the process the flutter app i cannot kill and it does not open.
There is a flicker of the flutter application page
Not sure even how to debug this problem.
Ideally id like the flutter share_handler extension to run in the background and when copied to it opens my app with the data.
Is this issue, related to:
In Xcode, replace the contents of ShareExtension/ShareViewController.swift with the following code. The share extension doesn't launch a UI of its own, instead it serializes the shared content/media and saves it to the groups shared preferences, then opens a deep link into the full app so your flutter/dart code can then read the serialized data and handle it accordingly. Note that for a brief moment, a default share modal might show up before it redirects to the app (particularly noticeable when using a simulator).
Thanks...
The text was updated successfully, but these errors were encountered: