Page MenuHomePhabricator

Refrain from querying blob service from the NSE if CAST is missing
ClosedPublic

Authored by marcin on Jun 24 2024, 3:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 1:03 PM
Unknown Object (File)
Fri, Nov 1, 1:03 PM
Unknown Object (File)
Fri, Nov 1, 1:03 PM
Unknown Object (File)
Fri, Nov 1, 1:03 PM
Unknown Object (File)
Fri, Nov 1, 1:03 PM
Unknown Object (File)
Fri, Nov 1, 1:02 PM
Unknown Object (File)
Fri, Oct 18, 11:22 PM
Unknown Object (File)
Sep 28 2024, 2:30 PM
Subscribers

Details

Summary

This differential make the NSE bail blob service query if CAST is missing

Test Plan
  1. Send large notification to the native client.
  2. Ensure notif is displayed but the console logs say that blob service query was aborted because there was no CSAT.
  3. Now flip usingCommServicesAccessToken to true.
  4. Ensure large notif is fetched.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

web/cpp/SQLiteQueryExecutorBindings.cpp
252–262 ↗(On Diff #41634)

Someone forgot to run clang formatting. Let's cover it in this diff.

REmove unnecessary ternary operators from Android code.

bartek added inline comments.
native/android/app/src/main/java/app/comm/android/commservices/CommAndroidBlobClient.java
93 ↗(On Diff #41636)

You haven't attempted querying so it's better wording

native/ios/Comm/CommIOSServices/CommIOSBlobClient.mm
260 ↗(On Diff #41636)

same as above

This revision is now accepted and ready to land.Jun 24 2024, 4:00 AM
This revision was landed with ongoing or failed builds.Jun 24 2024, 4:41 AM
This revision was automatically updated to reflect the committed changes.