Message Extension failing to load on Android devices - node.js

I have a fully designed and running a message extension on the MS-Teams Desktop app and iPhone app.
But when I am running on the same app on Android, it fails to load, after certain tries, it crashes the MS-Teams application.

Thanks for reporting this. We are able to repro this at our end and we are tracking it here: https://domoreexp.visualstudio.com/MSTeams/_workitems/edit/1472217
Please follow this issue for updates/progress/questions.

Related

How to create a browser instance (pupeeteer) with firebase and use it in my app (node.js)?

I created a firebase project. This communicates with a mobile application (node.js). As part of this project I want to use pupeeteer.
I have no problem launching functions using pupeeteer in firebase.
The problem is that I want to make the user perform actions. So I have to display the web page (pupeeteer) in the application via a browser generated by the server (with a firebase function?)?
However I have no idea how to launch a browser instance in the background and close it at the end of processing?
Can you help me ? Is this the right solution?
I want to use this :
This library does 2 things:
Download the chromium binaries and launch a Chromium process.
Connect to this process with Websocket and send json commands to control the browser.
Due to limitations on mobile platforms (iOS and Android), it is not possible to launch an external Chromium process on iOS and Android. So, step 1) does not work on mobile.
You can still use puppeteer-dart on Flutter either with:
Flutter on Desktop (macOS, windows, Linux)
Flutter on mobile BUT with the actual Chrome instance running on a server and accessed from the mobile app using puppeteer.connect
The pub.dev website reports that this library works with Android and iOS. The supported platform list is detected automatically and can't be manually modified to express the current limitations

xamarin.forms know memory usage both for android and ios

I am trying to develop android and iOS application using xamarin.forms. And already completed the main part that includes Canvas drawing. For that, I have used Skiasharp, to perform operations on bitmap images.
Now, in android,
1. If I try to dispose bitmaps that I initialized before I get SIGSEGV fatal error. (I think this issue is not OS specific)
2. When I continuously run my app for 20-22 minutes, app crashes suddenly.
And in iOS,
my iphone gets hanged when I run my app for long time. And it doesn't start until I uninstall app from iFunBox in my pc.
I wanted to ask if there are ways in xamarin.forms or in native projects to find out where my memory is leaking.
How can I know how much memory of RAM is actually being used at the moment ?
Thank you
For Android, you can use the Android Debug Monitor tool. This is a tool that is installed as part of the Android SDK.
Below is the URL for more information:
https://www.codeproject.com/Articles/798462/Diagnosing-Memory-Usage-in-a-Xamarin-Android-Appli
For iOS, you can try to use the native XCode Instrument.
Below is the URL for more information:
https://developer.xamarin.com/guides/ios/deployment,_testing,_and_metrics/using_instruments_to_detect_native_leaks_using_markheap/
Also, Below is a useful article that talk about Xamarin.Forms Memory management.
Hopefully it will be helpful.
https://igorelikblog.wordpress.com/2016/07/08/xamarin-form-memory-management/

Can't deploy UWP app to xbox one

So I have setup my Xbox One as a dev device and actually was able to run my app on my Xbox, but in order to use some new APIs to turn off scaling and what not I had to change my app target version to Build 14332. Unfortunately, after doing this, I am now not able to publish or debug my app to my Xbox and I am not getting very helpful clues as to why not.
I even reverted the target version back to Build 10240 but I am still getting this error:
Severity Code Description Project File Line Suppression State
Error DEP0700 : Registration of the app failed. Deployment Register
operation with target volume C: on Package
MyCompany.MyApp_1.1.19.0_x64__5wbv4ypmprn7c from:
(AppxManifest.xml) failed with error 0x80070002. See
http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
deployment issues. (0x80073cf9) MyCompany.MyApp
EDIT: I found a work around. Restart my Xbox One. Literally, every time I run my app, I have to restart my Xbox One! :(
I came across the same issue, and while restarting the console didn't help me, I did find another workaround: go to Dev Home and clicked Remove all Visual Studio pairings. I was able to deploy right after doing that.
I've ran into the really similar problem, however with running on the remote machine. The solution was the same as Pedro Pombeiro did on his Xbox One. I opened Windows Settings > Update & Security > For developers and Unpair All. Problem was solved and I could deploy and run the app on remote PC.

Issue with PlayReady in Windows 10

I have an issue running PlayReady protected streams in my UWP app. When I set the source on a MediaElement it fails with this error:
MF_MEDIA_ENGINE_ERR_SRC_NOT_SUPPORTED : HRESULT - 0x8007023F
I have tried the official samples from MS (https://code.msdn.microsoft.com/windowsapps/PlayReady-samples-for-124a3738) and a sample app from Davide Zordan (https://github.com/davidezordan/playready_adaptive_UWP/). They all throws the error.
If I run a normal SmoothStream I don't seam to have any issues.
I'm pretty sure that the samples are solid and it comes down to a missing SDK or something on my computer(s). I have added the SmoothStreaming Client SDK for UWP apps. I can reproduce the error on 5 different developer machines.
Any help is appreciated.
OK I found the issue. Im working on one computer and remotes to my development machines located at my office. Turns out that by default PlayReady is disabled when using remote desktop.

Proper way to install Application Insights in a Windows 8.1 Javascript app

I have a Windows 8.1 universal app written using javascript and would like to install application insights to capture telemetry data.
I've followed the instructions here and installed the Application Insights for Javascript Apps nuget package in my project.
It's partially working. I see page views coming through and some (but not all) of the exceptions I'm tracking using calls to appInsights.trackException. I don't get any crash reports.
Is there something I'm missing that's preventing crash reports and exceptions from being tracked? Is this the correct way to setup Application Insights for Windows 8.1 javascript apps?
Any help would be greatly appreciated. There doesn't seem to be much information out there on this scenario.
We don't support JavaScript for devices. Sorry.

Resources