Skip to content

Commit

Permalink
Add logException bridge function in demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
fluiddot committed Mar 7, 2024
1 parent 96f53be commit f3211da
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import org.wordpress.mobile.ReactNativeGutenbergBridge.GutenbergBridgeJS2Parent.
import org.wordpress.mobile.ReactNativeGutenbergBridge.GutenbergWebViewActivity
import org.wordpress.mobile.ReactNativeGutenbergBridge.RNMedia
import org.wordpress.mobile.ReactNativeGutenbergBridge.RNReactNativeGutenbergBridgePackage
import org.wordpress.mobile.WPAndroidGlue.GutenbergJsException
import org.wordpress.mobile.WPAndroidGlue.Media
import org.wordpress.mobile.WPAndroidGlue.MediaOption

Expand Down Expand Up @@ -218,6 +219,8 @@ class MainApplication : Application(), ReactApplication, GutenbergBridgeInterfac
override fun requestConnectionStatus(connectionStatusCallback: ConnectionStatusCallback) {
connectionStatusCallback.onRequestConnectionStatus(true)
}

override fun logException(exception: GutenbergJsException, logExceptionCallback: GutenbergBridgeJS2Parent.LogExceptionCallback) {}
}, isDarkMode)
}

Expand Down

0 comments on commit f3211da

Please sign in to comment.