I am getting near to having a version 1 of my app but I have just noticed a big issue when testing to do with Messaging Center. At the moment if lets say I want to add a user to a company then the CompanyPage **will navigate to the **UserListPage **after subscribing and then once the user is selected then the **UserListPage **will send the user over the messaging centre back to the **CompanyPage.
Now because the app runs under a Master/Detail Navigation I had it that in the **OnDisappearing() **method of the **UserListPage ** all of the Messaging Centre subscriptions would be unsubscribed as there was a chance that the user might suddenly go to an entirely different page that is in the page list in the Master Page.
This is fine except when selecting a user you have the option to view there page or add a new one. This takes you to another page and calls the OnDisappearing() method stops the selected user being sent back to the CompanyPage.
I'm curious how other people implement Messaging Center in their apps to make sure that
1) You unsubscribe once you are done with the event, including in a scenario where the user still has the option to go to entirely irrelevant pages
2) You still have the option to go to other pages but still keep hold of the subscription as it may still be relevant.