Optional logger.
Resolves with void once the callbacks are registered.
ProtectError when the native registration call fails.
import { startProtectForJourney } from '@ping-identity/rn-protect';
await startProtectForJourney();
const node = await journey.start();
Journey-only. Call this once at app startup, before the first Journey start() or
next(). It does not initialize Protect: the initialize callback in the tree still
supplies the configuration through initializeProtectForJourney. Do not call
startProtect instead, because it initializes the SDK with app configuration
and prevents the tree configuration from being applied. On Android the call only
resolves.
Makes the native Journey module aware of the PingOne Protect callbacks without initializing the Protect SDK.