Improvements and fixes on the cellular permissions

This commit is contained in:
Marcos Carvalho
2024-05-26 22:08:53 +01:00
parent 574dda5286
commit 4ad54f34fe
9 changed files with 94 additions and 72 deletions
+1
View File
@@ -60,6 +60,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
newObject?["downloadUsingCellular"] = "ALWAYS"
newObject?["streamingUsingCellular"] = "ALWAYS"
}
}
}
)
+1 -1
View File
@@ -245,7 +245,7 @@ public class AbsDatabase: CAPPlugin {
let hapticFeedback = call.getString("hapticFeedback") ?? "LIGHT"
let languageCode = call.getString("languageCode") ?? "en-us"
let downloadUsingCellular = call.getString("downloadUsingCellular") ?? "ALWAYS"
let streamingUsingCellular = call.getString("downloadUsingCellular") ?? "ALWAYS"
let streamingUsingCellular = call.getString("streamingUsingCellular") ?? "ALWAYS"
let settings = DeviceSettings()
settings.disableAutoRewind = disableAutoRewind
settings.enableAltView = enableAltView