79539394

Date: 2025-03-27 15:58:57
Score: 1
Natty:
Report link

It needed auth method :token
`

  def connection
    @connection ||= Apnotic::Connection.new(
      cert_path: StringIO.new(credentials.apns_key),
      auth_method: :token,
      team_id: credentials.team_id,
      key_id: credentials.key_id,
      bundle_identifier: credentials.bundle_identifier
    )
  end
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Steve Schwedt