Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error calling RCTEventEmitter.receiveEvent when tap on emoji from predictive text panel #4103

Closed
Serhy opened this issue May 4, 2018 · 6 comments

Comments

@Serhy
Copy link
Contributor

Serhy commented May 4, 2018

Type: Bug

Summary: java.lang.RuntimeException: Error calling RCTEventEmitter.receiveEvent error followed by the app crash appear when contact taps the emoji from auto-correction suggestions. Note - it should be a single emoji in auto-correction, it's all OK for text+emoji

Expected behavior

No errors when contact taps the emoji from auto-correction suggestions. Emoji appears in message box

Actual behavior

java.lang.RuntimeException: Error calling RCTEventEmitter.receiveEvent error followed by the app crash appears when contact taps upon emoji from auto-correction suggestions
screen shot 2018-05-04 at 11 31 11

Precondition

You may need to create auto replacement for text by emoji on Android if you don't have any.
For Android 6, for example, it could be done navigating to device Settings -> Language and input -> Keyboards -> Text shortcuts -> Add and add a text you want to be replace by replacement (e.g. Shortcut='Hello' and Expanded phrase = [Emoji symbol you wish to be replaced by]
Also Predictive text option setting should be turned on on the keyboard.

Reproduction

  • Open Status and create an account
  • Navigate to any type of chat (e.g. join public chat predictemoji)
  • In message box type the text you are about to replace by emoji
  • Send the text message (Note: auto replacement area with the emoji keep stay)
  • Tap on emoji from predictive text

Additional Information

  • Status version: Develop, Release 0.9.17 / 0.9.18
  • Operating System: Android

Logs

TF session with logs: https://app.testfairy.com/projects/4803622-status/builds/8227614/sessions/20/?accessToken=pQJq1uPWXf0Ox4ksujA2BAtPwzE

@Serhy Serhy added the bug label May 4, 2018
@yenda
Copy link
Contributor

yenda commented May 10, 2018

Potatoe bug

(easier to search later)

@yenda yenda added the chat label May 10, 2018
@yenda
Copy link
Contributor

yenda commented May 10, 2018

This is a react-native issue, we have to wait for a fix facebook/react-native#18405

@yenda
Copy link
Contributor

yenda commented May 10, 2018

The PR to follow for a fix facebook/react-native#18443

@yenda
Copy link
Contributor

yenda commented May 10, 2018

Moved to post-beta as this is unlikely that we can solve this bug before beta since it requires a PR to be merged in react-native and a release of react-native

@ghost
Copy link

ghost commented Sep 24, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@ghost ghost added the stale label Sep 24, 2018
@Serhy
Copy link
Contributor Author

Serhy commented Sep 26, 2018

I can not reproduce this issue anymore!

@Serhy Serhy closed this as completed Sep 26, 2018
@Serhy Serhy removed the stale label Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants