Modena Volley is one of the most famous and winning volleyball teams of Italy based in Modena. It has played in the highest level of national league from 1968. Our challenge was to build their application that had the purpose to bring the fans closer to the team, representing a place to put news about the team, results of matches, galleries of photos, calendar of the upcoming matches and many other informations. Using MBurger and its functionalities we were able to build the app faster and to have a complete dashboard where MV team can publish content easily.

Below we will describe some not trivial functionalities that we were able to implement in the app with the help of MBurger.

User authentication

One of the features of the app is the ability to vote for the MVP during the match. To prevent multiple votes from the same user/device we implemented user authentication using the MBAuth plugin. Only authenticated users can vote for the MVP and each user can vote only once for match. Users can register from the app or login with Facebook or Google.

The auth session is managed by MBurger, after a successful login the auth token is saved and sent with the subsequent api calls, to check if a user is already logged in:

iOS

Android

To register a new user the we used the register function of the SDK passing to it the data inserted in the forms of the registration screen:

iOS

Android

If a user is already registered we can use the authentication function with his credentials or create a new user by logging in with social networks for the first time.

iOS

Android

The auth functions returns the access token of MBurger in the success block if the developer needs to use it but the auth session is managed automatically by the SDK.

Registered user are displayed in the dashboard under Plug-In -> Users

GDPR compliance

With the introduction of GDPR, in may of 2018, we added the ability to create contracts and agreements directly from the MBurger dashboard under Settings -> Legal. Each agreement is made of a name and link to the text of the agreement or a markdown text representing it.

Agreements are retrieved with the SDK asking for the project:

iOS

Android

For this app we had 2 agreements, the first is a Privacy Policy, which is mandatory, the second one is a marketing agreement, and it’s optional.  As you can see in the previous screenshots they are requested in the registration screen but also when a social login is performed, with a popup. Obviously tapping on the agreement the text of it is displayed to the user so he can view it.

From the dashboard for every user it’s displayed if the agreement has been accepted or declined so that users that have not accepted the marketing one can be removed from marketing campaigns.

Push notifications

With the push notification ability of MBurger Modena Volley team is able to inform all of their fans of upcoming events and when new content is released in the application. For example they usually send a notification at the end of a match with its result or when a new gallery of photos is published.

The code to implement push notifications is very easy, just 3 steps:

  • Firstly you have to set the MBurger push token with the same token used in the dashboard under Settings -> Info & Features -> Push Token
  • Then when a token is obtained from the push services it has to be registered
  • When the registration is completed the app needs to be registered to the topic 

iOS

Android