Skip to content

Commit c508e4f

Browse files
authored
Remove AlamofireNetworkActivityIndicator (#23385)
1 parent 7bc34eb commit c508e4f

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

Podfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ abstract_target 'Apps' do
119119
pod 'SVProgressHUD', '2.2.5'
120120
pod 'ZendeskSupportSDK', '5.3.0'
121121
pod 'AlamofireImage', '~> 4.0'
122-
pod 'AlamofireNetworkActivityIndicator', '~> 3.0'
123122
pod 'FSInteractiveMap', git: 'https://github.com/wordpress-mobile/FSInteractiveMap.git', tag: '0.2.0'
124123
pod 'JTAppleCalendar', '~> 8.0.5'
125124
pod 'CropViewController', '2.5.3'

Podfile.lock

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ PODS:
22
- Alamofire (5.9.0)
33
- AlamofireImage (4.3.0):
44
- Alamofire (~> 5.8)
5-
- AlamofireNetworkActivityIndicator (3.1.0):
6-
- Alamofire (~> 5.1)
75
- AppCenter (5.0.4):
86
- AppCenter/Analytics (= 5.0.4)
97
- AppCenter/Crashes (= 5.0.4)
@@ -119,7 +117,6 @@ PODS:
119117

120118
DEPENDENCIES:
121119
- AlamofireImage (~> 4.0)
122-
- AlamofireNetworkActivityIndicator (~> 3.0)
123120
- AppCenter (~> 5.0)
124121
- AppCenter/Distribute (~> 5.0)
125122
- Automattic-Tracks-iOS (~> 3.3)
@@ -160,7 +157,6 @@ SPEC REPOS:
160157
trunk:
161158
- Alamofire
162159
- AlamofireImage
163-
- AlamofireNetworkActivityIndicator
164160
- AppCenter
165161
- Automattic-Tracks-iOS
166162
- CocoaLumberjack
@@ -216,7 +212,6 @@ CHECKOUT OPTIONS:
216212
SPEC CHECKSUMS:
217213
Alamofire: 02b772c9910e8eba1a079227c32fbd9e46c90a24
218214
AlamofireImage: 843953fa97bee5f561cf05d83abd759e590b068d
219-
AlamofireNetworkActivityIndicator: 6564782bd7b9e6c430ae67d9277af01907b01ca4
220215
AppCenter: 85c92db0759d2792a65eb61d6842d2e86611a49a
221216
Automattic-Tracks-iOS: fc307762052ec20b733ae76363d1387a9d93d6a5
222217
CocoaLumberjack: 78abfb691154e2a9df8ded4350d504ee19d90732
@@ -260,6 +255,6 @@ SPEC CHECKSUMS:
260255
ZendeskSupportSDK: 3a8e508ab1d9dd22dc038df6c694466414e037ba
261256
ZIPFoundation: d170fa8e270b2a32bef9dcdcabff5b8f1a5deced
262257

263-
PODFILE CHECKSUM: cb6ea221990308a46df17cd6e0b929adf8f6e9a8
258+
PODFILE CHECKSUM: a956923616800ba5557285fb18f9bf782cfd0381
264259

265260
COCOAPODS: 1.15.2

WordPress/Classes/System/WordPressAppDelegate.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import Reachability
44
import AutomatticTracks
55
import WordPressAuthenticator
66
import WordPressShared
7-
import AlamofireNetworkActivityIndicator
87
import AutomatticAbout
98
import UIDeviceIdentifier
109
import WordPressUI
@@ -258,7 +257,6 @@ class WordPressAppDelegate: UIResponder, UIApplicationDelegate {
258257

259258
ZendeskUtils.setup()
260259

261-
setupNetworkActivityIndicator()
262260
WPUserAgent.useWordPressInWebViews()
263261

264262
// Push notifications
@@ -475,10 +473,6 @@ extension WordPressAppDelegate {
475473
}
476474
}
477475

478-
@objc func setupNetworkActivityIndicator() {
479-
NetworkActivityIndicatorManager.shared.isEnabled = true
480-
}
481-
482476
@objc func configureWordPressComApi() {
483477
if let baseUrl = UserPersistentStoreFactory.instance().string(forKey: "wpcom-api-base-url"), let url = URL(string: baseUrl) {
484478
AppEnvironment.replaceEnvironment(wordPressComApiBase: url)

0 commit comments

Comments
 (0)