Skip to content

Commit c6aeb37

Browse files
committed
Updated documentation to remove the title bar from ComplyCube widget.
1 parent 1f5f2d2 commit c6aeb37

File tree

1 file changed

+51
-41
lines changed

1 file changed

+51
-41
lines changed

README.md

Lines changed: 51 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -6,46 +6,43 @@ The ComplyCube Flutter SDK makes it quick and easy to build a frictionless custo
66
77
## Table of contents
88

9-
- [ComplyCube Flutter SDK](#complycube-flutter-sdk)
10-
- [Table of contents](#table-of-contents)
11-
- [Features](#features)
12-
- [Requirements](#requirements)
13-
- [Getting Started](#getting-started)
14-
- [1. Installing the SDK](#1-installing-the-sdk)
15-
- [Flutter package](#flutter-package)
16-
- [CocoaPods](#cocoapods)
17-
- [Application permissions](#application-permissions)
18-
- [iOS](#ios)
19-
- [Android](#android)
20-
- [2. Creating a client](#2-creating-a-client)
21-
- [Example request](#example-request)
22-
- [Example response](#example-response)
23-
- [3. Creating an SDK token](#3-creating-an-sdk-token)
24-
- [Example request](#example-request-1)
25-
- [Example response](#example-response-1)
26-
- [4. Prepare the SDK stages](#4-prepare-the-sdk-stages)
27-
- [5. Initialize the Flutter Widget](#5-initialize-the-flutter-widget)
28-
- [6. Perform checks](#6-perform-checks)
29-
- [Example response](#example-response-2)
30-
- [7. Setup webhooks and retrieve results](#7-setup-webhooks-and-retrieve-results)
31-
- [4. Customization](#4-customization)
32-
- [Stages](#stages)
33-
- [Welcome stage](#welcome-stage)
34-
- [Consent stage](#consent-stage)
35-
- [Document stage](#document-stage)
36-
- [Selfie photo and video stage](#selfie-photo-and-video-stage)
37-
- [Proof of address stage](#proof-of-address-stage)
38-
- [Look and feel](#look-and-feel)
39-
- [| uiInterfaceStyle | Set the SDK to use dark mode (`dark`), light mode (`light`), or system inherited (`inherit`). |](#-uiinterfacestyle----------------set-the-sdk-to-use-dark-mode-dark--light-mode-light-or-system-inherited-inherit---------------------)
40-
- [Localization](#localization)
41-
- [Result handling](#result-handling)
42-
- [Error handling](#error-handling)
43-
- [Events tracking](#events-tracking)
44-
- [Custom event handler](#custom-event-handler)
45-
- [Token expiry Handler](#token-expiry-handler)
46-
- [NFC capture](#nfc-capture)
47-
- [Going live](#going-live)
48-
- [Additional info](#additional-info)
9+
- [Features](#features)
10+
- [Requirements](#requirements)
11+
- [Getting Started](#getting-started)
12+
- [1. Installing the SDK](#1-installing-the-sdk)
13+
- [Flutter package](#flutter-package)
14+
- [CocoaPods](#cocoapods)
15+
- [Application permissions](#application-permissions)
16+
- [iOS](#ios)
17+
- [Android](#android)
18+
- [2. Creating a client](#2-creating-a-client)
19+
- [Example request](#example-request)
20+
- [Example response](#example-response)
21+
- [3. Creating an SDK token](#3-creating-an-sdk-token)
22+
- [Example request](#example-request-1)
23+
- [Example response](#example-response-1)
24+
- [4. Prepare the SDK stages](#4-prepare-the-sdk-stages)
25+
- [5. Initialize the Flutter Widget](#5-initialize-the-flutter-widget)
26+
- [6. Perform checks](#6-perform-checks)
27+
- [Example response](#example-response-2)
28+
- [7. Setup webhooks and retrieve results](#7-setup-webhooks-and-retrieve-results)
29+
- [4. Customization](#4-customization)
30+
- [Stages](#stages)
31+
- [Welcome stage](#welcome-stage)
32+
- [Consent stage](#consent-stage)
33+
- [Document stage](#document-stage)
34+
- [Selfie photo and video stage](#selfie-photo-and-video-stage)
35+
- [Proof of address stage](#proof-of-address-stage)
36+
- [Look and feel](#look-and-feel)
37+
- [Localization](#localization)
38+
- [Result handling](#result-handling)
39+
- [Error handling](#error-handling)
40+
- [Events tracking](#events-tracking)
41+
- [Custom event handler](#custom-event-handler)
42+
- [Token expiry Handler](#token-expiry-handler)
43+
- [NFC capture](#nfc-capture)
44+
- [Going live](#going-live)
45+
- [Additional info](#additional-info)
4946

5047
## Features
5148

@@ -83,7 +80,7 @@ Install the ComplyCube Flutter package by adding it to your `pubspec.yaml` file:
8380

8481
```yaml
8582
dependencies:
86-
complycube:
83+
complycube:
8784
hosted: 'https://complycuberepo.jfrog.io/artifactory/api/pub/cc-pub-dev-local/'
8885
version: ^0.0.1
8986
```
@@ -192,6 +189,19 @@ plugins {
192189
}
193190
```
194191

192+
The you can add the following line to disable the header shown on ComplyCube SDK Widget on `styles.xml`:
193+
194+
```xml
195+
...
196+
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
197+
...
198+
<item name="windowActionBar">false</item>
199+
<item name="windowNoTitle">true</item>
200+
...
201+
</style>
202+
...
203+
```
204+
195205
### 2. Creating a client
196206

197207
Before launching the SDK, your app must first [create a client](https://docs.complycube.com/api-reference/clients/create-a-client) using the ComplyCube API.

0 commit comments

Comments
 (0)