Skip to content

Conversation

@jleandroperez
Copy link
Contributor

@jleandroperez jleandroperez commented Nov 14, 2019

Fix

In this PR we're mapping a (patched) version of Simperium, which makes sure Surrogate Pairs aren't split in the middle, and thus, causing invalid unicode strings.

@danielebogo May I bug you with a real fun PR?
Thanks in advance!!

Closes #397

Test

  1. Add a new note
  2. Enter the following emojis: ☺️🖖🏿
  3. Insert the following emoji in between: 😃
  • Verify the app doesn't break!

Release

RELEASE-NOTES.txt was updated in 3af363e with:

Fixed a bug that caused certain emojis combinations to crash the app

@jleandroperez jleandroperez added this to the 1.7.1 milestone Nov 14, 2019
@jleandroperez jleandroperez self-assigned this Nov 14, 2019
@jleandroperez jleandroperez added bug Something isn't working. crash Bad stuff — something related to an app crash! labels Nov 14, 2019
Copy link

@danielebogo danielebogo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jleandroperez LGTM! And the app doesn't crash!
One thing only (but I don't know if it's related to this PR), I signed in with a new user and the Welcome note disappeared from the Notes list.

Screenshot 2019-11-14 at 14 25 40

Then I selected Trash and again Notes. The Welcome Note wasn't there anymore and the list was empty. I created a new one to test this PR and tried to do the same thing but everything worked as expected.

@jleandroperez
Copy link
Contributor Author

Thank you @danielebogo !!! I'll dig deeper into the Welcome Note issue (couldn't trigger it over here on the first pass).

@jleandroperez jleandroperez merged commit 694bdc3 into develop Nov 14, 2019
@jleandroperez jleandroperez deleted the issue/397-fixing-crash branch November 14, 2019 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working. crash Bad stuff — something related to an app crash!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash: Emojis Again!

3 participants