Skip to content
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

Shared code for VPN onboarding tips #1024

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

diegoreymendez
Copy link
Contributor

@diegoreymendez diegoreymendez commented Oct 17, 2024

Task/Issue URL: https://app.asana.com/0/0/1208360455128593/f

iOS PR: duckduckgo/iOS#3429
macOS PR: duckduckgo/macos-browser#3410

What kind of version bump will this require?: Major

Description:

Implements multiplatform utility code for TipKit support.

Testing

See platform specific PRs for testing instructions.


Internal references:

Software Engineering Expectations
Technical Design Template

@diegoreymendez diegoreymendez marked this pull request as draft October 17, 2024 13:08
@diegoreymendez diegoreymendez self-assigned this Oct 17, 2024
@diegoreymendez diegoreymendez changed the title Diego/add vpn tips Shared code for VPN onboarding tips Oct 17, 2024
diegoreymendez added a commit to duckduckgo/iOS that referenced this pull request Oct 28, 2024
@@ -0,0 +1,36 @@
// The Swift Programming Language
// https://docs.swift.org/swift-book
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need to be swapped to use the project-wide header comment

Comment on lines +89 to +93
@available(iOS 17.0, *)
public func resetTipKitOnNextAppLaunch() {
resetTipKitOnNextLaunch = true
logger.debug("TipKit will reset on next app launch")
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it intended that this is only checking for an iOS version? (I think so, but just double checking)

Copy link
Contributor

@samsymons samsymons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, SwiftLint will need to be fixed before merging but otherwise looks good.

diegoreymendez added a commit to duckduckgo/macos-browser that referenced this pull request Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants