supportsCompleteLifecycle property
bool
get
supportsCompleteLifecycle
Whether the backend can safely own an entire Inappify session.
Implementation
bool get supportsCompleteLifecycle {
final requiredOperations = switch (backendKind) {
InappifyBackendKind.webJavaScript => _webRequiredOperations,
InappifyBackendKind.methodChannel => _nativeRequiredOperations,
_ => _dartRequiredOperations,
};
return ownsSession &&
protocolVersion == currentProtocolVersion &&
supportedOperations.containsAll(requiredOperations);
}