nudj / nudj-ios

Nudj - iOS App (Archive)
0 stars 0 forks source link

Bug with chat > Message not being sent if it goes from the notification screen. #136

Open RobynMcG opened 8 years ago

RobynMcG commented 8 years ago

@richardbuckle As this is so unpredictable could one (temporary fix) be to send both a SMS and notification when a chat is started or a candidate applies. That way the candidate will know the hirer has reached out to them and the hirer knows when a candidate applies

richardbuckle commented 8 years ago

Steps to repro:

  1. SSH to api.nudj.co and tail -f the server log at /var/www/nudj-system/nudj-api-production/nudj-backend/nudj-api/storage/logs/laravel-2016-07-19.log.
  2. Log in as Alice Tester in the Xcode simulator (production build).
  3. Have my real iPhone logged in as myself but not currently with the app in front.
  4. Have Alice tap "Interested" in a new one of my jobs.

Expected:

  1. Server logs APNS notification - YES
  2. I receive a notification on my actual iPhone - NO
  3. I see the new notification item in the notification tab in the app - YES

More steps:

  1. I tap the "Message" button on the notification item in the notification tab in the app
  2. I send a test message to Alice

Expected:

  1. The server logs an APNS notification to Alice - NO, but that may be because she isn't using a real iPhone
  2. The chat session is instantiated and visible on both phones - INTERMITTENT, failed once, succeeded once.