redltd_rilac 0.0.7

SDKflutter
Platformandroidios

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 NameDescriptionDefault Value
baseURLprovide from service holderlocalhost
userNameprovide from service holderyour-userName
userPasswordprovide from service holderyour-userPassword
moduleprovide from service holderyour-api-key
customerMobileNumberLogin User numberyour-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.