Modifying / Setting / revoking permissions of Android application (system? )via adb, android 11 (miui 12.5 eu) - set

I'm a Basic Newbie trying to make changes on my phone ;-) maybe you can help me.
I'm trying to limit the amount of data I share with Xiaomi & google while using a xiaomi phone.
Since the unfortunate update to miui 12.5 I cannot define the permissions I want using Setting=> Apps=> Manage apps => permissions.
For example:
Miui Bluetooth ¦ location permission : preselected "Allow only while using the app". I cannot change this! All options are grey!
I also have an issue when I try to limit the data access. Specially the background data, and WIFI.
I am hoping to be able to make some changes over adb, but I've no idea how... just managed to see the permissions for each app.
The phone is not rooted, and the stupid xiaomi unlock... doesn't work (your device is not recognized when I connect it over USB).
Thanks for your help!
(please explain things as if you'd try to explain it to your Granma :-))

Related

Authenticate with webauthn using iphone on windows?

I have been investigating using webauthn for MFA in my company's application. It looked like a great fit when I started investigating it and I got really excited about the prospect of our users being able to use their phones as authenticators.
However, a colleague with an iPhone pointed out to me that when he tried the example application on https://webauthn.io/ he were not able to select his iPhone and there were only options to add a Android phone to his account. As many of our users he was using chrome on a Windows computer but has a iPhone 12.
To me it seems unthinkable that this scenario wouldn't be supported? Lots of users use Windows and have iOS devices. Am I missing something obvious?
The wording will change with Chrome 103 to something like „use your phone“.
It already works with an iPhone as well, though. You may need to enable Platform Authenticator Syncing, as the feature is currently only in testing. In iOS 15, turn on the Syncing Platform Authenticator switch under Settings > Developer. The Developer menu is available on your device when you set it up as a development device in Xcode.
Edit: seems like Chrome 103 still uses the "Add a new Android phone" wording :/ I already saw a screenshot somewhere teasing the change so I guess it will come rather sooner than later.

How do I sync a Slack workspace from mobile to desktop?

I was added to a Slack workspace by a coworker. I must've accepted something on the mobile app because I have access to the workspace there. Somehow, the desktop app never reflected this change and shows no sign of knowing about the workspace. I attempted to solve this problem by inviting myself to the workspace from the mobile app and accepting the invite link on the desktop app. I now have access to the workspace on the desktop app, but no direct messages have been carried over. (My desktop is Debian and mobile is iOS, if that makes any difference.)
I can't find any discussion about this on the Slack website or through a DuckDuckGo search... Does anyone know how to sync Slack from mobile to desktop? I will greatly appreciate any suggestions or direction. Thank you in advance!
This is not possible and despite the fact that this question was raised as soon people had two devices, Slack never agreed to address it.
On desktop I have no less than 15 workspaces.
A workaround that just worked for me was signing out of the desktop app and signing again. That allowed me see all the workspaces I was already in.
Here's a workaround (it is not ideal so I'm still searching for a better solution):
From the channel(s) I wanted to sync, on the mobile app, I added myself and now I have access to those channels on the desktop app. Unfortunately, I show up as two members with the same name...
I know this is an old thread, but I was struggling just now with the opposite problem: there was a Slack workspace that I could see in my computer but not in my mobile app. I write here how I solved it in case someone faces the same problem in the future.
In my case, it turned out that the problem was that I was using different email addresses for the different workspaces (either my professional or personal email), and I had pending to verify one of the addresses.
To solve it I:
Opened the Home menu by either sweeping right of tapping on the icon of the workspace I was in at that time
Went to Add a workspace
Saw that there was one email pending to confirm, so I confirmed it and immediately saw the missing workspace in my home menu together with the rest

Android Wear System Alert Window Permission

How to ask for system alert window permission on Android Wear? I am able to achieve the SYSTEM ALERT WINDOW for mobile but on the wearable device same code is not working for me. If any example of SYSTEM ALERT WINDOW for wearable would help me a lot.
This is a duplicate of Requesting permissions on Android wear, but SO won't let me mark it as such because the OP didn't accept my answer there.
The summary is that it's not possible to request this permission on Android Wear 1.x, but it is on Wear 2 (currently in beta and slated for release in early 2017).
In addition to #String's answer, you might want to use requestPermissions() method. Please note, these permissions must be requested in your manifest.
And, as mentioned in Permissions for Services,
only an activity can call the requestPermissions() method, so if the user interacts with your app via a service, for example a watch face, the service must open a background activity before requesting the permission.
You can gain additional insights from the solutions given in this SO post and from the sample code shown in this GitHub post.

Windows app store download permissions

I developed an app for Windows phone. Now I want to deploy it on Windows app store and wants to put restriction.I want only specific people will able to install it. How can I do that. Any suggestion will be appropriated.
Thanks,
Well that depends on who these specific people are. You can set age restrictions and region restrictions, and that's about it.
If you mean you want to hand-pick users that can use your app, then provide a login screen where you manually authorize your registered users.
If you mean that only users you choose can download the app, then you can't use the Store; you'll need to use sideloading.
You can control distribution in the Distribution and Visibility section of your app submission on the developer dashboard.
There are three basic options (for Windows 10 - two for Windows Phone 8.x):
Hide this app and prevent acquisition. Customers with a promotional code can still download it on Windows 10 devices
Give codes to the people you want to be able to use the app. This is Windows 10 only.
Hide this app in the Store. Customers with a direct link to the app’s listing can still download it, except on Windows 8 and Windows
8.1
Send links to the people you want to use the app. This will work on Windows Phone 8.1 as well as Windows 10. Anybody with a link can download it though, so it won't truly limit to just the people you want to use the app.
Hide this app and make it available only to the people you specify below, who can download this app on Windows Phone 8.x devices. A
promotional code may be used to download this app on Windows 10
devices
This is the classic beta-mode for Windows Phone 8.x. You can specify which Microsoft Accounts have access to the app.

Is it possible to get an app to open up when entering a beacon region / within range of a beacon/ibeacon

I'm exploring the end user experience for a beacon prototype but I'm struggling to find any end-user scenarios that involve the app becoming active / opening up on the screen when within range.
I can get the app to send a notification and this is the most likely experience on both Android and iOS but does anyone know if it is possible to get the app to open up?
It's unlikely that I'd want real customers to have their experience interfered with in this way, I think it's ok if the app is already running and is open but not if it's running but not open.
Thanks
On Android this is possible. The reference app for the Android Beacon Library demonstrates how to do exactly this.
On iOS, it is not possible due to OS security restrictions. See here for details. The best you can do is send a local notification to the user when the beacon is detected, then if the user gestures to it, bring up the app.

Resources