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

Only first character of (non-ASCII) notification messages appear in demo app #8

Open
Tw1ddle opened this issue May 15, 2021 · 0 comments

Comments

@Tw1ddle
Copy link
Owner

Tw1ddle commented May 15, 2021

Just noting this in case anyone else runs into this issue. My demo app for the haxelib prints notification messages in a variety of languages, and these messages used to display correctly.

https://github.com/Tw1ddle/samcodes-notifications-demo

Under Haxe 4.1.2 and hxcpp 4.2.1 and OpenFL 9.1.0, the notification message bodies only ever include the first character of the message, "I" (of messages that read like "Id x: non-english-text..."), on iOS.

It seems to work fine for strings that are all in English, but using messages from an array of strings that include other stuff, including non-ASCII characters, does not work.

Perhaps there is a string encoding/conversion issue going over my head: https://github.com/Tw1ddle/samcodes-notifications/blob/master/project/iphone/SamcodesNotifications.mm#L184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant