Closed yuki24 closed 7 years ago
It's possible that a server needs to send push notifications to apps in different environments.
class WeatherNotifier < Fourseam::Base def weather_update(device_id) @device = Device.find(device_id) ... push apn: { device_token: @device.token, environment: @device.environment } end end
It's possible that a server needs to send push notifications to apps in different environments.