Skip to content

RxUI application as a target for "sharing content" #1001

Open
@ghuntley

Description

@ghuntley
ghuntley [10:31 PM] @flagbug: I'm doing UWP currently, as is @moswald so
between us we got that covered.

flagbug [10:34 PM] @ghuntley: Beware, there are some major issues with RxUI
if your app is a target for a share operation: 

https://msdn.microsoft.com/en-us/library/windows/apps/hh465251.aspx
because of the way that RxApp.MainThreadScheduler and friends work.

ghuntley [10:39 PM] @flagbug: can you give some examples of what you have
observed? Thanks for the heads up, not using sharing in this app fortunately.

flagbug [10:41 PM] @ghuntley: You have to set `RxApp.MainThreadScheduler`
when opening the app as share target, since the share target UI gets its own UI
thread and then, when you close the share UI, you have to set
`RxApp.MainThreadScheduler` back to its previous value, or else your main
application will crash.

See also #965

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions