[firebaseMessaging] Automatic retry logic for topic subscriptions. #3547
Unanswered
t-yasukawa
asked this question in
Q&A
Replies: 2 comments
-
Please tell me about that as far as you know. |
Beta Was this translation helpful? Give feedback.
0 replies
-
please... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Please tell me about the behavior when subscribing (or unsubscribing) by topic fails.
Q1. If it fails, the subscription is automatically retried. Is it possible to cancel it? I want to tell the user that the subscription has failed and cancel the subscription.
Q2. If it fails, the subscription is automatically retried. Is there a maximum limit of retries?
Q3. If it fails, is the order in which multiple retry processes are executed guaranteed?
ex)
step 1. firebaseMessaging.unsubscribeFromTopic ("Topic1")
step 2. firebaseMessaging.subscribeToTopic ("Topic2")
step 3. firebaseMessaging.unsubscribeFromTopic ("Topic2")
step 4. firebaseMessaging.subscribeToTopic ("Topic1")
[Run]
step1 retry ... complete.
step2 retry ... error.
step2 retry ... error.
step2 retry ... complete.
step3 retry ... complete.
step4 retry ... complete.
[Answer]
Topic1 is subscribed.
Topic2 is unsubscribed.
thank you.
Beta Was this translation helpful? Give feedback.
All reactions