Closed izarutskaya closed 1 year ago
Triggered auto assignment to @joekaufmanexpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Platforms
in OP are ✅)Notification not receiving on iOS when long message is sent
The maximum payload size of notification:
You can take a look the document here
So that's why it didn't send the notification with long message, because the payload of notification over the limit size.
You need to update backend to make sure the payload of notification not over the limit size, that mean you need to reduce the number of characters of title and body of notification
📣 @tamdao! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
Not overdue
I can reproduce this. However, if this is an apple limitation, I'm not sure we'd do anything. Curious if others agree though.
Job added to Upwork: https://www.upwork.com/jobs/~0139b0dc94f812c234
Current assignee @joekaufmanexpensify is eligible for the External assigner, not assigning anyone new.
Triggered auto assignment to Contributor-plus team member for initial proposal review - @0xmiroslav (External
)
@0xmiroslav curious for your thoughts on this , when you have a chance?
Still pending insight from Miroslav.
I think this is internal issue. Push notification only works on real device where contributors can't test because they don't have access to apple cert and provisioning profile.
Sounds good. Making this internal!
Current assignee @0xmiroslav is eligible for the Internal assigner, not assigning anyone new.
Triggered auto assignment to @Gonals (Engineering
), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
@Gonals We're thinking this bug needs to be internal. Let us know if you agree!
I can reproduce this. However, if this is an apple limitation, I'm not sure we'd do anything. Curious if others agree though.
I know this is Apple limitation. But also other chat apps like Whatsapp, Instagram can send as long message you want and notifications still works... Not sure what mechanisms they will be using 🧐
@joekaufmanexpensify @0xmiroslav
@Gonals, @joekaufmanexpensify, @0xmiroslav Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
I think this is internal issue. Push notification only works on real device where contributors can't test because they don't have access to apple cert and provisioning profile.
I agree, but I can't really work on it either. I don't have an apple device to test on! 😆
@Gonals got it. Should we just re-assign this then?
I'm also curious if there is anything we can actually do about this (if this is an apple limitation). Though I see referenced here that other apps seem to get around this.
@Gonals bump on this when you have a sec!
Still pending further discussion.
Bumped Alberto 1:1
Yep! I think reassigning would be the way to go. I'll unassign myself. Can you roll the dice again, @joekaufmanexpensify? If I were to do it, I would just get reassigned 😅
Sounds good!
Triggered auto assignment to @Beamanator (Engineering
), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
@Beamanator as an fyi, we re-assigned this as this issue requires backend changes, but the engineer who works on it needs to have a physical iOS device, and Alberto does not. LMK if you have any questions!
Asked for confirmation in slack if we can give external devs access to any certs to be able to test & work on this externally
Taking over.
You need to update backend to make sure the payload of notification not over the limit size
We do this already for messages over 3kb 😕 I'll take a look at this again.
Testing this is very time-consuming and even more difficult for iOS. Demoting to weekly but I'm aiming to take a look today
Sounds good, thanks @Julesssss !
@Julesssss @joekaufmanexpensify @0xmiroslav this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks!
I'm noticing the Onyx payload limit is also being hit on Android...
Ah, interesting. That means we need to fix this in both native apps?
@joekaufmanexpensify it's likely a backend issue. I imagine we're hitting the max payload size again and will need to somehow reduce it. But the solution should work for both apps.
Got it, sounds good!
Woo, thanks Jules!
Fix deployed to prod, closing.
@Julesssss @joekaufmanexpensify I think reporting bonus is pending
Oh yep, thanks for the reminder
Yep! I'll pay today.
This issue is from before we changed pricing tiers, so bonus is $250 here.
@DinalJivani offer sent for $250!
@joekaufmanexpensify offer accepted! Thanks.
Since we are just paying out the reporting bonus here, we don't need to wait 7 days (since there is no possibility of the reporter causing a regression that results in reduced payment).
@DinalJivani $250 sent and contract ended!
Closing as this one is all set!
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
iOS should receive notification
Actual Result:
iOS native not receiving notification when message is long
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.57-5
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/115492554/c1b8742c-a229-43a4-af10-1a7888632d24
https://github.com/Expensify/App/assets/115492554/48073533-4192-4d4e-9181-c265b3237ca1
Expensify/Expensify Issue URL:
Issue reported by: @DinalJivani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692129779665229
View all open jobs on GitHub
Upwork Automation - Do Not Edit