Send Push Notification To Ios Simulator

[Solved] Send Push Notification To Ios Simulator | Swift - Code Explorer | yomemimo.com
Question : send push notification to ios simulator

Answered by : mahesh-jamdade

/// get the list of devices online
xcrun simctl list 'devices' 'booted'
/// send to all online devices
xcrun simctl push booted com.bundle.identifier payload.json
/// send to a specific device by passing deviceId found in above list
xcrun simctl push <deviceId> com.bundle.identifier payload.json 

Source : | Last Update : Fri, 01 Apr 22

Answers related to send push notification to ios simulator

Code Explorer Popular Question For Swift