diff --git a/example-app/android/app/src/main/java/com/example/stripeterminalreactnative/MainApplication.kt b/example-app/android/app/src/main/java/com/example/stripeterminalreactnative/MainApplication.kt index cf87b9e5..8abdfd49 100644 --- a/example-app/android/app/src/main/java/com/example/stripeterminalreactnative/MainApplication.kt +++ b/example-app/android/app/src/main/java/com/example/stripeterminalreactnative/MainApplication.kt @@ -11,6 +11,7 @@ import com.facebook.react.ReactHost import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load import com.facebook.react.defaults.DefaultReactNativeHost import com.facebook.soloader.SoLoader +import com.stripeterminalreactnative.TerminalApplicationDelegate; import expo.modules.ApplicationLifecycleDispatcher import expo.modules.ReactNativeHostWrapper @@ -40,6 +41,7 @@ class MainApplication : Application(), ReactApplication { override fun onCreate() { super.onCreate() + TerminalApplicationDelegate.onCreate(this); SoLoader.init(this, false) if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) { // If you opted-in for the New Architecture, we load the native entry point for this app.