Skip to content

XamarinDispatchScheduler support on NET Maui v8 #4

@juniorsaraviao

Description

@juniorsaraviao

I'd like to know if this package will be migrated to support NET Maui v8. It works as expected on NET Maui Android.

I'm currently migrating a Xamarin app which used XamarinDispatchScheduler but when I use it on NET Maui (iOS), it throws an exception

System.Exception: Please install nuget into platform project
   at Xam.Reactive.Concurrency.XamarinDispatcherScheduler.get_Current()

It happens when I implement this code:

Observable
    .Timer(TimeSpan.FromSeconds(2))
    .ObserveOn(XamarinDispatcherScheduler.Current)
    .Subscribe(_ =>
    {
        lblChangeMe.Text = "Changed";
    });

Details:
Xam.Reactive.DispatchScheduler: v1.1.3
NET Maui: v8.0.100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions