Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
# This file should be version controlled and should not be manually edited.

version:
revision: "c23637390482d4cf9598c3ce3f2be31aa7332daf"
channel: "[user-branch]"
revision: "f6ff1529fd6d8af5f706051d9251ac9231c83407"
channel: "stable"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
base_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
- platform: android
create_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
base_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
create_revision: f6ff1529fd6d8af5f706051d9251ac9231c83407
base_revision: f6ff1529fd6d8af5f706051d9251ac9231c83407
- platform: ios
create_revision: f6ff1529fd6d8af5f706051d9251ac9231c83407
base_revision: f6ff1529fd6d8af5f706051d9251ac9231c83407

# User provided section

Expand Down
36 changes: 28 additions & 8 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,52 @@
"version": "0.2.0",
"configurations": [
{
"name": "linksys - Web (Remote)",
"name": "linksys - Web (Local)",
"request": "launch",
"type": "dart",
"args": [
"--web-browser-flag",
"--disable-web-security"
"--disable-web-security",
"--web-port",
"61672"
],
"toolArgs": [
"--dart-define",
"force=remote"
"force=local"
],
"program": "lib/main.dart"
},
{
"name": "linksys - Web (Local)",
"name": "linksys - Web (Remote)",
"request": "launch",
"type": "dart",
"args": [
"--web-browser-flag",
"--disable-web-security",
"--web-port",
"61672"
"--disable-web-security"
],
"toolArgs": [
"--dart-define",
"force=local"
"force=remote"
],
"program": "lib/main.dart"
},
{
"name": "linksys - iOS (Local)",
"request": "launch",
"type": "dart",
"toolArgs": [
"--flavor",
"Local"
],
"program": "lib/main.dart"
},
{
"name": "linksys - iOS (Remote)",
"request": "launch",
"type": "dart",
"toolArgs": [
"--flavor",
"Remote"
],
"program": "lib/main.dart"
}
Expand Down
35 changes: 35 additions & 0 deletions ios/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
**/dgph
*.mode1v3
*.mode2v3
*.moved-aside
*.pbxuser
*.perspectivev3
**/*sync/
.sconsign.dblite
.tags*
**/.vagrant/
**/DerivedData/
Icon?
**/Pods/
**/.symlinks/
profile
xcuserdata
**/.generated/
Flutter/App.framework
Flutter/Flutter.framework
Flutter/Flutter.podspec
Flutter/Generated.xcconfig
Flutter/ephemeral/
Flutter/app.flx
Flutter/app.zip
Flutter/flutter_assets/
Flutter/flutter_export_environment.sh
build/
ServiceDefinitions.json
Runner/GeneratedPluginRegistrant.*

# Exceptions to above rules.
!default.mode1v3
!default.mode2v3
!default.pbxuser
!default.perspectivev3
26 changes: 26 additions & 0 deletions ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>App</string>
<key>CFBundleIdentifier</key>
<string>io.flutter.flutter.app</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>App</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>14.0</string>
</dict>
</plist>
13 changes: 13 additions & 0 deletions ios/Flutter/Configs/Debug-Local.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// Debug-Local.xcconfig
// Runner
//
// Created by Hank Yu on 2026/1/21.
//

// Include Local variables
#include "Local.xcconfig"

// Include Pods Debug settings
// Note: After running `pod install`, CocoaPods will generate corresponding files based on the Configuration name.
#include "../../Pods/Target Support Files/Pods-Runner/Pods-Runner.debug-local.xcconfig"
13 changes: 13 additions & 0 deletions ios/Flutter/Configs/Debug-Remote.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// Debug-Remote.xcconfig
// Runner
//
// Created by Hank Yu on 2026/1/21.
//

// Include Remote variables
#include "Remote.xcconfig"

// Include Pods Debug settings
// Note: After running `pod install`, CocoaPods will generate corresponding files based on the Configuration name.
#include "../../Pods/Target Support Files/Pods-Runner/Pods-Runner.debug-remote.xcconfig"
16 changes: 16 additions & 0 deletions ios/Flutter/Configs/Local.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// Local.xcconfig
// Runner
//
// Created by Hank Yu on 2026/1/20.
//

#include "Shared.xcconfig"

// Bundle ID (append a suffix to clearly distinguish variants)
PRODUCT_BUNDLE_IDENTIFIER = $(BASE_BUNDLE_ID).local

// App display name
APP_DISPLAY_NAME = Linksys (Local)

// Note: DART_DEFINES is intentionally not set here.
9 changes: 9 additions & 0 deletions ios/Flutter/Configs/Release-Local.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//
// Release-Local.xcconfig
// Runner
//
// Created by Hank Yu on 2026/1/21.
//

#include "Local.xcconfig"
#include "../../Pods/Target Support Files/Pods-Runner/Pods-Runner.release-local.xcconfig"
9 changes: 9 additions & 0 deletions ios/Flutter/Configs/Release-Remote.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//
// Release-Remote.xcconfig
// Runner
//
// Created by Hank Yu on 2026/1/21.
//

#include "Remote.xcconfig"
#include "../../Pods/Target Support Files/Pods-Runner/Pods-Runner.release-remote.xcconfig"
16 changes: 16 additions & 0 deletions ios/Flutter/Configs/Remote.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// Remote.xcconfig
// Runner
//
// Created by Hank Yu on 2026/1/20.
//

#include "Shared.xcconfig"

// Bundle ID (append a suffix to clearly distinguish variants)
PRODUCT_BUNDLE_IDENTIFIER = $(BASE_BUNDLE_ID).remote

// App display name
APP_DISPLAY_NAME = Linksys (Remote)

// Note: DART_DEFINES is intentionally not set here.
20 changes: 20 additions & 0 deletions ios/Flutter/Configs/Shared.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
// Shared.xcconfig
// Runner
//
// Created by Hank Yu on 2026/1/20.
//

// Must include the settings generated by Flutter for the iOS platform.
#include "../Generated.xcconfig"

// Basic information
BASE_BUNDLE_ID = com.linksys.privacygui // Custom flag
CURRENT_PROJECT_VERSION = 1
MARKETING_VERSION = 1.0.0

// Default Swift language version
SWIFT_VERSION = 5.0

// Minimum iOS version
IPHONEOS_DEPLOYMENT_TARGET = 14.0
32 changes: 0 additions & 32 deletions ios/Flutter/ephemeral/flutter_lldb_helper.py

This file was deleted.

5 changes: 0 additions & 5 deletions ios/Flutter/ephemeral/flutter_lldbinit

This file was deleted.

14 changes: 7 additions & 7 deletions ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '12.0'
platform :ios, '14.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
'Debug-Local' => :debug,
'Debug-Remote' => :debug,
'Release-Local' => :release,
'Release-Remote' => :release,
}

def flutter_root
Expand All @@ -28,10 +29,9 @@ require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelpe
flutter_ios_podfile_setup

target 'Runner' do
use_frameworks!

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
target 'RunnerTests' do
inherit! :search_paths
end
end

post_install do |installer|
Expand Down
Loading