-
-
Save dennda/4a4cbfb25ed292d790a4188ca9951b23 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/DuolingoMobile/Metadata/DuolingoMobile-Info.plist b/DuolingoMobile/Metadata/DuolingoMobile-Info.plist | |
index 158fdec12..89b58155a 100644 | |
--- a/DuolingoMobile/Metadata/DuolingoMobile-Info.plist | |
+++ b/DuolingoMobile/Metadata/DuolingoMobile-Info.plist | |
@@ -17,7 +17,7 @@ | |
<key>CFBundlePackageType</key> | |
<string>APPL</string> | |
<key>CFBundleShortVersionString</key> | |
- <string>5.2.18</string> | |
+ <string>5.2.20</string> | |
<key>CFBundleSignature</key> | |
<string>????</string> | |
<key>CFBundleURLTypes</key> | |
@@ -54,7 +54,7 @@ | |
</dict> | |
</array> | |
<key>CFBundleVersion</key> | |
- <string>5.2.18.0</string> | |
+ <string>5.2.20.0</string> | |
<key>FacebookAppID</key> | |
<string>234536436609303</string> | |
<key>FacebookDisplayName</key> | |
@@ -97,8 +97,7 @@ | |
<string>MuseoSansRounded-700.otf</string> | |
</array> | |
<key>UIBackgroundModes</key> | |
- <array> | |
- </array> | |
+ <array/> | |
<key>UILaunchStoryboardName</key> | |
<string>LaunchScreen</string> | |
<key>UIRequiredDeviceCapabilities</key> | |
diff --git a/DuolingoMobile/Sources/Library/Networking/DUOWebManager.m b/DuolingoMobile/Sources/Library/Networking/DUOWebManager.m | |
index 07a11b7ba..ebe367ac1 100644 | |
--- a/DuolingoMobile/Sources/Library/Networking/DUOWebManager.m | |
+++ b/DuolingoMobile/Sources/Library/Networking/DUOWebManager.m | |
@@ -565,20 +565,22 @@ - (void)checkForcedOfflineTimer | |
- (NSString *)baseAPIURLString | |
{ | |
// Check if a custom API URL command line argument is present. | |
- NSString *testHostURLString = DUOCommandLineCustomAPIURL(); | |
- if (!testHostURLString) { | |
- testHostURLString = self.testAPIHost; | |
- } | |
- | |
- self.usingTestHost = testHostURLString != nil; | |
- NSString *APIHostString = self.usingTestHost ? testHostURLString : nil; | |
+ return @"https://next-8.duolingo.com"; | |
- if (APIHostString) { | |
- return APIHostString; | |
- } else { | |
- NSString *defaultString = DUOAppIsInChina() ? kDUOChinaBaseURLString : kDUODefaultBaseURLString; | |
- return [[NSUserDefaults standardUserDefaults] objectForKey:kDUOCachedAPIDomainKey] ?: defaultString; | |
- } | |
+// NSString *testHostURLString = DUOCommandLineCustomAPIURL(); | |
+// if (!testHostURLString) { | |
+// testHostURLString = self.testAPIHost; | |
+// } | |
+// | |
+// self.usingTestHost = testHostURLString != nil; | |
+// NSString *APIHostString = self.usingTestHost ? testHostURLString : nil; | |
+// | |
+// if (APIHostString) { | |
+// return APIHostString; | |
+// } else { | |
+// NSString *defaultString = DUOAppIsInChina() ? kDUOChinaBaseURLString : kDUODefaultBaseURLString; | |
+// return [[NSUserDefaults standardUserDefaults] objectForKey:kDUOCachedAPIDomainKey] ?: defaultString; | |
+// } | |
} | |
- (void)setBaseAPIURLString:(NSString *)baseAPIURLString |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment