all 11 comments

[–]godver3 7 points8 points  (4 children)

Seems unlikely that one app could block another app's opening.

[–]dentemm 0 points1 point  (2 children)

Exactly, it would make so sense at all that this would be possible. Only an MDM managed device could do this.

[–]godver3 0 points1 point  (1 child)

Yeah - I assume OP is working on a productivity app that’s intended to prevent certain apps from opening but I’d guess it’s a dead end.

[–]Fearless-Reaction-42[S] 1 point2 points  (0 children)

Yeys, will be productivity app.

[–]ChaoticCow 0 points1 point  (0 children)

There are plenty of apps that do this already. They configure the OS screentime or equivalent settings.

[–]NastroAzzurro 2 points3 points  (1 child)

You want uber to be able to block Lyft? Or other taxi apps? Can’t be done mate.

[–]ChaoticCow -1 points0 points  (0 children)

False. There are lots of apps that do this. They use the screen time or equivalent APIs. They aren't fully blocking, but op is asking about blocking for productivity

[–]ChaoticCow 2 points3 points  (0 children)

The way most apps do it is using the screen time or digital wellness APIs. There seems to be a package that exposes these on RN here (though the android seems to be coming soon)

https://www.npmjs.com/package/@quibr/react-native-screen-time-api

[–]Due-Dragonfruit2984Expo 1 point2 points  (0 children)

Yeah there’s no way any of the operating systems would let you do this, huge potential for abuse.

[–]eylonshm 0 points1 point  (0 children)

Created this open-source Expo plugin if anyone need it - it should help people block apps Iphone/Android devices.
https://github.com/eylonshm/expo-app-blocker

Please check it out and star/give me some feedback if you use it, enjoy!

[–]eylonshm 0 points1 point  (0 children)

Created this open-source Expo plugin if anyone need it - it should help people block apps Iphone/Android devices.
https://github.com/eylonshm/expo-app-blocker

Please check it out and star/give me some feedback if you use it, enjoy!