@objc(RnSellentisDeviceInfo)
class RnSellentisDeviceInfo: NSObject {

  @objc public func getSystemInfo(
    _ callback: @escaping RCTResponseSenderBlock
  ) {
    let systemInfo: [String: Any] = [
      "deviceName": UIDevice.current.name,
      "systemName": UIDevice.current.systemName,
      "systemVersion": UIDevice.current.systemVersion,
      "model": UIDevice.current.model,
      "localizedModel": UIDevice.current.localizedModel,
      "identifierForVendor": UIDevice.current.identifierForVendor?.uuidString ?? "unknown"
    ]
    callback([systemInfo])
  }
}
