diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index b256d8d2..05127775 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -67,5 +67,6 @@ + diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 43377d30..fe1532e2 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -45,6 +45,9 @@ PODS: - Flutter - flutter_runtime_env (0.0.1): - Flutter + - flutter_sentry (0.0.1): + - Flutter + - Sentry (~> 5.0) - flutter_webview_plugin (0.0.1): - Flutter - FMDB (2.7.5): @@ -100,6 +103,9 @@ PODS: - Reachability (3.2) - receive_sharing_intent (0.0.1): - Flutter + - Sentry (5.1.4): + - Sentry/Core (= 5.1.4) + - Sentry/Core (5.1.4) - share (0.5.2): - Flutter - shared_preferences (0.0.1): @@ -127,6 +133,7 @@ DEPENDENCIES: - flutter_email_sender (from `.symlinks/plugins/flutter_email_sender/ios`) - flutter_plugin_android_lifecycle (from `.symlinks/plugins/flutter_plugin_android_lifecycle/ios`) - flutter_runtime_env (from `.symlinks/plugins/flutter_runtime_env/ios`) + - flutter_sentry (from `.symlinks/plugins/flutter_sentry/ios`) - flutter_webview_plugin (from `.symlinks/plugins/flutter_webview_plugin/ios`) - git_bindings (from `.symlinks/plugins/git_bindings/ios`) - image_picker (from `.symlinks/plugins/image_picker/ios`) @@ -161,6 +168,7 @@ SPEC REPOS: - FMDB - Purchases - Reachability + - Sentry EXTERNAL SOURCES: connectivity: @@ -179,6 +187,8 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/flutter_plugin_android_lifecycle/ios" flutter_runtime_env: :path: ".symlinks/plugins/flutter_runtime_env/ios" + flutter_sentry: + :path: ".symlinks/plugins/flutter_sentry/ios" flutter_webview_plugin: :path: ".symlinks/plugins/flutter_webview_plugin/ios" git_bindings: @@ -219,7 +229,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: connectivity: 6e94255659cc86dcbef1d452ad3e0491bb1b3e75 Crashlytics: 5aa8e90dcbf2f34898b4f5a0037787531246cca0 - device_info: cbf09d2ec12aa7110e0b09fabe54b5bd6c8efe74 + device_info: d7d233b645a32c40dfdc212de5cf646ca482f175 Fabric: f6f21452846788bb44595d73e9909d79d328e617 Firebase: fa80b9d987ca014a1ba9357496ef2a0178b28b12 firebase_analytics: dacdcfc524d722fff13dcff942f0dfa47e6be567 @@ -231,6 +241,7 @@ SPEC CHECKSUMS: flutter_email_sender: f787522d0e82f50e5766c1213dbffff22fdcf009 flutter_plugin_android_lifecycle: dc0b544e129eebb77a6bfb1239d4d1c673a60a35 flutter_runtime_env: c247c6cbe8cfbbc59237c50cbf4df91307d88322 + flutter_sentry: e7e66f0717b5fba24f96891e879562bdd8985d36 flutter_webview_plugin: ed9e8a6a96baf0c867e90e1bce2673913eeac694 FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a git_bindings: 2136dc93ecfd22b3fdcafd03b582e7b64debf2b6 @@ -247,6 +258,7 @@ SPEC CHECKSUMS: quick_actions: 6cb2390c4dab0e737c94573c27e18d9666710720 Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96 receive_sharing_intent: c0d87310754e74c0f9542947e7cbdf3a0335a3b1 + Sentry: 74f2ad93a20a5567a1badaedf5b3f60b142ad082 share: bae0a282aab4483288913fc4dc0b935d4b491f2e shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d shared_preferences_macos: f3f29b71ccbb56bf40c9dd6396c9acf15e214087 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 9d04689d..7a395fa7 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -18,6 +18,7 @@ 7A2A0C25229FF84C00FE4F1B /* common.c in Sources */ = {isa = PBXBuildFile; fileRef = 7A2A0C22229FF84C00FE4F1B /* common.c */; }; 7A2A0C26229FF84C00FE4F1B /* gitjournal.c in Sources */ = {isa = PBXBuildFile; fileRef = 7A2A0C23229FF84C00FE4F1B /* gitjournal.c */; }; 7A2A0C27229FF84C00FE4F1B /* keygen.c in Sources */ = {isa = PBXBuildFile; fileRef = 7A2A0C24229FF84C00FE4F1B /* keygen.c */; }; + 7A742348249CE14500B2C46B /* empty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A742347249CE14500B2C46B /* empty.swift */; }; 7AD6EE48228EC97800E098B2 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 7AD6EE47228EC97800E098B2 /* GoogleService-Info.plist */; }; 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; }; 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; }; @@ -53,6 +54,8 @@ 7A2A0C22229FF84C00FE4F1B /* common.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = common.c; path = ../gj_common/common.c; sourceTree = ""; }; 7A2A0C23229FF84C00FE4F1B /* gitjournal.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = gitjournal.c; path = ../gj_common/gitjournal.c; sourceTree = ""; }; 7A2A0C24229FF84C00FE4F1B /* keygen.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = keygen.c; path = ../gj_common/keygen.c; sourceTree = ""; }; + 7A742346249CE14400B2C46B /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; + 7A742347249CE14500B2C46B /* empty.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = empty.swift; sourceTree = ""; }; 7AD6EE47228EC97800E098B2 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; @@ -157,6 +160,8 @@ 97C146F11CF9000F007C117D /* Supporting Files */, 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, + 7A742347249CE14500B2C46B /* empty.swift */, + 7A742346249CE14400B2C46B /* Runner-Bridging-Header.h */, ); path = Runner; sourceTree = ""; @@ -207,6 +212,7 @@ 97C146ED1CF9000F007C117D = { CreatedOnToolsVersion = 7.3.1; DevelopmentTeam = 4NYTN6RU3N; + LastSwiftMigration = 1130; ProvisioningStyle = Automatic; }; }; @@ -336,6 +342,7 @@ buildActionMask = 2147483647; files = ( 7A2A0C25229FF84C00FE4F1B /* common.c in Sources */, + 7A742348249CE14500B2C46B /* empty.swift in Sources */, 7A2A0C26229FF84C00FE4F1B /* gitjournal.c in Sources */, 7A2A0C27229FF84C00FE4F1B /* keygen.c in Sources */, 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */, @@ -479,9 +486,10 @@ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = 4NYTN6RU3N; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -499,6 +507,8 @@ PRODUCT_BUNDLE_IDENTIFIER = io.gitjournal.gitjournal; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; SYSTEM_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/libs/include/"; USER_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/../gj_common/"; @@ -511,9 +521,10 @@ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = 4NYTN6RU3N; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -531,6 +542,7 @@ PRODUCT_BUNDLE_IDENTIFIER = io.gitjournal.gitjournal; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; SYSTEM_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/libs/include/"; USER_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/../gj_common/"; diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 164e9be7..a0f65e20 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -75,5 +75,7 @@ NSAllowsArbitraryLoadsInWebContent + SentryDSN + https://35f34dbec289435fbe16483faacf49a5@sentry.io/5168082 diff --git a/pubspec.lock b/pubspec.lock index af89d67b..8f1dac3d 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -291,6 +291,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.0.3" + flutter_sentry: + dependency: "direct main" + description: + name: flutter_sentry + url: "https://pub.dartlang.org" + source: hosted + version: "0.4.2" flutter_staggered_grid_view: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 4911b88c..60401be2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -45,6 +45,7 @@ dependencies: steel_crypt: ^1.7.1+1 font_awesome_flutter: ^8.7.0 sentry: ">=3.0.0 <4.0.0" + flutter_sentry: ^0.4.2 equatable: ^1.1.0 purchases_flutter: ^1.1.0 cached_network_image: ^2.2.0+1