Java Code Examples for com.github.ajalt.reprint.core.Reprint#initialize()

The following examples show how to use com.github.ajalt.reprint.core.Reprint#initialize() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: KaliumApplication.java    From natrium-android-wallet with BSD 2-Clause "Simplified" License 6 votes vote down vote up
public void onCreate() {
    super.onCreate();

    // initialize Realm database
    Realm.init(this);

    if (BuildConfig.DEBUG) {
        Timber.plant(new Timber.DebugTree());
    }

    // create new instance of the application component (DI)
    mApplicationComponent = DaggerApplicationComponent
            .builder()
            .applicationModule(new ApplicationModule(this))
            .build();

    // initialize vault
    Vault.initializeVault(this);
    generateEncryptionKey();

    // initialize fingerprint
    Reprint.initialize(this);

    AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
}
 
Example 2
Source File: NanoApplication.java    From nano-wallet-android with BSD 2-Clause "Simplified" License 6 votes vote down vote up
public void onCreate() {
    super.onCreate();

    // initialize Realm database
    Realm.init(this);

    if (BuildConfig.DEBUG) {
        Timber.plant(new Timber.DebugTree());
    }

    // create new instance of the application component (DI)
    mApplicationComponent = DaggerApplicationComponent
            .builder()
            .applicationModule(new ApplicationModule(this))
            .build();

    // initialize vault
    Vault.initializeVault(this);
    generateEncryptionKey();

    // initialize fingerprint
    Reprint.initialize(this);

    AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
}
 
Example 3
Source File: TestApp.java    From reprint with Apache License 2.0 4 votes vote down vote up
@Override
public void onCreate() {
    super.onCreate();
    Reprint.initialize(this);
}