Skip to content

[IOS] Navigation with registered viewmodel in IoC does not get disposed. #20

@Iguins

Description

@Iguins

Expected Behavior

When using Trancient ViewModel in IOC, we are expecting the Chinook navigation to navigate with a instance from page A to B.
Then when the navigation use a section to navigate to the root the VM should be mark as disposed

Actual Behavior

When using Trancient ViewModel in IOC and navigating from page A to B the frame froze on IOS but not frequently.
Observe a flicker during the navigation when the transition is enabled

Steps to Reproduce the Problem

  1. Add To viewModel as Tranciant in the IoC to Navigate from A to B
  2. Navigate

Specifications

Branch with example.
https://github.com/nventive/UnoApplicationTemplate/tree/feat/RegisterVMInIoC

  • Version: 0.2.0-dev.46
  • Platform: IOS
  • Subsystem: UNO 3.1.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions