Skip to content

fix: update version codes and names in build.gradle and project.pbxproj; adjust URL handling in home.page.ts - #45

Open
damiant wants to merge 3 commits into
mainfrom
https-option
Open

fix: update version codes and names in build.gradle and project.pbxproj; adjust URL handling in home.page.ts#45
damiant wants to merge 3 commits into
mainfrom
https-option

Conversation

@damiant

@damiant damiant commented May 10, 2026

Copy link
Copy Markdown
Owner

No description provided.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 10, 2026

Copy link
Copy Markdown

Deploying webnative-qr-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: b4f3938
Status: ✅  Deploy successful!
Preview URL: https://0610a6d4.webnative-app.pages.dev
Branch Preview URL: https://https-option.webnative-app.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 10, 2026

Copy link
Copy Markdown

Deploying webnative-app with  Cloudflare Pages  Cloudflare Pages

Latest commit: b4f3938
Status: ✅  Deploy successful!
Preview URL: https://ccad7711.webnative-app-2ic.pages.dev
Branch Preview URL: https://https-option.webnative-app-2ic.pages.dev

View logs

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR bumps Android/iOS build versions to 1.38/47 and updates the Home page’s URL normalization so manual entries can preserve “secure” (https) handling when converting inputs into a full URL.

Changes:

  • Update Android versionCode/versionName and iOS CURRENT_PROJECT_VERSION/MARKETING_VERSION to 47 / 1.38.
  • Adjust HomePage.connect() to pass a “secure” hint into HistoryService.toFullUrl(...).
  • Add a 1.38 changelog entry describing the https/manual-entry behavior.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/app/home/home.page.ts Passes a derived “secure” flag into URL normalization when connecting to a user-entered URL.
ios/App/App.xcodeproj/project.pbxproj Bumps iOS build and marketing versions.
android/app/build.gradle Bumps Android version code/name.
CHANGELOG.md Documents the 1.38 change.

Comment thread src/app/home/home.page.ts
Comment on lines 167 to +169
const urlValue = url || this.urlForm.get('url')?.value || '';
const fullUrl = this.historyService.toFullUrl(urlValue);
const secure = urlValue.includes('https://');
const fullUrl = this.historyService.toFullUrl(urlValue, secure);

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed in b4f3938. Changed to urlValue.trim().toLowerCase().startsWith('https://') so it only matches the scheme at the start of the trimmed input and handles case variants like HTTPS://.

Comment thread CHANGELOG.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

3 participants