cordova-plugin-native-keyboard icon indicating copy to clipboard operation
cordova-plugin-native-keyboard copied to clipboard

Feature Request: Emoji Keyboard for left button.

Open srameshr opened this issue 8 years ago • 11 comments

Is it possible to bring up emojis after clicking the left button? Any options to the left button that might open up the emoji keyboard? In plain html this brings up emoji keyboard

<input type="textShortMessage" />

srameshr avatar Nov 18 '16 15:11 srameshr

I added it as a test (the input field at the top) at this keyboard is shown:

simulator screen shot 18 nov 2016 16 43 55

Is that what you mean?

EddyVerbruggen avatar Nov 18 '16 15:11 EddyVerbruggen

No!

See this. The icon for the left button is an emoji icon. Once clicked, it shows up the emoji keyboard instead of letters and numbers.

srameshr avatar Nov 18 '16 15:11 srameshr

Aha, so this is about Android. Perhaps <input type="textShortMessage" /> behaves differently on Android then.

Have you also found an example of such a button on iOS?

EddyVerbruggen avatar Nov 18 '16 16:11 EddyVerbruggen

Just checked out Whatsapp on IOS. It does not have that. Android only. Never mind. It's ok!

srameshr avatar Nov 18 '16 16:11 srameshr

@EddyVerbruggen There is a problem though. Some android phones do not provide an emoji key. So could you please give an option to open emoji's. May be when clicked on left button popup the emoji keyboard instead of an actionsheet.

srameshr avatar Nov 20 '16 07:11 srameshr

Hmm, that would mean including a library that provides a set of emoji's.

I've added a small change in 1.1.2 which should trigger rendering an Emoji key on the keyboard if available (or at least a settings button you can press to select the Emoji keyboard).

On which device are you testing?

EddyVerbruggen avatar Nov 20 '16 11:11 EddyVerbruggen

@EddyVerbruggen Emojis are built into most Android and IOS phones from 4.4 onwards. The thing is some keyboards by default does not show up the emoji icon. Users have no idea on how to get it working. So is there anyway to show whats available on the phone just by clicking the "leftButton"?

The new emoji key update. How to use it? Is it mentioned in the docs? I see the commit name is same as the issue. The diff shows a minified file and a .jar file. Could you update the docs, or mention it here. I will try to send a PR on docs if you just give a rough idea on how to use the emoji icons.

srameshr avatar Nov 20 '16 11:11 srameshr

There's nothing to configure as the library itself now sets a hint to include an emoji buttton on the keyboard.

Can you send me a screenshot and spec of the device you're testing with?

There's no way to trigger the emoji keyboard directly from a button without including an additional library which I rather don't.

EddyVerbruggen avatar Nov 20 '16 11:11 EddyVerbruggen

I am totally with you on not including an additional library. How does Whatsapp do it? How do they allow a button outside which resides outside the keyboard, which on clicked will bring up the keyboard with emoji view of the keyboard activated.

Sending a screenshot of my devices.

srameshr avatar Nov 20 '16 12:11 srameshr

Eddy love this. KB is brutally hard.

Question: do you think there is anyway that an emoji window (HTLML5 based EmojiOne), prompted by an emoji button added above the KB, could trigger the emoji div overlayed on the KB and the text field appears above the emoji box. Here is a relatable screenshot. Even if we moved the emoji icon to the bar, same question.

Additionally curious if you think it possible to have emojione replace the native keyboard as well or toggle between native emoji?

emoji1 emoji2

Textras avatar Dec 29 '16 19:12 Textras

hey @Textras how you doin? how did u make a trigger for emojis? i'm facing this problem, i need to do a button that triggers keyboard to jump into emojis section.

dann95 avatar Jun 12 '19 18:06 dann95