Comments (9)
@mscherotter We are unable to replicate the presenceChanged
callback not being called on android, can you tell us a little more about your scenario?
from live-share-sdk.
I have built a scenario based on this sample https://github.com/davrous/metaverseliveshare
On android, this call
await _presence.update(data, PresenceState.online);
throws an exception "The local user doesn't meet the app requirements to send a message for this app." Does Teams on Android need any additional permissions? the code works just fine running in Edge or the Teams desktop app on Windows 11.
This is the container schema that I am using:
const containerSchema = {
initialObjects: {
appState: LiveState<IShowState>,
presence: LivePresence<IAvatarData>,
notifications: LiveEvent,
liveCanvas: LiveCanvas
},
};
This is the permissions section from my manifest:
"authorization": {
"permissions": {
"resourceSpecific": [
{
"name": "MeetingStage.Write.Chat",
"type": "Delegated"
},
{
"name": "ChannelMeeting.ReadBasic.Group",
"type": "Application"
},
{
"name": "ChannelMeetingStage.Write.Group",
"type": "Delegated"
},
{
"name": "LiveShareSession.ReadWrite.Group",
"type": "Delegated"
},
{
"name": "LiveShareSession.ReadWrite.Chat",
"type": "Delegated"
},
{
"name": "MeetingParticipantReaction.Read.User",
"type": "Delegated"
}
]
}
}
Michael
from live-share-sdk.
Another partner has reported this same issue. Our mobile team is investigating as part of their next sprint.
from live-share-sdk.
@mscherotter Are you specifying allowed roles in the initialize function for presence? I see that you are not in the sample you linked.
Are you able to replicate this issue on iOS?
from live-share-sdk.
We found the issue. There is an Android client issue that we were finally able to repro and pinpoint. The teams-js response Android was sending for one of our APIs is formatted incorrectly in some cases. We will work on an update to the Android client, but fortunately all of the data needed is in the response. A polyfill that we tested solved the issue, so we will fix this in the next update!
from live-share-sdk.
This has been published as of version 1.0.2, or for turbo/react packages, 1.0.2-preview.1. Thanks for your patience!
from live-share-sdk.
I am seeing this issue and I am not using the turbo/react package.
from live-share-sdk.
@huntj88 I see the issue whether I pass the allowed roles or not. I have tried both scenarion.
from live-share-sdk.
It looks like obfuscation is causing the keys of the clientInfo object to change between different android builds
from live-share-sdk.
Related Issues (20)
- live state notifications stop when updating to v1.0.0-preview.10 HOT 6
- [JS Bug]: Presence updates not emitted after PresenceState expires
- [Feature Request]: Disable sending position updates in viewOnly mode HOT 1
- [Bug]: live-share-react: "Cannot call changeState when liveState is undefined" HOT 8
- [JS Bug]: <insert title here>
- [Bug]: <insert title here> HOT 2
- [Feature Request]: can send position updates setting for media package
- [Task]: Clean up Dependabot PR's
- meeting.getAppContentStageSharingState() does not trigger callback on iOS HOT 2
- [Bug]: Presence object does not have localUser object HOT 3
- Live Share not working HOT 2
- Unable to add Live Canvas sample to teams tabs HOT 3
- Role Vertification of LiveCanvas not working HOT 5
- [Feature Request]: Setting to prevent sending background events in object synchronizer
- [Feature Request]: Expose clientId in ExtendedMediaSessionActionDetails
- [Feature Request]: Access optimized `getClientInfo()` API without using `LivePresence`
- [Feature Request]: Setting for LiveCanvas to prevent local user from sending signals / making ops
- [Bug][LiveCanvas]: Laser Pointer and highlighter first and last position persists for non local clients
- [Feature Request]: Add local flag to `ExtendedMediaSessionDetails` for groupaction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from live-share-sdk.