diff --git a/packages/onyxsdk_pen/android/src/main/kotlin/com/example/onyxsdk_pen/OnyxsdkPenPlugin.kt b/packages/onyxsdk_pen/android/src/main/kotlin/com/example/onyxsdk_pen/OnyxsdkPenPlugin.kt index 373bdcbbb5..1f957aecbb 100644 --- a/packages/onyxsdk_pen/android/src/main/kotlin/com/example/onyxsdk_pen/OnyxsdkPenPlugin.kt +++ b/packages/onyxsdk_pen/android/src/main/kotlin/com/example/onyxsdk_pen/OnyxsdkPenPlugin.kt @@ -27,7 +27,7 @@ class OnyxsdkPenPlugin: FlutterPlugin, MethodCallHandler { override fun onMethodCall(@NonNull call: MethodCall, @NonNull result: Result) { if (call.method == "isOnyxDevice") { - result.success(android.os.Build.BRAND == "onyx") // todo: check if this is the right value + result.success(android.os.Build.BRAND.lowercase() == "onyx") } else { result.notImplemented() }