Leaflet icon indicating copy to clipboard operation
Leaflet copied to clipboard

Access clipboard on Android

Open JVariance opened this issue 4 years ago • 6 comments

The clipboard can't be opened as of yet. At least on Galaxy S7 (Android 8.0.0).

JVariance avatar Jul 18 '21 09:07 JVariance

Sorry, could you incorporate some screenshots/reproduction steps for this bug? Doesn't make any sense right now

dvd-bnc avatar Jul 18 '21 10:07 dvd-bnc

The clipboard can't be opened as of yet. At least on Galaxy S7 (Android 8.0.0).

Does Samsung include some kind of "Privacy Guard" which interferes with clipboard access?

gargakshit avatar Jul 18 '21 11:07 gargakshit

The clipboard can't be opened as of yet. At least on Galaxy S7 (Android 8.0.0).

Does Samsung include some kind of "Privacy Guard" which interferes with clipboard access?

Maybe Samsung KNOX prevents this?

'Samsung and LG phones have their own built-in clipboards.' (https://www.howtogeek.com/692835/how-to-access-your-clipboard-on-android/)

Knox Reference: https://docs.samsungknox.com/devref/knox-sdk/reference/com/samsung/android/knox/restriction/RestrictionPolicy.html#allowClipboardShare(boolean)

JVariance avatar Jul 18 '21 14:07 JVariance

The clipboard can't be opened as of yet. At least on Galaxy S7 (Android 8.0.0).

Does Samsung include some kind of "Privacy Guard" which interferes with clipboard access?

Maybe Samsung KNOX prevents this?

'Samsung and LG phones have their own built-in clipboards.' (howtogeek.com/692835/how-to-access-your-clipboard-on-android)

Knox Reference: docs.samsungknox.com/devref/knox-sdk/reference/com/samsung/android/knox/restriction/RestrictionPolicy.html#allowClipboardShare(boolean)

As far as I know, this is for the enterprise stuff. Unless your device is managed by your employer, this API is not enabled. Though I am not sure. Could you please show us a screenshot, or screenrecord or some logs. We can't reproduce this on our (non-samsung) devices.

gargakshit avatar Jul 18 '21 16:07 gargakshit

https://user-images.githubusercontent.com/62245444/126102775-121361ee-2a12-444c-993b-369cc616758e.mp4

In this video I first show how it should be and after that show the behaviour in Leaflet.

JVariance avatar Jul 19 '21 04:07 JVariance

Leaflet-Clipboard-Issue-On-Galaxy-S7.mp4 In this video I first show how it should be and after that show the behaviour in Leaflet.

It is really unclear what might be causing this. Could you please capture and share some logs?

gargakshit avatar Jul 19 '21 09:07 gargakshit