-
Notifications
You must be signed in to change notification settings - Fork 7
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
Use correct consumer key on iPad #267
Conversation
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.
Works for me, what is the experience like going from an old build to this? Does it auto log users out or does it error?
@@ -54,6 +54,8 @@ | |||
<string>$(POCKET_API_BASE_URL)</string> | |||
<key>PocketAPIConsumerKey</key> | |||
<string>$(POCKET_API_CONSUMER_KEY)</string> | |||
<key>PocketAPIConsumerKeyPad</key> | |||
<string>$(POCKET_API_CONSUMER_KEY_PAD)</string> |
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.
Note add to bitrise env variables
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.
@bassrock I believe we discussed this live and determined we would perform no other action at this time.
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.
@dskuza right, but would still like to understand what the experience is going to do so it can be communicated.
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.
@bassrock Fair, I missed the second part of your comment somehow 😅 . I can test that path, but I believe things will just seem to … not … be … working? Off to verification land…
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.
@bassrock Looks like things like pull-to-refresh on My List fail and spin, and empties the list. Looks like at least one resolution would be communicate to iPad users that if they're seeing issues to log out and log back in (which I still think is okay since we're in beta - this isn't something that would affect a production release).
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.
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.
Approved, pending the slack heads up
Although approved, do not yet merge this pull request. |
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.
lgtm 👍
d742e9c
to
e36b540
Compare
e36b540
to
8eb3c73
Compare
4ac0926
to
a57d244
Compare
a57d244
to
e02599c
Compare
e02599c
to
60ef5bf
Compare
Summary
Use the "legacy" consumer key for "pad" idioms. This should not be merged until all the appropriate bitrise config files have been updated as well.
References
Implementation Details
Info.plist
for bothPocketKit
andSaveToPocketKit
Keys.swift
in bothPocketKit
andSaveToPocketKit
to obtain both consumer keys, and set the appropriate key based on the device's user interface idiom.Note: the key contains the word "pad" vs "iPad" because the idiom is "pad", and I wanted the two to match.
PR Checklist: