Skip to content

Comments

Hide onboarding and datacap in ios #8466

Merged
jigar-f merged 2 commits intomainfrom
jigar/ios-hide-datacap
Feb 12, 2026
Merged

Hide onboarding and datacap in ios #8466
jigar-f merged 2 commits intomainfrom
jigar/ios-hide-datacap

Conversation

@jigar-f
Copy link
Contributor

@jigar-f jigar-f commented Feb 12, 2026

This pull request introduces several platform-specific improvements, particularly for iOS, and minor code formatting enhancements. The main focus is on adjusting onboarding and home screen behaviors to better accommodate iOS users, as well as incrementing the application version.

Platform-specific adjustments:

  • The third onboarding slide (slide3) is now hidden for iOS users, streamlining the onboarding experience on that platform.
  • The onboarding flow now marks onboarding as complete after the second slide for iOS users, skipping the third slide and improving user flow.
  • On the home screen, when not a Pro user, the DataUsage widget is now replaced by an empty widget (SizedBox.shrink()) for iOS users, preventing display of potentially unsupported features.

General improvements:

  • Minor code formatting improvements for logging in the home screen's onboarding check.
  • The application version is incremented from 9.0.3+89 to 9.0.3+90 in pubspec.yaml.

Other changes:

  • Unused commented-out code related to Windows platform time zone configuration is removed from main.dart, simplifying the codebase.

Copy link
Contributor

Copilot AI left a comment

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 tailors the onboarding and home screen UI for iOS users by removing an onboarding step and hiding the non‑Pro data cap UI, along with a patch build-number bump and minor cleanup.

Changes:

  • Hide the 3rd onboarding slide on iOS and complete onboarding after slide 2.
  • Hide the DataUsage widget on iOS for non‑Pro users.
  • Bump app version to 9.0.3+90 and remove unused commented code in main.dart.

Reviewed changes

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

File Description
pubspec.yaml Increments build number to +90.
lib/main.dart Removes obsolete commented-out Windows timezone code.
lib/features/onboarding/onboarding.dart Skips slide 3 on iOS and completes onboarding earlier.
lib/features/home/home.dart iOS-specific hiding of DataUsage for non‑Pro users; minor formatting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jigar-f jigar-f merged commit 4354333 into main Feb 12, 2026
9 checks passed
@jigar-f jigar-f deleted the jigar/ios-hide-datacap branch February 12, 2026 14:30
atavism added a commit that referenced this pull request Feb 17, 2026
* Hide onboarding and datacap in ios  (#8466)

* Hide onboarding page and datacap in ios and update build number

* code review updates

* Garmr/ipc auth update (#8468)

* pull in radiance changes

* remove exclude arch in debug mode

* Update to latest radiance with no DNSTT since its breaking stuff (#8470)

* build and release updates (#8455)

* add safe area in plans

* Fix tablet upscaling and cap shared component sizing (#8457)

* update design size for tablets

* add cap scaling

* update mintextadapt

* logo updates and clean-ups

* update text fields

* clean-ups

* clean-ups

* fix scaling issue

---------

Co-authored-by: Jigar-f <jigar@getlantern.org>

* Fix for closing TUN (#8471)

* Fix stage env toggle and store gating

* Narrow followups to staging env

* Enable Play store uploads for internal Android releases (#8467)

* add support for internal Android releases

* use correct name for internal track

* update r0adkll/upload-google-play

* Fix track name

* update versionCode

* update foreground service permission

* disable exact alarm

---------

Co-authored-by: jigar-f <132374182+jigar-f@users.noreply.github.com>
Co-authored-by: garmr-ulfr <104022054+garmr-ulfr@users.noreply.github.com>
Co-authored-by: Jigar-f <jigar@getlantern.org>
Co-authored-by: Myles Horton <afisk@getlantern.org>
Co-authored-by: Jay <110402935+jay-418@users.noreply.github.com>
jigar-f added a commit that referenced this pull request Feb 20, 2026
* work for stage env

* update var name

* use output var

* set output

* Update nightly.yml

* try to use as env variable

* Update build-macos.yml

* update name

* Remove stage for now & add default value

* keep default and pass value

* Simplify macos changes

* Remove stage again

* More debugging

* compare it as string

* added debug log

* update radiance.

* updated radiance

* update radiance

* use remote source

* more stage changes

* use radiance remote

* Add stage env connection.

* Revert workflows

* generate ffi

* use radiance remote and remove duplication logic

* ran make format

* use in app purchase for macos.

* back to storekit one.

* Switch to user on acknowledge purchase if found.

* use new radiance.

* update radiance.

* do not clear all data

* Harden stage environment toggle and env normalization (#8475)

* Hide onboarding and datacap in ios  (#8466)

* Hide onboarding page and datacap in ios and update build number

* code review updates

* Garmr/ipc auth update (#8468)

* pull in radiance changes

* remove exclude arch in debug mode

* Update to latest radiance with no DNSTT since its breaking stuff (#8470)

* build and release updates (#8455)

* add safe area in plans

* Fix tablet upscaling and cap shared component sizing (#8457)

* update design size for tablets

* add cap scaling

* update mintextadapt

* logo updates and clean-ups

* update text fields

* clean-ups

* clean-ups

* fix scaling issue

---------

Co-authored-by: Jigar-f <jigar@getlantern.org>

* Fix for closing TUN (#8471)

* Fix stage env toggle and store gating

* Narrow followups to staging env

* Enable Play store uploads for internal Android releases (#8467)

* add support for internal Android releases

* use correct name for internal track

* update r0adkll/upload-google-play

* Fix track name

* update versionCode

* update foreground service permission

* disable exact alarm

---------

Co-authored-by: jigar-f <132374182+jigar-f@users.noreply.github.com>
Co-authored-by: garmr-ulfr <104022054+garmr-ulfr@users.noreply.github.com>
Co-authored-by: Jigar-f <jigar@getlantern.org>
Co-authored-by: Myles Horton <afisk@getlantern.org>
Co-authored-by: Jay <110402935+jay-418@users.noreply.github.com>

* Revert back some changes

* Fix issue with stage

* Fix stage issue on windows

* update logs

* revert back macos in app purchase changes

---------

Co-authored-by: atavism <atavism@users.noreply.github.com>
Co-authored-by: garmr-ulfr <104022054+garmr-ulfr@users.noreply.github.com>
Co-authored-by: Myles Horton <afisk@getlantern.org>
Co-authored-by: Jay <110402935+jay-418@users.noreply.github.com>
Co-authored-by: atavism <paul@getlantern.org>
atavism added a commit that referenced this pull request Feb 20, 2026
* work for stage env

* update var name

* use output var

* set output

* Update nightly.yml

* try to use as env variable

* Update build-macos.yml

* update name

* Remove stage for now & add default value

* keep default and pass value

* Simplify macos changes

* Remove stage again

* More debugging

* compare it as string

* added debug log

* update radiance.

* updated radiance

* update radiance

* use remote source

* more stage changes

* use radiance remote

* Add stage env connection.

* Revert workflows

* generate ffi

* use radiance remote and remove duplication logic

* ran make format

* use in app purchase for macos.

* back to storekit one.

* Switch to user on acknowledge purchase if found.

* use new radiance.

* update radiance.

* do not clear all data

* Harden stage environment toggle and env normalization (#8475)

* Hide onboarding and datacap in ios  (#8466)

* Hide onboarding page and datacap in ios and update build number

* code review updates

* Garmr/ipc auth update (#8468)

* pull in radiance changes

* remove exclude arch in debug mode

* Update to latest radiance with no DNSTT since its breaking stuff (#8470)

* build and release updates (#8455)

* add safe area in plans

* Fix tablet upscaling and cap shared component sizing (#8457)

* update design size for tablets

* add cap scaling

* update mintextadapt

* logo updates and clean-ups

* update text fields

* clean-ups

* clean-ups

* fix scaling issue

---------

Co-authored-by: Jigar-f <jigar@getlantern.org>

* Fix for closing TUN (#8471)

* Fix stage env toggle and store gating

* Narrow followups to staging env

* Enable Play store uploads for internal Android releases (#8467)

* add support for internal Android releases

* use correct name for internal track

* update r0adkll/upload-google-play

* Fix track name

* update versionCode

* update foreground service permission

* disable exact alarm

---------

Co-authored-by: jigar-f <132374182+jigar-f@users.noreply.github.com>
Co-authored-by: garmr-ulfr <104022054+garmr-ulfr@users.noreply.github.com>
Co-authored-by: Jigar-f <jigar@getlantern.org>
Co-authored-by: Myles Horton <afisk@getlantern.org>
Co-authored-by: Jay <110402935+jay-418@users.noreply.github.com>

* Revert back some changes

* Fix issue with stage

* Fix stage issue on windows

* update logs

* revert back macos in app purchase changes

---------

Co-authored-by: atavism <atavism@users.noreply.github.com>
Co-authored-by: garmr-ulfr <104022054+garmr-ulfr@users.noreply.github.com>
Co-authored-by: Myles Horton <afisk@getlantern.org>
Co-authored-by: Jay <110402935+jay-418@users.noreply.github.com>
Co-authored-by: atavism <paul@getlantern.org>
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.

1 participant