ManufacturerUnknownMethod class
Detection method that checks if the device manufacturer is unknown or empty.
This method examines the device's manufacturer property to detect emulators. Many Android emulators return "unknown" or empty string as the manufacturer, which is uncommon on physical devices that typically have specific manufacturer names like "Samsung", "Google", "OnePlus", etc.
Reliability: Medium (70-80%)
- Good indicator for many emulators
- Some physical devices may also return "unknown" if manufacturer info is unavailable
- Easy to spoof by modifying device properties
Score: 10 points when manufacturer is "unknown" or empty
Performance: Fast - only checks string property
- Inheritance
-
- Object
- EmulatorDetectionMethod
- ManufacturerUnknownMethod
Constructors
- ManufacturerUnknownMethod.new({double score = 10, String? reason = "Manufacturer is unknown or empty"})
Properties
Methods
-
execute(
) → Future< ({String? reason, double score})> -
Executes the method and returns a score between 0 and 100
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited