[Nearby Connections] error occurred when trying to send a file containing Non-ASCII values #2343
Labels
lang: swift
An issue with a Swift client library
P1
Priority 1 issue (will likely block a customer in the future)
platform: apple
An issue with the macOS or iOS implementation
project: common
An issue with the Nearby common code
project: connections
An issue with the Connections project
type: bug
Something is broken or not working as intended
Project
Nearby Connections
Language
Swift
OS Platform
Apple
What happened?
When sending a file with Non-ASCII name(e.g.
Hiraganaひらがな.txt
,Cyrillicкириллица.txt
, or!@#.png
) after connection, iOS app failed to send a file. There are two cases depending on whether file URL is percent-encoded or not.Oh, I made URL instance using
URL(fileURLWithPath: path)
constructor.What did you expect to happen?
I expected to send a file payload to connected endpoint.
How can we reproduce it (as minimally and precisely as possible)?
Apple애플.png
,!@#.png
, etc.)How often does this bug happen?
Every time
Standalone code to reproduce the issue
the iOS Example with some modification(
sendResource
) would work. Please let me know if you are not being able to reproduce it.Relevant log output
No response
Anything else we need to know?
The text was updated successfully, but these errors were encountered: