Skip to content

Commit

Permalink
add aod support to example-app (#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlin-bbpos authored Sep 4, 2024
1 parent 42cb576 commit 281df38
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 281df38

Please sign in to comment.