forked from mirrors/linphone-iphone
Disable log file collection because of crash, to be fixed
This commit is contained in:
parent
26dd731f84
commit
8523f110d7
3 changed files with 2 additions and 6 deletions
|
|
@ -17,9 +17,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
// Core Extension provides a set of utilies to manage automatically a LinphoneCore no matter if it is from App or an extension.
|
||||
// It is based on a singleton pattern and adds.
|
||||
|
||||
|
|
@ -45,4 +42,3 @@ extension Core {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ extension Config {
|
|||
return hasEntry(section: section, key: key) == 1 ? getString(section: section, key: key, defaultString: "") : nil
|
||||
}
|
||||
|
||||
// Apple related
|
||||
static let appGroupName = "group.org.linphone.phone.logs"
|
||||
// Needs to be the same name in App Group (capabilities in ALL targets - app & extensions - content + service), can't be stored in the Config itself the Config needs this value to get created
|
||||
static let teamID = Config.get().getString(section: "app", key: "team_id", defaultString: "")
|
||||
|
|
|
|||
|
|
@ -34,7 +34,8 @@ class Log: LoggingServiceDelegate {
|
|||
|
||||
private init() {
|
||||
service.domain = Bundle.main.bundleIdentifier!
|
||||
Core.setLogCollectionPath(path: Factory.Instance.getDownloadDir(context: UnsafeMutablePointer<Int8>(mutating: (Config.appGroupName as NSString).utf8String)))
|
||||
// CRASH TO BE FIXED ??
|
||||
//Core.setLogCollectionPath(path: Factory.Instance.getDownloadDir(context: UnsafeMutablePointer<Int8>(mutating: (Config.appGroupName as NSString).utf8String)))
|
||||
Core.enableLogCollection(state: LogCollectionState.Enabled)
|
||||
setMask()
|
||||
LoggingService.Instance.addDelegate(delegate: self)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue