From bebed148635d06e019677b1e94d28fc8f4536f38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pedro=20Oliveira?= <54298735+pedroolvj@users.noreply.github.com> Date: Sat, 20 Dec 2025 17:00:02 -0300 Subject: [PATCH] Ajustes para iOS --- .DS_Store | Bin 0 -> 6148 bytes books_viewer/.gitignore | 2 + .../ios/Flutter/AppFrameworkInfo.plist | 2 +- books_viewer/ios/Flutter/Debug.xcconfig | 1 + books_viewer/ios/Flutter/Release.xcconfig | 1 + books_viewer/ios/Podfile | 43 ++ .../DistributionSummary.plist | 602 ++++++++++++++++++ .../ExportOptions.plist | 24 + .../DistributionSummary.plist | 602 ++++++++++++++++++ .../ExportOptions.plist | 24 + .../ios/Runner.xcodeproj/project.pbxproj | 138 +++- .../xcshareddata/xcschemes/Runner.xcscheme | 3 + .../contents.xcworkspacedata | 3 + books_viewer/ios/Runner/AppDelegate.swift | 2 +- books_viewer/ios/Runner/Info.plist | 4 +- books_viewer/lib/main.dart | 12 +- books_viewer/lib/pages/about_page.dart | 32 +- books_viewer/lib/pages/epub_page.dart | 1 - books_viewer/lib/pages/privacy_page.dart | 4 +- .../lib/secure_screen/secure_screen.dart | 2 + .../lib/secure_screen/secure_screen_io.dart | 10 + .../lib/secure_screen/secure_screen_stub.dart | 5 + books_viewer/lib/widgets/epub_viewer2.dart | 1 - books_viewer/lib/widgets/pdf_viewer.dart | 3 +- .../macos/Flutter/Flutter-Debug.xcconfig | 1 + .../macos/Flutter/Flutter-Release.xcconfig | 1 + books_viewer/macos/Podfile | 42 ++ .../macos/Runner.xcodeproj/project.pbxproj | 6 +- .../macos/Runner/Configs/AppInfo.xcconfig | 2 +- books_viewer/pubspec.yaml | 2 +- 30 files changed, 1531 insertions(+), 44 deletions(-) create mode 100644 .DS_Store create mode 100644 books_viewer/ios/Podfile create mode 100644 books_viewer/ios/Runner 2025-12-20 16-09-59/DistributionSummary.plist create mode 100644 books_viewer/ios/Runner 2025-12-20 16-09-59/ExportOptions.plist create mode 100644 books_viewer/ios/Runner 2025-12-20 16-46-34/DistributionSummary.plist create mode 100644 books_viewer/ios/Runner 2025-12-20 16-46-34/ExportOptions.plist create mode 100644 books_viewer/lib/secure_screen/secure_screen.dart create mode 100644 books_viewer/lib/secure_screen/secure_screen_io.dart create mode 100644 books_viewer/lib/secure_screen/secure_screen_stub.dart create mode 100644 books_viewer/macos/Podfile diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..fb6074d8d7614ab22f9efc2a7b36f0b999511b15 GIT binary patch literal 6148 zcmeHK!AiqG5S?wSX{bUE3OxqA7Ob@t#7n642aM=Jr6we3Xv~(TZ4RZ7v;L4@;`cbS zyA@0A#e+zhDYI{Ob|%Zbl$|U9h~6|j0jL8&6_v1L;W`G%B2DX_2bLLfR+gv2q#tbk6zhZ#S2M3kVHCSj=M+Xk{`AF*(LK3v; zE{{VqrySB8hK;} zn1NLW%6eL-{(rgo{=b^UGiHDp*eV7@rSJ87Sd!_jYsFEobxCFBundleVersion 1.0 MinimumOSVersion - 12.0 + 13.0 diff --git a/books_viewer/ios/Flutter/Debug.xcconfig b/books_viewer/ios/Flutter/Debug.xcconfig index 592ceee..ec97fc6 100644 --- a/books_viewer/ios/Flutter/Debug.xcconfig +++ b/books_viewer/ios/Flutter/Debug.xcconfig @@ -1 +1,2 @@ +#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" #include "Generated.xcconfig" diff --git a/books_viewer/ios/Flutter/Release.xcconfig b/books_viewer/ios/Flutter/Release.xcconfig index 592ceee..c4855bf 100644 --- a/books_viewer/ios/Flutter/Release.xcconfig +++ b/books_viewer/ios/Flutter/Release.xcconfig @@ -1 +1,2 @@ +#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" #include "Generated.xcconfig" diff --git a/books_viewer/ios/Podfile b/books_viewer/ios/Podfile new file mode 100644 index 0000000..620e46e --- /dev/null +++ b/books_viewer/ios/Podfile @@ -0,0 +1,43 @@ +# Uncomment this line to define a global platform for your project +# platform :ios, '13.0' + +# CocoaPods analytics sends network stats synchronously affecting flutter build latency. +ENV['COCOAPODS_DISABLE_STATS'] = 'true' + +project 'Runner', { + 'Debug' => :debug, + 'Profile' => :release, + 'Release' => :release, +} + +def flutter_root + generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) + unless File.exist?(generated_xcode_build_settings_path) + raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" + end + + File.foreach(generated_xcode_build_settings_path) do |line| + matches = line.match(/FLUTTER_ROOT\=(.*)/) + return matches[1].strip if matches + end + raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" +end + +require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) + +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| + installer.pods_project.targets.each do |target| + flutter_additional_ios_build_settings(target) + end +end diff --git a/books_viewer/ios/Runner 2025-12-20 16-09-59/DistributionSummary.plist b/books_viewer/ios/Runner 2025-12-20 16-09-59/DistributionSummary.plist new file mode 100644 index 0000000..73af5fb --- /dev/null +++ b/books_viewer/ios/Runner 2025-12-20 16-09-59/DistributionSummary.plist @@ -0,0 +1,602 @@ + + + + + MakerBook.ipa + + + architectures + + arm64 + + buildNumber + 13 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + embeddedBinaries + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + AEXML.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 4.6.0 + + + architectures + + arm64 + + buildNumber + 1.0 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + App.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 1.0 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + EpubViewerKit.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 0.1.3 + + + architectures + + arm64 + + buildNumber + 1.0 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + Flutter.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 1.0 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + FontBlaster.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 5.1.1 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + MTBBarcodeScanner.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 5.0.11 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + MenuItemKit.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 4.0.1 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + Realm.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 5.5.1 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + RealmSwift.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 5.5.1 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + SSZipArchive.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 2.2.3 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + ZFDragableModalTransition.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 0.6.0 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + audioplayers_darwin.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 0.0.1 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + flutter_pdfview.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 1.0.2 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + path_provider_foundation.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 0.0.1 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + qr_code_scanner.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 0.2.0 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + shared_preferences_foundation.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 0.0.1 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + vocsy_epub_viewer.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 2.0.0 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + webview_flutter_wkwebview.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 0.0.1 + + + entitlements + + application-identifier + RNQBC4ZDWQ.com.makerrobotics.booksViewer2 + beta-reports-active + + com.apple.developer.team-identifier + RNQBC4ZDWQ + get-task-allow + + + name + Runner.app + profile + + UUID + 19448279-a527-4e7c-8bad-e0247cd5589d + dateExpires + 08/05/26 + name + iOS Team Store Provisioning Profile: com.makerrobotics.booksViewer2 + + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 1.0.3 + + + + diff --git a/books_viewer/ios/Runner 2025-12-20 16-09-59/ExportOptions.plist b/books_viewer/ios/Runner 2025-12-20 16-09-59/ExportOptions.plist new file mode 100644 index 0000000..bf47383 --- /dev/null +++ b/books_viewer/ios/Runner 2025-12-20 16-09-59/ExportOptions.plist @@ -0,0 +1,24 @@ + + + + + destination + upload + generateAppStoreInformation + + manageAppVersionAndBuildNumber + + method + app-store-connect + signingStyle + automatic + stripSwiftSymbols + + teamID + RNQBC4ZDWQ + testFlightInternalTestingOnly + + uploadSymbols + + + diff --git a/books_viewer/ios/Runner 2025-12-20 16-46-34/DistributionSummary.plist b/books_viewer/ios/Runner 2025-12-20 16-46-34/DistributionSummary.plist new file mode 100644 index 0000000..96b8b3e --- /dev/null +++ b/books_viewer/ios/Runner 2025-12-20 16-46-34/DistributionSummary.plist @@ -0,0 +1,602 @@ + + + + + MakerBook.ipa + + + architectures + + arm64 + + buildNumber + 14 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + embeddedBinaries + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + AEXML.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 4.6.0 + + + architectures + + arm64 + + buildNumber + 1.0 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + App.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 1.0 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + EpubViewerKit.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 0.1.3 + + + architectures + + arm64 + + buildNumber + 1.0 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + Flutter.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 1.0 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + FontBlaster.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 5.1.1 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + MTBBarcodeScanner.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 5.0.11 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + MenuItemKit.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 4.0.1 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + Realm.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 5.5.1 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + RealmSwift.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 5.5.1 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + SSZipArchive.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 2.2.3 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + ZFDragableModalTransition.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 0.6.0 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + audioplayers_darwin.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 0.0.1 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + flutter_pdfview.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 1.0.2 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + path_provider_foundation.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 0.0.1 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + qr_code_scanner.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 0.2.0 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + shared_preferences_foundation.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 0.0.1 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + vocsy_epub_viewer.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 2.0.0 + + + architectures + + arm64 + + buildNumber + 1 + certificate + + SHA1 + 67090E19BA115B5608F7A12D587FF327FF592114 + dateExpires + 08/05/26 + type + Cloud Managed Apple Distribution + + name + webview_flutter_wkwebview.framework + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 0.0.1 + + + entitlements + + application-identifier + RNQBC4ZDWQ.com.makerrobotics.booksViewer2 + beta-reports-active + + com.apple.developer.team-identifier + RNQBC4ZDWQ + get-task-allow + + + name + Runner.app + profile + + UUID + 19448279-a527-4e7c-8bad-e0247cd5589d + dateExpires + 08/05/26 + name + iOS Team Store Provisioning Profile: com.makerrobotics.booksViewer2 + + symbols + + team + + id + RNQBC4ZDWQ + name + Rafael Oliveira & Cia Ltda + + versionNumber + 1.0.3 + + + + diff --git a/books_viewer/ios/Runner 2025-12-20 16-46-34/ExportOptions.plist b/books_viewer/ios/Runner 2025-12-20 16-46-34/ExportOptions.plist new file mode 100644 index 0000000..bf47383 --- /dev/null +++ b/books_viewer/ios/Runner 2025-12-20 16-46-34/ExportOptions.plist @@ -0,0 +1,24 @@ + + + + + destination + upload + generateAppStoreInformation + + manageAppVersionAndBuildNumber + + method + app-store-connect + signingStyle + automatic + stripSwiftSymbols + + teamID + RNQBC4ZDWQ + testFlightInternalTestingOnly + + uploadSymbols + + + diff --git a/books_viewer/ios/Runner.xcodeproj/project.pbxproj b/books_viewer/ios/Runner.xcodeproj/project.pbxproj index 90f1dcc..36e691c 100644 --- a/books_viewer/ios/Runner.xcodeproj/project.pbxproj +++ b/books_viewer/ios/Runner.xcodeproj/project.pbxproj @@ -10,7 +10,9 @@ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; + 569AD773C42B3B36C0406562 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C95FD3447442AD87F806D61 /* Pods_RunnerTests.framework */; }; 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; + 8667FBEBD09A8D1BAB36C77A /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 837F958EEB9DB322701B9026 /* Pods_Runner.framework */; }; 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; @@ -40,14 +42,18 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 0588F885E88BBF9EA052ABA6 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; }; 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; + 708EA8247B19B5BE4179D4B2 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; + 837F958EEB9DB322701B9026 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 8C95FD3447442AD87F806D61 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -55,13 +61,26 @@ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + E2C026CF5262A6ECA6C8B754 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; + E63EBE9B992603F06D9C9492 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; + E98B20DA673C40C8452924F0 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; }; + F61372DE21F0FED3AAAF2AD9 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 10A7FDD46F7D61C6DEB5973C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 569AD773C42B3B36C0406562 /* Pods_RunnerTests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 97C146EB1CF9000F007C117D /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8667FBEBD09A8D1BAB36C77A /* Pods_Runner.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -76,6 +95,19 @@ path = RunnerTests; sourceTree = ""; }; + 8B0FC2C0C289E9520A9B8585 /* Pods */ = { + isa = PBXGroup; + children = ( + E2C026CF5262A6ECA6C8B754 /* Pods-Runner.debug.xcconfig */, + 708EA8247B19B5BE4179D4B2 /* Pods-Runner.release.xcconfig */, + E63EBE9B992603F06D9C9492 /* Pods-Runner.profile.xcconfig */, + 0588F885E88BBF9EA052ABA6 /* Pods-RunnerTests.debug.xcconfig */, + F61372DE21F0FED3AAAF2AD9 /* Pods-RunnerTests.release.xcconfig */, + E98B20DA673C40C8452924F0 /* Pods-RunnerTests.profile.xcconfig */, + ); + path = Pods; + sourceTree = ""; + }; 9740EEB11CF90186004384FC /* Flutter */ = { isa = PBXGroup; children = ( @@ -94,6 +126,8 @@ 97C146F01CF9000F007C117D /* Runner */, 97C146EF1CF9000F007C117D /* Products */, 331C8082294A63A400263BE5 /* RunnerTests */, + 8B0FC2C0C289E9520A9B8585 /* Pods */, + F00FCE23A62295ECA4CA4FC1 /* Frameworks */, ); sourceTree = ""; }; @@ -121,6 +155,15 @@ path = Runner; sourceTree = ""; }; + F00FCE23A62295ECA4CA4FC1 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 837F958EEB9DB322701B9026 /* Pods_Runner.framework */, + 8C95FD3447442AD87F806D61 /* Pods_RunnerTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -128,8 +171,10 @@ isa = PBXNativeTarget; buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; buildPhases = ( + 71B6200E8C598899C4CE56AF /* [CP] Check Pods Manifest.lock */, 331C807D294A63A400263BE5 /* Sources */, 331C807F294A63A400263BE5 /* Resources */, + 10A7FDD46F7D61C6DEB5973C /* Frameworks */, ); buildRules = ( ); @@ -145,12 +190,14 @@ isa = PBXNativeTarget; buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; buildPhases = ( + 1971614B6A04F7F818241A65 /* [CP] Check Pods Manifest.lock */, 9740EEB61CF901F6004384FC /* Run Script */, 97C146EA1CF9000F007C117D /* Sources */, 97C146EB1CF9000F007C117D /* Frameworks */, 97C146EC1CF9000F007C117D /* Resources */, 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, + AE54976BBDDFFE7ECF874480 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -222,6 +269,28 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ + 1971614B6A04F7F818241A65 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; @@ -238,6 +307,28 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; }; + 71B6200E8C598899C4CE56AF /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; @@ -253,6 +344,23 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; }; + AE54976BBDDFFE7ECF874480 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -346,7 +454,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -362,13 +470,14 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = RNQBC4ZDWQ; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.booksViewer; + PRODUCT_BUNDLE_IDENTIFIER = com.makerrobotics.booksViewer2; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -378,13 +487,14 @@ }; 331C8088294A63A400263BE5 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 0588F885E88BBF9EA052ABA6 /* Pods-RunnerTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.booksViewer.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.makerrobotics.booksViewer2.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -395,13 +505,14 @@ }; 331C8089294A63A400263BE5 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = F61372DE21F0FED3AAAF2AD9 /* Pods-RunnerTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.booksViewer.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.makerrobotics.booksViewer2.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; @@ -410,13 +521,14 @@ }; 331C808A294A63A400263BE5 /* Profile */ = { isa = XCBuildConfiguration; + baseConfigurationReference = E98B20DA673C40C8452924F0 /* Pods-RunnerTests.profile.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.booksViewer.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.makerrobotics.booksViewer2.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; @@ -472,7 +584,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -523,7 +635,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -541,13 +653,14 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = RNQBC4ZDWQ; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.booksViewer; + PRODUCT_BUNDLE_IDENTIFIER = com.makerrobotics.booksViewer2; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -563,13 +676,14 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = RNQBC4ZDWQ; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.booksViewer; + PRODUCT_BUNDLE_IDENTIFIER = com.makerrobotics.booksViewer2; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -588,7 +702,7 @@ 331C808A294A63A400263BE5 /* Profile */, ); defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; + defaultConfigurationName = Debug; }; 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { isa = XCConfigurationList; @@ -598,7 +712,7 @@ 249021D3217E4FDB00AE95B9 /* Profile */, ); defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; + defaultConfigurationName = Debug; }; 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { isa = XCConfigurationList; @@ -608,7 +722,7 @@ 249021D4217E4FDB00AE95B9 /* Profile */, ); defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; + defaultConfigurationName = Debug; }; /* End XCConfigurationList section */ }; diff --git a/books_viewer/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/books_viewer/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 8e3ca5d..e3773d4 100644 --- a/books_viewer/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/books_viewer/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -26,6 +26,7 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit" shouldUseLaunchSchemeArgsEnv = "YES"> diff --git a/books_viewer/ios/Runner.xcworkspace/contents.xcworkspacedata b/books_viewer/ios/Runner.xcworkspace/contents.xcworkspacedata index 1d526a1..21a3cc1 100644 --- a/books_viewer/ios/Runner.xcworkspace/contents.xcworkspacedata +++ b/books_viewer/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -4,4 +4,7 @@ + + diff --git a/books_viewer/ios/Runner/AppDelegate.swift b/books_viewer/ios/Runner/AppDelegate.swift index 9074fee..6266644 100644 --- a/books_viewer/ios/Runner/AppDelegate.swift +++ b/books_viewer/ios/Runner/AppDelegate.swift @@ -1,7 +1,7 @@ import Flutter import UIKit -@UIApplicationMain +@main @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, diff --git a/books_viewer/ios/Runner/Info.plist b/books_viewer/ios/Runner/Info.plist index df14f83..abbd6f1 100644 --- a/books_viewer/ios/Runner/Info.plist +++ b/books_viewer/ios/Runner/Info.plist @@ -5,7 +5,7 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - Books Viewer + Maker Book CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -45,5 +45,7 @@ UIApplicationSupportsIndirectInputEvents + NSCameraUsageDescription + Usamos a câmera para ler QR Code e permitir o login seguro no Maker Book. diff --git a/books_viewer/lib/main.dart b/books_viewer/lib/main.dart index 730f1bf..54fcf01 100644 --- a/books_viewer/lib/main.dart +++ b/books_viewer/lib/main.dart @@ -1,9 +1,16 @@ -// main.dart +import 'dart:io'; import 'package:flutter/material.dart'; import 'package:flutter_windowmanager/flutter_windowmanager.dart'; import 'pages/home_page.dart'; -void main() { +Future main() async { + WidgetsFlutterBinding.ensureInitialized(); + + // Só Android tem esse plugin + if (Platform.isAndroid) { + await FlutterWindowManager.addFlags(FlutterWindowManager.FLAG_SECURE); + } + runApp(const MyApp()); } @@ -12,7 +19,6 @@ class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { - FlutterWindowManager.addFlags(FlutterWindowManager.FLAG_SECURE); return MaterialApp( debugShowCheckedModeBanner: false, title: 'Maker Book', diff --git a/books_viewer/lib/pages/about_page.dart b/books_viewer/lib/pages/about_page.dart index 2e28e4a..4aafb30 100644 --- a/books_viewer/lib/pages/about_page.dart +++ b/books_viewer/lib/pages/about_page.dart @@ -22,10 +22,10 @@ class AboutPage extends StatelessWidget { fit: BoxFit.cover, ), ), - child: Column( + child: const Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - const Text( + Text( 'Maker Book', style: TextStyle( fontSize: 28, @@ -33,13 +33,13 @@ class AboutPage extends StatelessWidget { color: Colors.cyanAccent, ), ), - const SizedBox(height: 12), - const Text( + SizedBox(height: 12), + Text( 'Aplicativo educacional desenvolvido pela Maker Robotics para visualização de livros e conteúdos digitais exclusivos.', style: TextStyle(fontSize: 16, color: Colors.white), ), - const SizedBox(height: 24), - const Row( + SizedBox(height: 24), + Row( children: [ Icon(Icons.verified, color: Colors.greenAccent), SizedBox(width: 8), @@ -49,24 +49,24 @@ class AboutPage extends StatelessWidget { ), ], ), - const SizedBox(height: 16), - const Row( - children: [ + SizedBox(height: 16), + Wrap( + crossAxisAlignment: WrapCrossAlignment.center, + spacing: 8, + children: const [ Icon(Icons.email, color: Colors.white), - SizedBox(width: 8), - Text( - 'Contato: makerroboticssistema@gmail.com', + Text('Contato: makerroboticssistema@gmail.com', style: TextStyle(fontSize: 16, color: Colors.white), ), ], ), - const SizedBox(height: 32), - const Text( + SizedBox(height: 32), + Text( 'Este aplicativo permite acesso seguro aos livros digitais adquiridos pela instituição ou aluno, com proteção contra captura de tela e login via QR Code.', style: TextStyle(fontSize: 16, color: Colors.white), ), - const Spacer(), - const Center( + Spacer(), + Center( child: Text( '© 2025 Maker Robotics', style: TextStyle(color: Colors.white70, fontSize: 14), diff --git a/books_viewer/lib/pages/epub_page.dart b/books_viewer/lib/pages/epub_page.dart index 1d5aed1..0d448b2 100644 --- a/books_viewer/lib/pages/epub_page.dart +++ b/books_viewer/lib/pages/epub_page.dart @@ -1,4 +1,3 @@ -import 'package:MakerBook/widgets/epub_viewer2.dart'; import 'package:flutter/material.dart'; import '../widgets/epub_viewer.dart'; diff --git a/books_viewer/lib/pages/privacy_page.dart b/books_viewer/lib/pages/privacy_page.dart index ddd98b7..0873bb9 100644 --- a/books_viewer/lib/pages/privacy_page.dart +++ b/books_viewer/lib/pages/privacy_page.dart @@ -11,7 +11,7 @@ class PrivacyPage extends StatefulWidget { class _PrivacyPageState extends State { bool _loading = true; - late WebViewController _controller; + //late WebViewController _controller; @override void initState() { @@ -38,7 +38,7 @@ class _PrivacyPageState extends State { initialUrl: 'https://makereducacional.com.br/privacy.html', javascriptMode: JavascriptMode.unrestricted, onWebViewCreated: (controller) { - _controller = controller; + //_controller = controller; }, onPageFinished: (_) { setState(() { diff --git a/books_viewer/lib/secure_screen/secure_screen.dart b/books_viewer/lib/secure_screen/secure_screen.dart new file mode 100644 index 0000000..5ab4736 --- /dev/null +++ b/books_viewer/lib/secure_screen/secure_screen.dart @@ -0,0 +1,2 @@ +export 'secure_screen_stub.dart' + if (dart.library.io) 'secure_screen_io.dart'; \ No newline at end of file diff --git a/books_viewer/lib/secure_screen/secure_screen_io.dart b/books_viewer/lib/secure_screen/secure_screen_io.dart new file mode 100644 index 0000000..38604b1 --- /dev/null +++ b/books_viewer/lib/secure_screen/secure_screen_io.dart @@ -0,0 +1,10 @@ +import 'dart:io'; +import 'package:flutter_windowmanager/flutter_windowmanager.dart'; + +class SecureScreen { + static Future enable() async { + if (Platform.isAndroid) { + await FlutterWindowManager.addFlags(FlutterWindowManager.FLAG_SECURE); + } + } +} diff --git a/books_viewer/lib/secure_screen/secure_screen_stub.dart b/books_viewer/lib/secure_screen/secure_screen_stub.dart new file mode 100644 index 0000000..f79e5cf --- /dev/null +++ b/books_viewer/lib/secure_screen/secure_screen_stub.dart @@ -0,0 +1,5 @@ +class SecureScreen { + static Future enable() async { + // no-op (web/unknown) + } +} \ No newline at end of file diff --git a/books_viewer/lib/widgets/epub_viewer2.dart b/books_viewer/lib/widgets/epub_viewer2.dart index a5bd6cb..e467e7d 100644 --- a/books_viewer/lib/widgets/epub_viewer2.dart +++ b/books_viewer/lib/widgets/epub_viewer2.dart @@ -2,7 +2,6 @@ import 'dart:convert'; import 'dart:io'; import 'package:MakerBook/utils/encrypt.dart'; -import 'package:epub_view/epub_view.dart'; import 'package:flutter/material.dart'; import 'package:path_provider/path_provider.dart'; import 'package:vocsy_epub_viewer/epub_viewer.dart'; diff --git a/books_viewer/lib/widgets/pdf_viewer.dart b/books_viewer/lib/widgets/pdf_viewer.dart index 16fbe99..8f497f0 100644 --- a/books_viewer/lib/widgets/pdf_viewer.dart +++ b/books_viewer/lib/widgets/pdf_viewer.dart @@ -380,7 +380,7 @@ class _PdfViewerState extends State { void _verificaSeMostraTutorial() async { final prefs = await SharedPreferences.getInstance(); - bool jaViu = prefs.getBool('tutorialPdfVisto') ?? false; + bool jaViu = true; // prefs.getBool('tutorialPdfVisto') ?? false; setState(() { setaTutorial = !jaViu; @@ -484,6 +484,7 @@ class _PdfViewerState extends State { tooltip: 'Anotações', onPressed: _showAnnotationDialog, ), + const SizedBox(width: 8), ], ) : PreferredSize(preferredSize: Size.zero, child: SizedBox.shrink()), diff --git a/books_viewer/macos/Flutter/Flutter-Debug.xcconfig b/books_viewer/macos/Flutter/Flutter-Debug.xcconfig index c2efd0b..4b81f9b 100644 --- a/books_viewer/macos/Flutter/Flutter-Debug.xcconfig +++ b/books_viewer/macos/Flutter/Flutter-Debug.xcconfig @@ -1 +1,2 @@ +#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" #include "ephemeral/Flutter-Generated.xcconfig" diff --git a/books_viewer/macos/Flutter/Flutter-Release.xcconfig b/books_viewer/macos/Flutter/Flutter-Release.xcconfig index c2efd0b..5caa9d1 100644 --- a/books_viewer/macos/Flutter/Flutter-Release.xcconfig +++ b/books_viewer/macos/Flutter/Flutter-Release.xcconfig @@ -1 +1,2 @@ +#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" #include "ephemeral/Flutter-Generated.xcconfig" diff --git a/books_viewer/macos/Podfile b/books_viewer/macos/Podfile new file mode 100644 index 0000000..ff5ddb3 --- /dev/null +++ b/books_viewer/macos/Podfile @@ -0,0 +1,42 @@ +platform :osx, '10.15' + +# CocoaPods analytics sends network stats synchronously affecting flutter build latency. +ENV['COCOAPODS_DISABLE_STATS'] = 'true' + +project 'Runner', { + 'Debug' => :debug, + 'Profile' => :release, + 'Release' => :release, +} + +def flutter_root + generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__) + unless File.exist?(generated_xcode_build_settings_path) + raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first" + end + + File.foreach(generated_xcode_build_settings_path) do |line| + matches = line.match(/FLUTTER_ROOT\=(.*)/) + return matches[1].strip if matches + end + raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\"" +end + +require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) + +flutter_macos_podfile_setup + +target 'Runner' do + use_frameworks! + + flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) + target 'RunnerTests' do + inherit! :search_paths + end +end + +post_install do |installer| + installer.pods_project.targets.each do |target| + flutter_additional_macos_build_settings(target) + end +end diff --git a/books_viewer/macos/Runner.xcodeproj/project.pbxproj b/books_viewer/macos/Runner.xcodeproj/project.pbxproj index 506ac2e..ee9e264 100644 --- a/books_viewer/macos/Runner.xcodeproj/project.pbxproj +++ b/books_viewer/macos/Runner.xcodeproj/project.pbxproj @@ -385,7 +385,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.booksViewer.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.makerrobotics.booksViewer2.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MakerBook.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/MakerBook"; @@ -399,7 +399,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.booksViewer.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.makerrobotics.booksViewer2.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MakerBook.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/MakerBook"; @@ -413,7 +413,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.booksViewer.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.makerrobotics.booksViewer2.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MakerBook.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/MakerBook"; diff --git a/books_viewer/macos/Runner/Configs/AppInfo.xcconfig b/books_viewer/macos/Runner/Configs/AppInfo.xcconfig index 241c152..4be9515 100644 --- a/books_viewer/macos/Runner/Configs/AppInfo.xcconfig +++ b/books_viewer/macos/Runner/Configs/AppInfo.xcconfig @@ -8,7 +8,7 @@ PRODUCT_NAME = MakerBook // The application's bundle identifier -PRODUCT_BUNDLE_IDENTIFIER = com.example.booksViewer +PRODUCT_BUNDLE_IDENTIFIER = com.makerrobotics.booksViewer2 // The copyright displayed in application information PRODUCT_COPYRIGHT = Copyright © 2024 com.example. All rights reserved. diff --git a/books_viewer/pubspec.yaml b/books_viewer/pubspec.yaml index d91a85d..785f08d 100644 --- a/books_viewer/pubspec.yaml +++ b/books_viewer/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.3+11 +version: 1.0.3+14 environment: sdk: '>=3.4.3 <4.0.0'