tabris icon indicating copy to clipboard operation
tabris copied to clipboard

ClientDevice support

Open JohnGymer opened this issue 5 years ago • 4 comments

Is ClientDevice still supported in Tabris for RAP 3.6?

e.g.: ClientDevice clientDevice = RWT.getClient().getService( ClientDevice.class ); if (clientDevice.hasCapability(Capability.CAMERA)) ... These types of queries always return FALSE for the capabilities (camera, phone, sms, location etc.) Seems they are always FALSE on iOS and Android devices that I have tested so far.

JohnGymer avatar Apr 25 '19 10:04 JohnGymer

That's not available on Tabris for RAP 3.6.

ifurnadjiev avatar Apr 25 '19 12:04 ifurnadjiev

What, so NONE of the device features are there? I hadn't caught that they were ALL removed - thought maybe just GeoLocation had gone... I guess we have to bridge to proper Tabris.js and use Cordova plug-ins?

JohnGymer avatar Apr 25 '19 12:04 JohnGymer

I mean the implementation in Tabris for RAP 3.6 is missing. We need to find a solution for that - Cordova plugin or tabris.js support.

ifurnadjiev avatar Apr 25 '19 12:04 ifurnadjiev

ok, so it will come back in a future update?

JohnGymer avatar Apr 25 '19 12:04 JohnGymer