Use latest version and create an AR session containing both components, runtime switch (or fallback) is the default behavior.
You can reference sample ImageTracking_MotionFusion.
BTW, try not use VIOCameraDevice anymore which is obsolete in version 4.4.