If your Template starts with tmpl_, you’re on v1.
We will stop making updates to v1 on December 31, 2022. You will still be able to create inquiries, but no new features or fixes will be available. We recommend moving to v2 for access to the latest product improvements- please see migration to v2 section or contact us.
If you want to dive right in to the Javadocs, you can do so here.
The Persona Inquiry flow lets you securely and seamlessly collect your user’s information.
Integrate the Persona Inquiry flow directly into your Android app with our native SDK.
Your application needs to have a minSdkVersion set to API 21 (Lollipop, 5.0) or higher.
In your app/build.gradle file (or wherever you plan on using the SDK) include the following:
The Inquiry flow is initiated with a builder pattern based on either template or inquiry. Everything on the builder is optional: theme, referenceId, accountId, and environment (which defaults to PRODUCTION).
Make the Persona Inquiry flow look and feel like your app.
Set your own colors, buttons, fonts, and more. First, make a style in your styles.xml file that extends the Persona style.
The following example would generate R.style.BlueDemoTheme.
Then set in as the theme in Inquiry builder.
Customizable attributes include colors, fonts, text alignments, images, and animations.
In order to specify fonts on Android, the fonts either must be system fonts or fonts bundled into your application.
If you would like to provide your own custom font, first create a font resource by following the follow guide: https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml.
Then you can supply your custom font in styles.xml:
Replace any title, body, or button text by overwriting our strings in your strings.xml file.