Edge DevTools Preview could manipulate local storage of a PWA APP , could i do it also ?
EdgeDevTools is a close source APP , and i googled , no document says some API or SDK could manipulate the localstorage of a PWA APP.
Yes, since the UWP application is a sandbox application, in theory each application is independent of each other and cannot directly access the data of an App.
The PWA application relies on WWAHost.exe, but it also enjoys the treatment of UWP applications. Its data is protected and will not expose data access methods.
Best regards.
Related
I have a canvas application that uses two media inputs:
BardCode Scanner
Camera Control
The canvas application works perfectly in PowerApps own application.
But when I publish the application inside Teams environment both the functionalities are not working. It shows the message below: and the learn more link takes me to its limitation page document https://learn.microsoft.com/en-gb/powerapps/maker/canvas-apps/control-limitations
Is there any way around to get those functionality running in the Teams environment?
Moreover, I have a separate angular application which uses MS API to Integrate QR or barcode scanner capability. The application works fine in MS Teams ios and android app.
So, Is there a way I could calibrate my barcode scanner angular app with PowerApps?
In order for a tab to access devices ( such a the camera or barcode scanner) you need to add this to your Teams manifest.
I'm assuming you did already add these capabilities
All tabs of any 3rp party Teams App always use the web view to render the Tabs.
the Tab you created using a Canvas App renders in the (mobile) web browser
PowerApps Barcode component is currently not working in mobile browsers ( per your link)
it is possible to create custom components for canvas apps using the PCF framework
however I'm not sure if this will allow you to solve this issue, but it's worth a try.
perhaps start first by adding an existing PCF component from the pcf gallery
to validate the embedding chain:
Teams App [ Power App [ PCF [ bar code reader]]]
I was asked to write a webapp using Spring MVC that among other things it must either take a photo on a mobile device or at least upload it from the device's photo library. Apparently we have some product (probably .NET based) that allows taking/uploading photos from the a web page displayed on a mobile and is where they got the idea from. Most devices will be iPhones but some might be Android.
Is this even possible with a Spring MVC webapp - with no code on the mobile device?
If yes, how would you go about designing this? Is it simply a matter of implementing a file upload as you would from a PC and trust that the mobile device will somehow magically handle the "take a photo" or "pick the photo from the image library", or is there more to it?
Is there anything else I need to know about?
Yes, although I am experienced with Spring MVC and even "normal" webapps that are accessed from a mobile... I am clearly clueless about this type of "photo" app.
write the web app allow access to the camera through the browser of device, when the users take the photo send it to web app or simply create the form allow user select image from device. ( with browser of device you can access camera or folder on device
I am working on a simple mobile app with Angular and NativeScript. I can't seem to understand the difference between using an Angular service to share information between components and using NativeScript's applications-settings. They both seem to do very similar things.
I started using a service to store information such as userId, username, phoneNumber, name, jobTitle, etc., which get retrieved in most of the components I am using. That is working fine; however, I just discovered that I could do the same with the application-settings module.
When should I use a service and when should I use application-settings? What is the most efficient approach?
Angular Services save data in the application life cycle, it means if you close the app, the data will not exist anymore.
But if you want to save data and use them whenever you want to open the app, you can use application-settings. It's actually a native module. The module uses SharedPreferences on Android and NSUserDefaults on iOS. It's something like localStorage on the web.
I followed the sample on Xamarin Authorization with Azure AD B2C
That uses Custom Chrome Tabs (and the Safari equivalent).
I do not find any resources on how to handle the case if no Chrome is installed on the mobile device. I just noticed in emulator, it just raises an error dialog that Chrome must be installed. But I do not want to exclude users from signing in/up that use alternative browsers.
Are there any links/tutorials that cover this (crucial) behavior?
MSAL now suports a fallback using the embedded browser of Android / iOS:
https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/msal-net-2-released#you-can-now-leverage-the-embedded-web-browser-in-xamarinios-and-xamarinandroid
You can now leverage the embedded web browser in Xamarin.iOS and
Xamarin.Android
In the previous versions of MSAL.NET, Xamarin.Android and Xamarin.iOS
used the System web browser interacting with Chrome tabs. This was
great if you wanted to benefit from SSO, but that was not working on
some Android phones which device manufacturers did not provide Chrome,
or if the end user had disabled Chrome. As an app developer, you can
now leverage an embedded browser. To support this, the UIParent class
now has a constructor taking a Boolean to specify if you want to
choose the embedded browser. It also has a static method,
IsSystemWebviewAvailable(), to help you decide if you want to use it.
For instance, on Android: bool useSystemBrowser =
UIParent.IsSystemWebviewAvailable(); App.UIParent = new
UIParent(Xamarin.Forms.Forms.Context as Activity, !useSystemBrowser);
For more details about this possibility see the article in MSAL's
conceptual documentation: https://aka.ms/msal-net-uses-web-browser.
Also the web view implementation might change in the future
You will have to use a different library such as:
AppAuth for Android
"When a Custom Tabs implementation is provided by a browser on the device (for example by Chrome), Custom Tabs are used for authorization requests. Otherwise, the default browser is used as a fallback."
AppAuth for iOS
"iOS 9+ uses the in-app browser tab pattern (via SFSafariViewController), and falls back to the system browser (mobile Safari) on earlier versions."
(Note that Microsoft Authentication Library is consistent with the IETF's Best Current Practice for OAuth 2.0 for Native Apps that:
"... the best current practice is to perform the OAuth authorization request in an external user agent (typically the browser) rather than an embedded user agent (such as one implemented with web-views)."
i have an Mobile App on Azure. All Works like Charm, but the i can´t configure the Access. There is an Application Key, this one should prevent the Mobile App. But it doesen´t. I can directly send a request to the mobile app
http://myappname-code.azurewebsites.net/tables/User/3 and an answer returned, without prompting for the Application Key set in the azure preview portal.
Things i tried:
Regenerate Key
Restart Gateway
Restart mobile app code
the same project as Mobile Service works perfect, but as mobile app there are only ghost errors.
Regards,
Marcus
The migration process isn't perfect yet, so if it's working for you as a Mobile Service, you may just want to stick with it for now. (which you discovered) But if you need the features of Mobile Apps now, Mobile Apps work a bit more like Web Apps. There's still a way to generate codes on the preview portal, but try looking here for a different set of authorizations: https://azure.microsoft.com/en-us/documentation/articles/app-service-api-dotnet-debug/ There's a troubleshooting link at the bottom there too if you run into other issues with the Mobile Apps.