diff --git a/KyberNetwork/Info.plist b/KyberNetwork/Info.plist
index 672ca1dd66..9a30830f59 100644
--- a/KyberNetwork/Info.plist
+++ b/KyberNetwork/Info.plist
@@ -136,9 +136,9 @@
FacebookAppID
- 407390806708717
+ 2060737157475877
FacebookDisplayName
- DevelopmentKyberSwap
+ KyberSwap
ITSAppUsesNonExemptEncryption
LSApplicationQueriesSchemes
diff --git a/KyberNetwork/KyberNetwork/Configurations/Environments/Sources/KNEnvironment.swift b/KyberNetwork/KyberNetwork/Configurations/Environments/Sources/KNEnvironment.swift
index e2509a12fc..9f2ef584cd 100644
--- a/KyberNetwork/KyberNetwork/Configurations/Environments/Sources/KNEnvironment.swift
+++ b/KyberNetwork/KyberNetwork/Configurations/Environments/Sources/KNEnvironment.swift
@@ -42,7 +42,7 @@ enum KNEnvironment: Int {
}()
static var `default`: KNEnvironment {
- return KNAppTracker.externalEnvironment()
+ return .production//KNAppTracker.externalEnvironment()
}
var isMainnet: Bool {
diff --git a/KyberNetwork/KyberNetwork/Screens/Splash/Controller/KNSplashScreenViewController.swift b/KyberNetwork/KyberNetwork/Screens/Splash/Controller/KNSplashScreenViewController.swift
index 6ce30c0bb1..5a51a358cf 100644
--- a/KyberNetwork/KyberNetwork/Screens/Splash/Controller/KNSplashScreenViewController.swift
+++ b/KyberNetwork/KyberNetwork/Screens/Splash/Controller/KNSplashScreenViewController.swift
@@ -13,7 +13,7 @@ class KNSplashScreenViewController: KNBaseViewController {
super.viewDidLoad()
self.view.applyGradient(with: UIColor.Kyber.backgroundColors)
//TODO: Remove in prod build
- //self.debugInfoView.isHidden = isDebug
+ self.debugInfoView.isHidden = true
self.versionLabel.text = "Version: \(Bundle.main.versionNumber ?? "")"
self.networkLabel.text = "Network: \(KNEnvironment.default.displayName)"
self.splashLogoImageView.image = nil
diff --git a/KyberNetwork/KyberNetwork/Screens/Wallet/LandingPage/Controller/KNLandingPageViewController.swift b/KyberNetwork/KyberNetwork/Screens/Wallet/LandingPage/Controller/KNLandingPageViewController.swift
index beb61b2bab..c4e79d6011 100644
--- a/KyberNetwork/KyberNetwork/Screens/Wallet/LandingPage/Controller/KNLandingPageViewController.swift
+++ b/KyberNetwork/KyberNetwork/Screens/Wallet/LandingPage/Controller/KNLandingPageViewController.swift
@@ -69,7 +69,7 @@ class KNLandingPageViewController: KNBaseViewController {
)
self.termAndConditionButton.setTitleColor(.white, for: .normal)
self.termAndConditionButton.addTextSpacing()
- self.debugButton.isHidden = false
+ self.debugButton.isHidden = true
}
override func viewDidLayoutSubviews() {
diff --git a/fastlane/Fastfile b/fastlane/Fastfile
index 2ed40f4d80..0ad326f2c8 100644
--- a/fastlane/Fastfile
+++ b/fastlane/Fastfile
@@ -34,7 +34,7 @@ platform :ios do
desc "Increase build number"
lane :increase_build do
- ensure_git_branch(branch: "develop")
+ ensure_git_branch(branch: "release")
ensure_git_status_clean
git_pull
increment_build_number()
@@ -44,8 +44,8 @@ platform :ios do
git_commit(path: ["./*.plist", "KyberNetwork.xcodeproj/project.pbxproj"], message: "Increase build number " + build_number + " version " + version_number)
push_to_git_remote(
remote: "origin",
- local_branch: "develop",
- remote_branch: "develop",
+ local_branch: "release",
+ remote_branch: "release",
tags: false
)
@@ -53,7 +53,7 @@ platform :ios do
desc "Increase version and build number"
lane :increase_version do
- ensure_git_branch(branch: "develop")
+ ensure_git_branch(branch: "release")
ensure_git_status_clean
git_pull
increment_build_number()
@@ -64,8 +64,8 @@ platform :ios do
git_commit(path: ["./*.plist", "KyberNetwork.xcodeproj/project.pbxproj"], message: "Increase version and build number " + build_number + " version " + version_number)
push_to_git_remote(
remote: "origin",
- local_branch: "develop",
- remote_branch: "develop",
+ local_branch: "release",
+ remote_branch: "release",
tags: false
)
@@ -73,7 +73,7 @@ platform :ios do
desc "TestFlight deployment to itunes connect"
lane :beta do
- ensure_git_branch(branch: "develop")
+ ensure_git_branch(branch: "release")
ensure_git_status_clean
git_pull
cocoapods(use_bundle_exec: false)
@@ -101,15 +101,15 @@ platform :ios do
git_commit(path: ["./*.plist", "KyberNetwork.xcodeproj/project.pbxproj"], message: "Increase build number " + build_number + " version " + version_number)
push_to_git_remote(
remote: "origin",
- local_branch: "develop",
- remote_branch: "develop",
+ local_branch: "release",
+ remote_branch: "release",
tags: false
)
end
desc "Upload current build to TestFlight"
lane :upload_testflight do
- ensure_git_branch(branch: "develop")
+ ensure_git_branch(branch: "release")
ensure_git_status_clean
old_build_number = get_build_number(xcodeproj: "KyberNetwork.xcodeproj")
notification(subtitle: "Built Successfully!", message: "Start uploading build " + old_build_number + " to TestFlight.")
@@ -124,8 +124,8 @@ platform :ios do
git_commit(path: ["./*.plist", "KyberNetwork.xcodeproj/project.pbxproj"], message: "Increase build number " + build_number + " version " + version_number)
push_to_git_remote(
remote: "origin",
- local_branch: "develop",
- remote_branch: "develop",
+ local_branch: "release",
+ remote_branch: "release",
tags: false
)
end