Skip to content

Fix/hide donation on ios - #248

Merged
goku-kamehameha merged 5 commits into
devfrom
fix/hide-donation-on-ios
Aug 25, 2026
Merged

Fix/hide donation on ios#248
goku-kamehameha merged 5 commits into
devfrom
fix/hide-donation-on-ios

Conversation

@JuliusCaesarCrypto

Copy link
Copy Markdown
Contributor

Change Description

Briefly describe what this PR does and why. Keep it short and clear.


Related Platforms

Which platforms are affected by your changes? Check only the ones you actually tested.

  • Android
  • iOS
  • iPad
  • Windows
  • Linux
  • Android TV
  • OpenWrt

Verification Checklist

Make sure the things you checked actually work. It's okay if you didn't test everything.

  • Project builds successfully
  • App runs without crashes on tested platforms
  • VPN connection works correctly
  • No obvious regressions observed
  • Documentation updated (if needed)

Optional (for bigger changes)

  • Added or updated unit / E2E tests
  • Checked security and edge cases

Related Links

Closes #ID.

@JuliusCaesarCrypto JuliusCaesarCrypto self-assigned this Aug 25, 2026
Copilot AI lite review requested due to automatic review settings August 25, 2026 07:44

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 aims to hide the donation entry point on iOS in the Settings UI, but it also includes a broad dependency/SDK lockfile update and generated platform file changes that affect desktop builds.

Changes:

  • Hide the Settings donation widget on iOS (Platform.isIOS) in the Settings slider row.
  • Bump app version and update MSIX metadata in pubspec.yaml.
  • Update pubspec.lock (many dependency upgrades) and regenerate platform plugin registrant/build files.

Reviewed changes

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

Show a summary per file
File Description
lib/modules/settings/presentation/screens/settings_screen.dart Conditionally hides the donate widget on iOS.
pubspec.yaml Bumps app version; updates MSIX config (currently inconsistent with app version scheme).
pubspec.lock Large dependency/SDK constraint update (now requires newer Flutter/Dart than CI is pinned to).
macos/Flutter/GeneratedPluginRegistrant.swift Generated registrant changed; currently missing path_provider_foundation import/registration.
linux/flutter/generated_plugins.cmake Generated plugin list updated (adds jni to FFI plugin list).
windows/flutter/generated_plugins.cmake Generated plugin list updated (adds jni to FFI plugin list).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines 15 to 19
import flutter_secure_storage_darwin
import flutter_timezone
import package_info_plus
import path_provider_foundation
import shared_preferences_foundation
import url_launcher_macos
Comment on lines 30 to 34
FlutterSecureStorageDarwinPlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStorageDarwinPlugin"))
FlutterTimezonePlugin.register(with: registry.registrar(forPlugin: "FlutterTimezonePlugin"))
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
Copilot AI review requested due to automatic review settings August 25, 2026 07:50

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

Copilot reviewed 4 out of 5 changed files in this pull request and generated no new comments.

Suppressed comments (1)

macos/Flutter/GeneratedPluginRegistrant.swift:35

  • path_provider is a direct dependency (see pubspec.lock entry) and path_provider_foundation is present in macos/Podfile.lock, but the generated registrant no longer imports/registers the path provider plugin. If any code (directly or via a dependency) calls into path_provider on macOS, this will fail at runtime because the plugin won’t be registered. Please re-run the Flutter plugin registrant generation so the correct macOS path_provider implementation is registered, or remove the unused path_provider dependency if it’s no longer needed.
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
  AudioplayersDarwinPlugin.register(with: registry.registrar(forPlugin: "AudioplayersDarwinPlugin"))
  BatteryPlusMacosPlugin.register(with: registry.registrar(forPlugin: "BatteryPlusMacosPlugin"))
  ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin"))
  FilePickerPlugin.register(with: registry.registrar(forPlugin: "FilePickerPlugin"))
  FirebaseAnalyticsPlugin.register(with: registry.registrar(forPlugin: "FirebaseAnalyticsPlugin"))
  FLTFirebaseCorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCorePlugin"))
  FLTFirebaseCrashlyticsPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCrashlyticsPlugin"))
  FlutterSecureStorageDarwinPlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStorageDarwinPlugin"))
  FlutterTimezonePlugin.register(with: registry.registrar(forPlugin: "FlutterTimezonePlugin"))
  FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
  SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
  UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
  WebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "WebViewFlutterPlugin"))

@goku-kamehameha
goku-kamehameha merged commit 2840a18 into dev Aug 25, 2026
1 check passed
@goku-kamehameha
goku-kamehameha deleted the fix/hide-donation-on-ios branch August 25, 2026 09:04
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