kravata_sdk_plugin package. It exposes KravataWebView, a full-screen widget that you push onto your navigation stack.
Requirements
Install
1
Add the dependency
The package is distributed from a private GitHub repository. Add it to Then run:
pubspec.yaml with the GitHub token Kravata gives you and the version tag you want to use:pubspec.yaml
2
Allow network access on Android
Add the Internet permission to iOS needs no extra permissions.
android/app/src/main/AndroidManifest.xml:Open the widget
Import the widget and push it withNavigator.push. Get sharedKey, nonce and clientId from your backend first (see Issue a widget session).
Parameters
Next steps
Backend integration
Issue widget sessions, receive
user.accepted_terms and register the user.Overview
Environments, credentials and the end-to-end flow.

