redltd_rilac 0.0.7 copy "redltd_rilac: ^0.0.7" to clipboard
redltd_rilac: ^0.0.7 copied to clipboard

A Flutter plugin for the Rilac SDK.(https://redtechnologies.tech/).

redltd_rilac #

RilacPMS(Point Management System)

Getting Started #

Use

import 'package:redltd_rilac/redltd_rilac.dart';

RedltdRilac.config(baseURL: "", userName: "", userPassword: "", module: "", customerMobileNumber: "");
Variable Name Description Default Value
baseURL provide from service holder localhost
userName provide from service holder your-userName
userPassword provide from service holder your-userPassword
module provide from service holder your-api-key
customerMobileNumber Login User number your-loginNumber

Device information #

*Note: using this code get to device info(if needed)

import 'package:device_info_plus/device_info_plus.dart';

DeviceInfoPlugin deviceInfo = DeviceInfoPlugin();
late AndroidDeviceInfo androidInfo; 
late IosDeviceInfo iosInfo;
    
if (Platform.isAndroid) {   
  androidInfo = await deviceInfo.androidInfo;
} else if (Platform.isIOS) {   
  iosInfo = await deviceInfo.iosInfo;
}

String deviceOS = Platform.isAndroid ? androidInfo.version.release : iosInfo.systemVersion; 
String deviceBrand = Platform.isAndroid ? androidInfo.brand : 'Apple'; 
String deviceModel = Platform.isAndroid ? androidInfo.model : iosInfo.utsname.machine;
String uniqueId = Platform.isAndroid ? androidInfo.id : iosInfo.identifierForVendor ?? "";

Example: #

Demo example

for more visit Rilac Documentation

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

3
likes
115
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for the Rilac SDK.(https://redtechnologies.tech/).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

device_info_plus, dio, flutter, plugin_platform_interface, shared_preferences

More

Packages that depend on redltd_rilac

Packages that implement redltd_rilac