Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated samples to use manifest version 1.16 #992

Merged
merged 8 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
74 changes: 40 additions & 34 deletions README.md

Large diffs are not rendered by default.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.schema.json",
"manifestVersion": "1.12",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "{{Microsoft-App-Id}}",
"packageName": "com.microsoft.teams.appcheckinlocation",
Expand Down Expand Up @@ -49,11 +49,14 @@
"isNotificationOnly": false
}
],
"permissions": [ "identity", "messageTeamMembers" ],
"permissions": [
"identity",
"messageTeamMembers"
],
"devicePermissions": [
"geolocation"
],
"validDomains": [
"{{domain-name}}"
]
}
}
Binary file not shown.
11 changes: 7 additions & 4 deletions samples/app-checkin-location/nodejs/appManifest/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.13/MicrosoftTeams.schema.json",
"manifestVersion": "1.13",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "${{TEAMS_APP_ID}}",
"packageName": "com.microsoft.teams.appcheckinlocation",
Expand Down Expand Up @@ -49,11 +49,14 @@
"isNotificationOnly": false
}
],
"permissions": [ "identity", "messageTeamMembers" ],
"permissions": [
"identity",
"messageTeamMembers"
],
"devicePermissions": [
"geolocation"
],
"validDomains": [
"${{BOT_DOMAIN}}"
]
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.schema.json",
"manifestVersion": "1.12",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "{{Microsoft-App-Id}}",
"packageName": "com.microsoft.teams.appcompleteauth",
Expand All @@ -19,7 +19,8 @@
"outline": "outline.png"
},
"name": {
"short": "App complete auth"
"short": "App complete auth",
"full": "Authentication sample for Microsoft Teams"
},
"description": {
"short": "Authentication sample for Microsoft Teams",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.13/MicrosoftTeams.schema.json",
"manifestVersion": "1.13",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "{{Microsoft-App-Id}}",
"packageName": "com.microsoft.teams.appcompleteauth",
Expand All @@ -15,7 +15,8 @@
"outline": "outline.png"
},
"name": {
"short": "App complete auth"
"short": "App complete auth",
"full": "Authentication sample for Microsoft Teams"
},
"description": {
"short": "Authentication sample for Microsoft Teams",
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions samples/app-complete-auth/nodejs/appManifest/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.schema.json",
"manifestVersion": "1.12",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "${{TEAMS_APP_ID}}",
"packageName": "com.microsoft.teams.appcompleteauth",
Expand Down
12 changes: 8 additions & 4 deletions samples/app-complete-auth/nodejs/appManifest_Hub/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.13/MicrosoftTeams.schema.json",
"manifestVersion": "1.13",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "{{MicrosoftAppId}}",
"packageName": "com.microsoft.teams.appcompleteauth",
Expand All @@ -19,7 +19,8 @@
"outline": "outline.png"
},
"name": {
"short": "App complete auth"
"short": "App complete auth",
"full": "Authentication sample for Microsoft Teams"
},
"description": {
"short": "Authentication sample for Microsoft Teams",
Expand Down Expand Up @@ -112,7 +113,10 @@
}
],
"accentColor": "#60A18E",
"permissions": [ "identity", "messageTeamMembers" ],
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": [
"*.ngrok-free.app",
"token.botframework.com",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.13/MicrosoftTeams.schema.json",
"manifestVersion": "1.13",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.5",
"id": "{{Microsoft-App-Id}}",
"packageName": "com.skype.teams.samples.sampleapp",
Expand Down
17 changes: 12 additions & 5 deletions samples/app-complete-sample/csharp/appManifest/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.schema.json",
"manifestVersion": "1.12",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.5",
"id": "{{Microsoft-App-Id}}",
"packageName": "com.skype.teams.samples.sampleapp",
Expand Down Expand Up @@ -38,14 +38,21 @@
{
"configurationUrl": "https://{{domain-name}}/Page/index.html",
"canUpdateConfiguration": false,
"scopes": [ "team", "groupchat" ]
"scopes": [
"team",
"groupchat"
]
}
],
"bots": [
{
"botId": "{{Microsoft-App-Id}}",
"isNotificationOnly": false,
"scopes": [ "team", "personal", "groupchat" ],
"scopes": [
"team",
"personal",
"groupchat"
],
"commandLists": [
{
"scopes": [
Expand Down Expand Up @@ -172,4 +179,4 @@
"validDomains": [
"{{domain-name}}"
]
}
}
Binary file not shown.
17 changes: 12 additions & 5 deletions samples/app-complete-sample/nodejs/appManifest/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.13/MicrosoftTeams.schema.json",
"manifestVersion": "1.13",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.5",
"id": "${{TEAMS_APP_ID}}",
"packageName": "com.Template.microsoftteams.completesampleapp",
Expand All @@ -27,7 +27,10 @@
{
"configurationUrl": "${{BOT_ENDPOINT}}/configure",
"canUpdateConfiguration": false,
"scopes": [ "team", "groupchat" ]
"scopes": [
"team",
"groupchat"
]
}
],
"staticTabs": [
Expand All @@ -44,7 +47,11 @@
"bots": [
{
"botId": "${{AAD_APP_CLIENT_ID}}",
"scopes": [ "team", "personal", "groupchat" ],
"scopes": [
"team",
"personal",
"groupchat"
],
"commandLists": [
{
"scopes": [
Expand Down Expand Up @@ -164,4 +171,4 @@
"token.botframework.com",
"${{BOT_DOMAIN}}"
]
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.13/MicrosoftTeams.schema.json",
"manifestVersion": "1.13",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.5",
"id": "<<REGISTERED_BOT_ID>>",
"packageName": "com.Template.microsoftteams.completesampleapp",
Expand Down Expand Up @@ -63,4 +63,4 @@
"token.botframework.com",
"<<BASE_URI_DOMAIN>>"
]
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.schema.json",
"manifestVersion": "1.12",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "<<Microsoft-App-Id>>",
"packageName": "com.contoso.helloworld",
Expand Down Expand Up @@ -77,4 +77,4 @@
"validDomains": [
"{{domain-name}}"
]
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.13/MicrosoftTeams.schema.json",
"manifestVersion": "1.13",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "<<Microsoft-App-Id>>",
"packageName": "com.contoso.helloworld",
Expand Down Expand Up @@ -57,4 +57,4 @@
"validDomains": [
"{{domain-name}}"
]
}
}
Binary file modified samples/app-hello-world/csharp/demo-manifest/app-hello-world.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions samples/app-hello-world/nodejs/appManifest/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.schema.json",
"manifestVersion": "1.12",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "${{TEAMS_APP_ID}}",
"packageName": "com.contoso.helloworld",
Expand Down
8 changes: 4 additions & 4 deletions samples/app-hello-world/nodejs/appManifest_Hub/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.13/MicrosoftTeams.schema.json",
"manifestVersion": "1.13",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "<<Your Microsoft App Id>>",
"packageName": "com.contoso.helloworld",
Expand All @@ -19,7 +19,7 @@
"full": "This sample app provides a very simple app for Microsoft Teams. You can extend this to add more content and capabilities."
},
"icons": {
"outline": "outline.png",
"outline": "outline.png",
"color": "color.png"
},
"accentColor": "#60A18E",
Expand Down Expand Up @@ -57,4 +57,4 @@
"validDomains": [
"{{domain-name}}"
]
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.schema.json",
"manifestVersion": "1.12",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "{{Microsoft-App-Id}}",
"packageName": "com.microsoft.teams.qrappinstallation",
Expand Down Expand Up @@ -34,7 +34,10 @@
"isNotificationOnly": false
}
],
"permissions": [ "identity", "messageTeamMembers" ],
"permissions": [
"identity",
"messageTeamMembers"
],
"devicePermissions": [
"media"
],
Expand All @@ -46,4 +49,4 @@
"id": "{{Microsoft-App-Id}}",
"resource": "api://botid-{{Microsoft-App-Id}}"
}
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.13/MicrosoftTeams.schema.json",
"manifestVersion": "1.13",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "${{TEAMS_APP_ID}}",
"packageName": "com.microsoft.teams.qrappinstallation",
Expand Down Expand Up @@ -34,7 +34,10 @@
"isNotificationOnly": false
}
],
"permissions": [ "identity", "messageTeamMembers" ],
"permissions": [
"identity",
"messageTeamMembers"
],
"devicePermissions": [
"media"
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.15/MicrosoftTeams.schema.json",
"manifestVersion": "1.15",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "<<Microsoft-App-Id>>",
"packageName": "com.microsoft.teams.linkunfurlingstt",
Expand All @@ -15,7 +15,8 @@
"outline": "outline.png"
},
"name": {
"short": "Link unfurling STT"
"short": "Link unfurling STT",
"full": "This sample demos the feature of link unfurling in share to teams"
},
"description": {
"short": "Sample to test link unfurling in STT",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.15/MicrosoftTeams.schema.json",
"manifestVersion": "1.15",
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "${{TEAMS_APP_ID}}",
"packageName": "com.microsoft.teams.linkunfurlingstt",
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.Localization.schema.json",
"name.short": "Localización",
"name.full": "Aplicación de localización",
"description.short": "Aplicación de localización para Microsoft Teams",
"description.full": "Esta aplicación de muestra proporciona una aplicación de localización muy sencilla. Puede ampliar esto para agregar más contenido y capacidades.",
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.Localization.schema.json",
"name.short": "Localizaci�n",
"name.full": "Aplicaci�n de localizaci�n",
"description.short": "Aplicaci�n de localizaci�n para Microsoft Teams",
"description.full": "Esta aplicaci�n de muestra proporciona una aplicaci�n de localizaci�n muy sencilla. Puede ampliar esto para agregar m�s contenido y capacidades.",
"staticTabs[0].name": "Spanish"
}
Loading
Loading