Skip to content

1.15.0.0 and Later

Changes

The TapkeyServiceFactoryBuilder creates an instance of AndroidTapkeyServiceFactory, which is a derivation of the os independent TapkeyServiceFactory, and the TapkeyAppContext now enforces an Android TapkeyServiceFactory return type for the get method.

Migration

In the implementation of the Android Application, the type TapkeyServiceFactory has to be replaced with the type AndroidTapkeyServiceFactory.

public class App extends Application implements TapkeyAppContext{

//
// Replace
// private TapkeyServiceFactory tapkeyServiceFactory;
// with
private AndroidTapkeyServiceFactory tapkeyServiceFactory;

...

    @Override
    // Replace
    // public TapkeyServiceFactory getTapkeyServiceFactory() {
    // with
    public AndroidTapkeyServiceFactory getTapkeyServiceFactory() {
        return tapkeyServiceFactory;
    }

...