-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$1000] Remove 'require cycles' developer warning message #14816
Comments
Triggered auto assignment to @kevinksullivan ( |
Bug0 Triage Checklist (Main S/O)
|
@Julesssss looks like this is iOS specific, yes? Also, I'm not sure what reproduction steps to take to complete the checklist. Can you help me understand the problem a bit more so I can reproduce? Thanks! |
Ah right, sorry I should have used the default template. You're not going to be able to reproduce this as it's a developer environment issue only. It's occurring on Android and iOS and I'll update the description to make that clearer. |
Thanks! |
@kevinksullivan updated, I think we can open it up |
Job added to Upwork: https://www.upwork.com/jobs/~019a3456a58e369fbd |
Current assignee @kevinksullivan is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
Hey @abdulrahuman5196, that's interesting, thanks for taking a look. I simply couldn't receive notifications when I attempted this, but perhaps this was due to another issue. I'm just going to test it once more to check. |
Okay, well damn. My PR does work after all... Not sure what i messed up last time. I'm going to update it and put it in review. @abdulrahuman5196 I'd be happy to recommend a 50% of bounty bonus for your review and the investigation you did. I'm curious how your PR differs from mine. Would you mind explaining by commenting on the PR? |
Wonderful !!! I don't see major difference between your PR and what I tried other than "Only difference I see is we don't call init() when the UrbanAirship.getNamedUser() === accountID.toString() here - https://github.com/Expensify/App/blob/main/src/libs/Notification/PushNotification/index.native.js#L94. We can also return boolean here to determine whether to call init() or not in the session js file." But I don't think this would be absolutely required, even without this change push notifications is working. Might have been some issue in debug key when you tried as I see now you are testing with release builds in PR? I tried with prod key as mentioned by you here - https://expensify.slack.com/archives/C01GTK53T8Q/p1675094829937589?thread_ts=1675092451.431619&cid=C01GTK53T8Q |
Yeah I think that's likely. PR is in review now. |
PR merged and deployed. @kevinksullivan could you please create an UpWork issue to pay @abdulrahuman5196 50% of the original bounty for his help please. |
Thank you @Julesssss @kevinksullivan Applied in the upwork job melvin created here - #14816 (comment) |
Offer sent @abdulrahuman5196 . Let me know when you accept! |
@kevinksullivan also can you invite me for reporting bug |
Accepted the offer. @kevinksullivan |
Paid @abdulrahuman5196 . Offer sent @dhairyasenjaliya , let me know when you accept |
I am the first one who reported this regression here |
Sorry @situchan, I missed this. Lets make sure to report bugs in the Slack channel so that QA make the issue and correctly tag you next time. @kevinksullivan would you mind adding the report payment for @situchan? |
Hm if that's valid bug reporting before my posted on slack I would be happy to revert this milestone @Julesssss |
Honestly I'm struggling to see who posted if first. @dhairyasenjaliya I remember you posting in slack, that's why I created the issue, but I can't find the post and date anymore. |
@Julesssss i think here i reported on slack https://expensify.slack.com/archives/C01GTK53T8Q/p1675186823689109?thread_ts=1675186823.689109&cid=C01GTK53T8Q @situchan can you post your slack bug reporting link |
Ah, I think it was reported first in that linked Github issue. I kinda think that the Slack report is the first official report, as that's where QA will be looking. Though there was only about an hour or two in between. What do you think @kevinksullivan |
Hm yeah I see that but if that bug report posted like that on github no external dev or internal dev can see if bug reported or not @Julesssss |
I thought it was quicker to report on GH which caused regression so that PR author and reviewers know and quickly fix it before going to production. Slack bug reports usually take time for GH to be created, BZ assigned and engineer assigned and find offending PR. |
Thanks for understanding @situchan. I appreciate the idea behind commenting on the issue, but we'd definitely prefer it to be raised additionally in Slack. I re-read our contribution guidelines and I'll try to make this clearer so we don't run into the same problem again. |
Just catching up from OOO, I agree with the approach you proposed @Julesssss . Thanks for updating the documentation as well! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
As pointed out here, a new developer warning message was introduced by this PR. It is not a regression, but should be fixed. I attempted to resolve this myself here, but it appeared to break notifications 😕
We need to correctly import the Push Notification library, making sure that notifications work in all cases:
Action Performed:
Expected Result:
The warning should not show
Actual Result:
The warning shows
Workaround:
This is a developer-only issue, and it isn't a blocker
Platforms:
Which of our officially supported platforms is this issue occurring on?
Issue reported by: @dhairyasenjaliya
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: