How to detect if another application is open in Flutter?
问题 [EDITED] I want to create an application that discourages the usage of social media applications. Like if they open Instagram or something then the Flutter app will know. How would I detect if another application (Such as Instagram or Twitter) is open when my Flutter app is opened? If this is difficult to implement in Flutter, can anyone suggest some other languages or code for this functionality? Thanks!! 回答1: It is possible at least on Android. I do not program for IOS so I can't say for