1.7.1
2022-11-20
- fixbug crash on new device
1.7.0
2021-11-02
- Add support to call from Shortcut automation. Now you can add automation to auto call Keep Screen On start when your app closes by using Shortcut automation.
1.6.0
2021-04-22
- optimize performance
- fixbug
1.5.1
2020-08-27
+ fixbug leak memory
1.4
2020-06-20
+ add more time out options
1.2
2019-10-04
+ fixbug on IOS 13
1.1
2019-07-26
(+) support open app from URL “KeepScreenOn://“
- This will help if you want to turn back to Keep Screen On after finishing your test.
- example code: AppDelegate.swift
#if DEBUG
func openKeepScreenOn()
{
let url = URL(string: "KeepScreenOn://")!
if #available(iOS 10.0, *) {
UIApplication.shared.open(url)
} else {
UIApplication.shared.openURL(url)
}
}
#endif
func applicationDidEnterBackground(_ application: UIApplication) {
#if DEBUG
openKeepScreenOn()
#endif
}
func applicationWillTerminate(_ application: UIApplication) {
#if DEBUG
openKeepScreenOn()
#endif
}