~petercxy/shelter

1

[Feature request] Tap-to-pay app stub

Victor Bessonov <unb0rnster@gmail.com>
Details
Message ID
<CAM7HGfAN+qFSS8Ehj2ok-WT-L7qxD7W-x7NzMAoesf0KG=XgPA@mail.gmail.com>
DKIM signature
pass
Download raw message
Hey! Wanted to ask for a bit uncommon feature (feels a bit like
workaround either for a bug or for a "design decision")
I want to isolate my banking apps just like any other "big brother"
apps inside work profile managed by Shelter, however there may be a
problem - at least in my LOS20-based iodeOS when I try to open
"Contactless payments" setting (Connected devices->Connection
preferences->NFC->Contactless payments) and there is no payment app
installed in the main profile, this option is greyed-out with a
message "To use, first install a payment app".

Now, I managed to work it around by installing a copy of my banking
app inside the main profile and not logging in, so this option becomes
active. After that I can select a payment app even from inside the
work profile and everything works like a charm. Even removing the app
from the main profile doesn't break anything apart from greying-out
the option mentioned above, I am still able to pay with NFC.

So I think it would be great to have a feature like that - Shelter
publishes a stub Payment service (with a name like
"Shelter-stub-do-not-use") and after that the user would be able to
select any app from work profile too. Not sure if it's possible to
make this feature optional with some toggle or if android gets
everything from the app manifest...

And thank you again!)
Details
Message ID
<b99477d3-a3ee-dff9-d1ce-2ece4d86cee5@typeblog.net>
In-Reply-To
<CAM7HGfAN+qFSS8Ehj2ok-WT-L7qxD7W-x7NzMAoesf0KG=XgPA@mail.gmail.com> (view parent)
DKIM signature
pass
Download raw message
Hmm, I actually just assumed that this would never work in a work 
profile -- I didn't know all you need is just a stub. It is definitely a 
great idea but I will likely need to find a contactless payment app to 
test with, and unfortunately in where I live the only option seems to be 
Google Pay, but that won't work if only installed in a work profile (not 
that it would accept my bootloader-unlocked device, either).

On 5/27/23 12:13, Victor Bessonov wrote:
> Hey! Wanted to ask for a bit uncommon feature (feels a bit like
> workaround either for a bug or for a "design decision")
> I want to isolate my banking apps just like any other "big brother"
> apps inside work profile managed by Shelter, however there may be a
> problem - at least in my LOS20-based iodeOS when I try to open
> "Contactless payments" setting (Connected devices->Connection
> preferences->NFC->Contactless payments) and there is no payment app
> installed in the main profile, this option is greyed-out with a
> message "To use, first install a payment app".
> 
> Now, I managed to work it around by installing a copy of my banking
> app inside the main profile and not logging in, so this option becomes
> active. After that I can select a payment app even from inside the
> work profile and everything works like a charm. Even removing the app
> from the main profile doesn't break anything apart from greying-out
> the option mentioned above, I am still able to pay with NFC.
> 
> So I think it would be great to have a feature like that - Shelter
> publishes a stub Payment service (with a name like
> "Shelter-stub-do-not-use") and after that the user would be able to
> select any app from work profile too. Not sure if it's possible to
> make this feature optional with some toggle or if android gets
> everything from the app manifest...
> 
> And thank you again!)
Reply to thread Export thread (mbox)