twostraws / ControlRoom

A macOS app to control the Xcode Simulator.
MIT License
5.75k stars 306 forks source link

Push Notification Payload Editor Automatically Swaps " for ” #102

Closed james-rant closed 3 years ago

james-rant commented 3 years ago

When typing in the push notification payload text view, if you edit something within "" they automatically change to "smart quotes" which causes the notification to not be able to be sent (since it's no longer valid JSON).

If you use the notification editor, the JSON uses correct quotes.

Control Room was built on: Xcode: 12.4 macOS: 11.1 (20C69)

Used the debug scheme (Release scheme had an error: "The linked framework 'CoreSimulator.framework' is missing one or more architectures required by this target: arm64.", will raise a separate issue for that.

james-rant commented 3 years ago

Thanks!