question

wsadiq avatar image
wsadiq asked Lee Tickett answered

Determine type of clover device

We log the type of device that an order originated from. We used to use Platform methods to get the device type but that is deprecated. Platform2 does not seem to have any method that would return the type of Clover device. Is there a way to determine the type of clover device (mini, flex, mobile, station...) for the purpose of logging?
Clover Mini
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Lee Tickett avatar image
Lee Tickett answered
Have you tried
Build.MODEL
You will need to;
import android.os.Build;
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community