针对Flutter iOS应用的越狱检测



在测试期间发现ios应用程序没有需要的越狱保护来阻止应用程序在越狱设备上运行

任何建议如何实现以下事情为我的扑动应用程序的iOS强烈建议采用以下方法:

• Try to find the presence of Cydia
• Attempt to find existence of CydiaSubstrate, the framework that allows installation of third-party patches 
• Attempt to access directories that should not be available to an app without escalated privileges (such as /bin/bash, /etc/apt)
• Try to find symbolic links to usually unavailable directories
• Or, attempt to write to a directory where that usually wouldn’t be possible 

pub.dev中有2个插件可以帮你完成这项工作。

https://pub.dev/packages/flutter_jailbreak_detectionhttps://pub.dev/packages/trust_fall

它们都使用现有的本地库Rootbeer https://github.com/scottyab/rootbeer用于Android和DTTJailbreakDetection https://github.com/thii/DTTJailbreakDetection for iOs,

所以你可以考虑将它们直接连接到你的项目中。

最新更新