device_user_agent

Creator: coderz1093

Last updated:

0 purchases

device_user_agent Image
device_user_agent Images

Languages

Categories

Add to Cart

Description:

device user agent

Device User Agent #
Flutter plugin for building the user agent for the device.
The built user agent is based on the device's platform, version, and the app's package name and version.
Sample built user agent:
com.acmesoftware.dua/1.0.0 (iOS 17.5; iPhone 15 Pro Max; build: 2345678) oem/Apple model/iPhone15,4 screen/1290*2796/3.0
copied to clipboard
Usage #
import 'package:device_user_agent/device_user_agent.dart';

Future<void> displayUserAgent() async {
final userAgent = await DeviceUserAgent.instance.build();
print(userAgent); // com.acmesoftware.dua/1.0.0 (iOS 17.5; iPhone 15 Pro Max; build: 2345678) oem/Apple model/iPhone15,4 screen/1290*2796/3.0
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.