Swift in native/ios and Kotlin in native/android, called with the same JavaScript on both. This app's DeviceInfo module answers below.
native/ios/DeviceInfoModule.swift and native/android/DeviceInfoModule.kt, called with callNative("DeviceInfo", "info"). The web keeps a fallback (hasNative).