This repository contains a simple app that enables all connected clients to roll a dice and view the result. For a walkthrough of this example and how it works, check out the tutorial documentation.
Node 12.17+
After cloning the repository, install dependencies and start the application
npm install
npm start
- Download ngrok.
- Launch ngrok with port 8080.
ngrok http 8080 --host-header=localhost
- Open
.\manifest\manifest.json
and update values in it. - You must replace
https://<<BASE_URI_DOMAIN>>
with the https path to your ngrok tunnel. - It is recommended that you also update the following fields.
- Set
developer.name
to your name. - Update
developer.websiteUrl
with your website. - Update
developer.privacyUrl
with your privacy policy. - Update
developer.termsOfUseUrl
with your terms of use.
- Set
- Create a zip file with the contents of
.\manifest
directory so that manifest.json, color.png, and outline.png are in the root directory of the zip file.- On Windows, select all files in
.\manifest
directory and compress them. - Give your zip file a descriptive name, e.g.
DiceRollerLiveShare
.
- On Windows, select all files in
- Schedule a meeting for testing from calendar in Teams.
- Join the meeting.
- In the meeting window, tap on + Apps and tap on Manage apps in the flyout that opens.
- In the Manage apps pane, tap on Upload a custom app.
- Don't see the option to Upload a custom app?! Follow instructions here to enable custom-apps in your tenant.
- Select the zip file you created earlier and upload it.
- In the dialog that shows up, tap Add to add your sample app into the meeting.
- Now, back in the meeting window, tap + Apps again and type the name of your app in the Find an app textbox.
- Select the app to activate it in the meeting.
- In the configuration dialog, just tap Save to add your app into the meeting.
- In the side panel, tap the share icon to put your app on the main stage in the meeting.