I am creating the Sequence diagram that represents sending friendship requests from User 1 to user 2. The requests are stored in Firebase Realtime Database. User 2 is notified by Firebase Cloud Messaging that subscribes to topic which is user id. User 2 can deny or accept the request. This scenario I would like to model by sequence diagram. I have created this diagram so far. I am not sure how to capture action 1.1. After logging FCM is subscribed to user id. How would you model accept or deny of the request?
Sequence Diagram - Friendship request FCM
1.5k Views Asked by user3637775 At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in UML
- UML design for a nodeJS web application
- Laravel MVC application structure on UML class diagram
- Database tables for tennis court booking system
- Interfaces in UML component diagram
- Is this correct UML Sequence diagram?
- Easiest way to get Class UML from java(android) files or project w/o eclipse. Reverse engineer
- What kind of pattern design would apply?
- How to define composition(boss, subordinate relationship)
- Using Aggregation in Inheritance
- Tools for generate sequence diagram(UML) from PHP class(files)
- What underlying difference makes Node Instances appear different?
- Representing LinkedLists in UML diagrams?
- Hashmap in UML diagram?
- class diagram for changes without new class/method?
- Sorting a collection of numbers
Related Questions in FIREBASE-CLOUD-MESSAGING
- How to implement Google Cloud Messaging - Topic Messaging in Chrome?
- Android Push Notifications: Icon not displaying in notification, white square shown instead
- push notification with cordova and firebase Cloud messaging:registrationID keep changing
- Can not resolve symbol "FirebaseMessagingService"
- Firebase Messaging Unity Plugin shows notifications only in foreground
- How to send activity to Firebase Message value or call activity?
- Android - Firebase notifications not working
- Show Dialog when touch notification on Android
- FCM + Swift 3 - Notifications not appearing
- What is the difference between deviceToken of type Data and Fir InstanceID token of type optional String in Swift - IOS?
- Xcode 8.1 Push Notifications in swift 2.3 with firebase integration not getting?
- FirebaseInstanceId: background sync failed: PHONE_REGISTRATION_ERROR, retry in 10s/20s/40s
- notification on background firebase show dialog when apps open
- FCM not getting in background after legacy key
- Android Firebase notifications (FCM)
Related Questions in SEQUENCE-DIAGRAM
- Is this correct UML Sequence diagram?
- when can i draw solid life time at sequence diagram
- Sequence Diagram - Friendship request FCM
- Draw a sequence diagram
- Perfom an action by the same actor in an UML sequence diagram
- Class diagram to sequence diagram
- How to represent mutiple calls in Seq diagram
- DocumentListener in seq diagram
- How to visualize a missing response in an uml sequence diagram?
- How to generate a certain type of diagram from another type in EA?
- How to draw calls from constructors in UML sequence diagrams?
- Sequence diagram for GWT RPC mechanism
- Sequence diagram frames
- Difference between service-level and system-level Sequence Diagrams?
- Representing Sequence Diagram for an ERP system
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

The following is a way to model it:
User 2reacts on the notification with either acceptance or rejection. You can model both in one diagram with a fragment. Or you create two diagrams for either case.N.B. The sequence numbers at the messages are superfluous in SDs and only meaningful in ADs. You can turn them off in VP somewhere in the context menu of the diagram (IIRC).