Ver código fonte

ios: make sure our CXProvider is invalidated when CallKit is disabled

master
Saúl Ibarra Corretgé 6 anos atrás
pai
commit
e1b989e99b
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4
    1
      ios/sdk/src/callkit/JMCallKitProxy.swift

+ 4
- 1
ios/sdk/src/callkit/JMCallKitProxy.swift Ver arquivo

@@ -1,5 +1,6 @@
1 1
 /*
2
- * Copyright @ 2018-present Atlassian Pty Ltd
2
+ * Copyright @ 2019-present 8x8, Inc.
3
+ * Copyright @ 2018-2019 Atlassian Pty Ltd
3 4
  *
4 5
  * Licensed under the Apache License, Version 2.0 (the "License");
5 6
  * you may not use this file except in compliance with the License.
@@ -53,6 +54,7 @@ import Foundation
53 54
         didSet {
54 55
             if enabled == false {
55 56
                 provider.setDelegate(nil, queue: nil)
57
+                provider.invalidate()
56 58
             }
57 59
         }
58 60
     }
@@ -187,3 +189,4 @@ import Foundation
187 189
         return update
188 190
     }
189 191
 }
192
+

Carregando…
Cancelar
Salvar