-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add dedicated secrets file for Reader #24463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
80271b4
3e01dbe
7f44880
6f335fe
5b5a184
910775d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,7 +108,7 @@ final class ReaderTabViewController: UITabBarController, UITabBarControllerDeleg | |
} | ||
|
||
private func makeNotificationsViewController() -> UIViewController { | ||
let notificationsVC = UIStoryboard(name: "Notifications", bundle: nil) | ||
let notificationsVC = UIStoryboard(name: "Notifications", bundle: Bundle(for: Self.self)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. #24464 follows up to this and addresses all such accesses for the notifications storyboard. |
||
.instantiateInitialViewController() as! NotificationsViewController | ||
notificationsVC.tabBarItem = UITabBarItem( | ||
title: Strings.notifications, | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -3,4 +3,4 @@ | |||||
|
||||||
WP_PUSH_NOTIFICATION_APP_ID = TBD | ||||||
WP_BUILD_CONFIGURATION = alpha | ||||||
WP_APP_URL_SCHEME = TBD | ||||||
WP_APP_URL_SCHEME = wpreader | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This value could also be specialized by build configuration, e.g.:
but I'm not sure if we need to? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something not obvious to me was that the source file cannot be called
Secrets.swift
, even though the Reader prefix seems redundant in a folder called Reader.The reason for that is that when
configure
encrypts the files locally, it uses the file name. And given we already have a source file calledSecrets.swift
we cannot name this new one that.