New realtime sdk methods and working#1466
Conversation
Greptile SummaryThis PR replaces the slot-based subscription-ID reconciliation model with client-generated UUIDs across web, Flutter, Android, and Apple SDK templates, and adds
Confidence Score: 4/5Safe to merge after the Android lock scope and React Native gaps are resolved. Two P1 findings remain: the React Native template missing the new API entirely, and the Android subscribe() holding subscriptionLock across ws.send() which is a latent deadlock. The core redesign is sound across web, Flutter, Apple, and Android listener paths. templates/react-native/src/client.ts.twig (missing new API) and templates/android/library/src/main/java/io/package/services/Realtime.kt.twig (lock held across ws.send). Important Files Changed
|
#1467) * refactor: update subscription handling to use unique subscription IDs across services * updated * updated * feat: implement unique subscription ID generation across services * updated * updated
What does this PR do?
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)