iOS Customization

In this section, you will find all the information necessary for customizing the SDK of the Unico IDCloud platform in your Android applications


The Android SDK allows for some customizations to be made. Below are all the possible customizations for this SDK.

Customize Language


It is possible to configure the experience of the informational messages in the capture frames by changing their language. Use the enumerated type LocaleTypes, which contains the following values:

  • LocaleTypes.PT_BR: for Portuguese(Brazil);

  • LocaleTypes.ES_MX: for Spanish(Mexico);

  • LocaleTypes.ES_ES: for Spanish(Spain);

  • LocaleTypes.EN_US: for English(USA).

See how to implement it in the example below:

[unicoCheck setLocale:EN_US];
  • A remote activation may be required to be used, if you wish to use it, notify your project manager or Unico support.

  • If not configured, the SDK will use Portuguese as the default language.

Customize Capture Experience


This is an optional step, but it is highly recommended to give the capture process the visual identity of your company. You can customize some objects in the frame according to the camera mode used through the setTheme() method.

Os tipos suportados para representação de cor são Color Resource ou String contendo o código hexadecimal da cor. Ex: R.color.red ou #FF0000.

All methods are available below:

Method

getColorSilhouetteSuccess()

getColorSilhouetteError()

getColorBackground()

getColorBoxMessage()

getColorTextMessage()

getColorTextPopupError()

getColorBackgroundPopupError()

getColorBackgroundButtonPopupError()

getColorTextButtonPopupError()

getColorBackgroundTakePictureButton()

getColorIconTakePictureButton()

getColorBackgroundBottomDocument()

getColorTextBottomDocument()

getImageIconPopupError()

getProgressBarColor() (opcional)

getCancelButtonIconColor() (opcional)

Here are some examples of how you can use the above methods in your project:

.h:
#import "AcessoBioThemeDelegate.h"

@interface ViewController : UIViewController  {

@end

.m:
#import "ViewController.h"
#import <AcessoBio/AcessoBio.h>

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    unicoCheck = [[AcessoBioManager alloc]initWithViewController:self];
}

- (id)getColorBackground {
    code
}

- (id)getColorBackgroundBottomDocument {
    code
}

- (id)getColorBackgroundButtonPopupError {
    code
}

- (id)getColorBackgroundPopupError {
    code
}

- (id)getColorBackgroundTakePictureButton {
    code
}

- (id)getColorBoxMessage {
    code
}

- (id)getColorIconTakePictureButton {
    code
}

- (id)getColorSilhouetteError {
    code
}

- (id)getColorSilhouetteSuccess {
    code
}

- (id)getColorTextBottomDocument {
    code
}

- (id)getColorTextButtonPopupError {
    code
}

- (id)getColorTextMessage {
    code
}

- (id)getColorTextPopupError {
    code
}

- (id) getProgressBarColor {
    code
}

- (id) getCancelButtonIconColor {
    code
}

@end

Still need help?

Didn't find something or still need help? If you're already a client or partner, you can reach out through our Help Center.

Atualizado

Institucional

Sobre nós

Copyright © 2024 unico. All rights reserved