From 76f8ac976add26df1413f8299df01ad895690949 Mon Sep 17 00:00:00 2001 From: Lorito Tiago <58330997+LoritoTiago@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:02:05 +0100 Subject: [PATCH] notificaton setup --- .../App.xcodeproj/GoogleService-Info.plist | 36 ++++++ ios/App/App.xcodeproj/project.pbxproj | 79 ++++++++---- .../xcshareddata/swiftpm/Package.resolved | 113 ++++++++++++++++++ .../xcshareddata/xcschemes/App.xcscheme | 78 ++++++++++++ .../xcshareddata/swiftpm/Package.resolved | 113 ++++++++++++++++++ ios/App/App/AppDelegate.swift | 25 ++++ .../Assets.xcassets/GoogleService-Info.plist | 36 ++++++ .../App/Base.lproj/GoogleService-Info.plist | 36 ++++++ ios/App/App/GoogleService-Info.plist | 36 ++++++ ios/App/GoogleService-Info.plist | 36 ++++++ ios/App/Podfile | 3 + 11 files changed, 567 insertions(+), 24 deletions(-) create mode 100644 ios/App/App.xcodeproj/GoogleService-Info.plist create mode 100644 ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved create mode 100644 ios/App/App.xcodeproj/xcshareddata/xcschemes/App.xcscheme create mode 100644 ios/App/App.xcworkspace/xcshareddata/swiftpm/Package.resolved create mode 100644 ios/App/App/Assets.xcassets/GoogleService-Info.plist create mode 100644 ios/App/App/Base.lproj/GoogleService-Info.plist create mode 100644 ios/App/App/GoogleService-Info.plist create mode 100644 ios/App/GoogleService-Info.plist diff --git a/ios/App/App.xcodeproj/GoogleService-Info.plist b/ios/App/App.xcodeproj/GoogleService-Info.plist new file mode 100644 index 000000000..3ee552a0a --- /dev/null +++ b/ios/App/App.xcodeproj/GoogleService-Info.plist @@ -0,0 +1,36 @@ + + + + + CLIENT_ID + 800733765231-5da370m1mntjk7cg8cc2d331sp8cj91d.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.800733765231-5da370m1mntjk7cg8cc2d331sp8cj91d + API_KEY + AIzaSyCDW6bjQSiSAVCYhai7nFV1wWnLMV_kBeM + GCM_SENDER_ID + 800733765231 + PLIST_VERSION + 1 + BUNDLE_ID + com.gpr.gabinetedigital.teste + PROJECT_ID + gabinete-digital-2020 + STORAGE_BUCKET + gabinete-digital-2020.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:800733765231:ios:af4d35631d70473213779a + DATABASE_URL + https://gabinete-digital-2020.firebaseio.com + + \ No newline at end of file diff --git a/ios/App/App.xcodeproj/project.pbxproj b/ios/App/App.xcodeproj/project.pbxproj index 22e480568..9c679908e 100644 --- a/ios/App/App.xcodeproj/project.pbxproj +++ b/ios/App/App.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 48; + objectVersion = 52; objects = { /* Begin PBXBuildFile section */ @@ -29,6 +29,11 @@ 50B271D01FEDC1A000F3C39B /* public */ = {isa = PBXFileReference; lastKnownFileType = folder; path = public; sourceTree = ""; }; AF277DCFFFF123FFC6DF26C7 /* Pods_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_App.framework; sourceTree = BUILT_PRODUCTS_DIR; }; AF51FD2D460BCFE21FA515B2 /* Pods-App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.release.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.release.xcconfig"; sourceTree = ""; }; + DA6FE4D02ACEEACD006F1E0D /* CapacitorPushNotifications.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = CapacitorPushNotifications.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + DA6FE4D52ACEF2DA006F1E0D /* FirebaseCore.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = FirebaseCore.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + DA6FE4D62ACEF2DA006F1E0D /* FirebaseCoreInternal.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = FirebaseCoreInternal.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + DA6FE4D72ACEF2DA006F1E0D /* FirebaseInstallations.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = FirebaseInstallations.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + DA6FE4D82ACEF2DA006F1E0D /* FirebaseMessaging.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = FirebaseMessaging.framework; sourceTree = BUILT_PRODUCTS_DIR; }; FC68EB0AF532CFC21C3344DD /* Pods-App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.debug.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -47,6 +52,11 @@ 27E2DDA53C4D2A4D1A88CE4A /* Frameworks */ = { isa = PBXGroup; children = ( + DA6FE4D52ACEF2DA006F1E0D /* FirebaseCore.framework */, + DA6FE4D62ACEF2DA006F1E0D /* FirebaseCoreInternal.framework */, + DA6FE4D72ACEF2DA006F1E0D /* FirebaseInstallations.framework */, + DA6FE4D82ACEF2DA006F1E0D /* FirebaseMessaging.framework */, + DA6FE4D02ACEEACD006F1E0D /* CapacitorPushNotifications.framework */, AF277DCFFFF123FFC6DF26C7 /* Pods_App.framework */, ); name = Frameworks; @@ -106,7 +116,7 @@ 504EC3011FED79650016851F /* Frameworks */, 504EC3021FED79650016851F /* Resources */, 9592DBEFFC6D2A0C8D5DEB22 /* [CP] Embed Pods Frameworks */, - A99665AA7D5F8360E21EA025 /* [CP] Copy Pods Resources */, + 5B7AACB22ECDCEAA343DC840 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -142,6 +152,9 @@ Base, ); mainGroup = 504EC2FB1FED79650016851F; + packageReferences = ( + DA6FE4D42ACEEC01006F1E0D /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */, + ); productRefGroup = 504EC3051FED79650016851F /* Products */; projectDirPath = ""; projectRoot = ""; @@ -168,6 +181,21 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ + 5B7AACB22ECDCEAA343DC840 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; 6634F4EFEBD30273BCE97C65 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -201,21 +229,6 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - A99665AA7D5F8360E21EA025 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -351,7 +364,8 @@ IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; VALIDATE_PRODUCT = YES; }; name = Release; @@ -363,13 +377,16 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 15; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 94BRNM2LSS; INFOPLIST_FILE = App/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 13.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - MARKETING_VERSION = 2.0.1; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 2.0.25; OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\""; PRODUCT_BUNDLE_IDENTIFIER = com.gpr.gabinetedigital.teste; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -388,13 +405,16 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 15; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 94BRNM2LSS; INFOPLIST_FILE = App/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 13.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - MARKETING_VERSION = 2.0.1; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 2.0.25; PRODUCT_BUNDLE_IDENTIFIER = com.gpr.gabinetedigital.teste; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -427,6 +447,17 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + DA6FE4D42ACEEC01006F1E0D /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/firebase/firebase-ios-sdk"; + requirement = { + branch = master; + kind = branch; + }; + }; +/* End XCRemoteSwiftPackageReference section */ }; rootObject = 504EC2FC1FED79650016851F /* Project object */; } diff --git a/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 000000000..afa7db29b --- /dev/null +++ b/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,113 @@ +{ + "pins" : [ + { + "identity" : "abseil-cpp-binary", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/abseil-cpp-binary.git", + "state" : { + "revision" : "bfc0b6f81adc06ce5121eb23f628473638d67c5c", + "version" : "1.2022062300.0" + } + }, + { + "identity" : "firebase-ios-sdk", + "kind" : "remoteSourceControl", + "location" : "https://github.com/firebase/firebase-ios-sdk", + "state" : { + "branch" : "master", + "revision" : "a10c9f585db1d37a8e6bf9461ef96b14fffdc8b9" + } + }, + { + "identity" : "googleappmeasurement", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/GoogleAppMeasurement.git", + "state" : { + "revision" : "56f681586ff006a7982b53dc94082eea31971acf", + "version" : "10.16.0" + } + }, + { + "identity" : "googledatatransport", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/GoogleDataTransport.git", + "state" : { + "revision" : "aae45a320fd0d11811820335b1eabc8753902a40", + "version" : "9.2.5" + } + }, + { + "identity" : "googleutilities", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/GoogleUtilities.git", + "state" : { + "revision" : "c38ce365d77b04a9a300c31061c5227589e5597b", + "version" : "7.11.5" + } + }, + { + "identity" : "grpc-binary", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/grpc-binary.git", + "state" : { + "revision" : "a673bc2937fbe886dd1f99c401b01b6d977a9c98", + "version" : "1.49.1" + } + }, + { + "identity" : "gtm-session-fetcher", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/gtm-session-fetcher.git", + "state" : { + "revision" : "d415594121c9e8a4f9d79cecee0965cf35e74dbd", + "version" : "3.1.1" + } + }, + { + "identity" : "interop-ios-for-google-sdks", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/interop-ios-for-google-sdks.git", + "state" : { + "revision" : "2d12673670417654f08f5f90fdd62926dc3a2648", + "version" : "100.0.0" + } + }, + { + "identity" : "leveldb", + "kind" : "remoteSourceControl", + "location" : "https://github.com/firebase/leveldb.git", + "state" : { + "revision" : "0706abcc6b0bd9cedfbb015ba840e4a780b5159b", + "version" : "1.22.2" + } + }, + { + "identity" : "nanopb", + "kind" : "remoteSourceControl", + "location" : "https://github.com/firebase/nanopb.git", + "state" : { + "revision" : "819d0a2173aff699fb8c364b6fb906f7cdb1a692", + "version" : "2.30909.0" + } + }, + { + "identity" : "promises", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/promises.git", + "state" : { + "revision" : "e70e889c0196c76d22759eb50d6a0270ca9f1d9e", + "version" : "2.3.1" + } + }, + { + "identity" : "swift-protobuf", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-protobuf.git", + "state" : { + "revision" : "3c54ab05249f59f2c6641dd2920b8358ea9ed127", + "version" : "1.24.0" + } + } + ], + "version" : 2 +} diff --git a/ios/App/App.xcodeproj/xcshareddata/xcschemes/App.xcscheme b/ios/App/App.xcodeproj/xcshareddata/xcschemes/App.xcscheme new file mode 100644 index 000000000..d708c4b0f --- /dev/null +++ b/ios/App/App.xcodeproj/xcshareddata/xcschemes/App.xcscheme @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/App/App.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ios/App/App.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 000000000..afa7db29b --- /dev/null +++ b/ios/App/App.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,113 @@ +{ + "pins" : [ + { + "identity" : "abseil-cpp-binary", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/abseil-cpp-binary.git", + "state" : { + "revision" : "bfc0b6f81adc06ce5121eb23f628473638d67c5c", + "version" : "1.2022062300.0" + } + }, + { + "identity" : "firebase-ios-sdk", + "kind" : "remoteSourceControl", + "location" : "https://github.com/firebase/firebase-ios-sdk", + "state" : { + "branch" : "master", + "revision" : "a10c9f585db1d37a8e6bf9461ef96b14fffdc8b9" + } + }, + { + "identity" : "googleappmeasurement", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/GoogleAppMeasurement.git", + "state" : { + "revision" : "56f681586ff006a7982b53dc94082eea31971acf", + "version" : "10.16.0" + } + }, + { + "identity" : "googledatatransport", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/GoogleDataTransport.git", + "state" : { + "revision" : "aae45a320fd0d11811820335b1eabc8753902a40", + "version" : "9.2.5" + } + }, + { + "identity" : "googleutilities", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/GoogleUtilities.git", + "state" : { + "revision" : "c38ce365d77b04a9a300c31061c5227589e5597b", + "version" : "7.11.5" + } + }, + { + "identity" : "grpc-binary", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/grpc-binary.git", + "state" : { + "revision" : "a673bc2937fbe886dd1f99c401b01b6d977a9c98", + "version" : "1.49.1" + } + }, + { + "identity" : "gtm-session-fetcher", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/gtm-session-fetcher.git", + "state" : { + "revision" : "d415594121c9e8a4f9d79cecee0965cf35e74dbd", + "version" : "3.1.1" + } + }, + { + "identity" : "interop-ios-for-google-sdks", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/interop-ios-for-google-sdks.git", + "state" : { + "revision" : "2d12673670417654f08f5f90fdd62926dc3a2648", + "version" : "100.0.0" + } + }, + { + "identity" : "leveldb", + "kind" : "remoteSourceControl", + "location" : "https://github.com/firebase/leveldb.git", + "state" : { + "revision" : "0706abcc6b0bd9cedfbb015ba840e4a780b5159b", + "version" : "1.22.2" + } + }, + { + "identity" : "nanopb", + "kind" : "remoteSourceControl", + "location" : "https://github.com/firebase/nanopb.git", + "state" : { + "revision" : "819d0a2173aff699fb8c364b6fb906f7cdb1a692", + "version" : "2.30909.0" + } + }, + { + "identity" : "promises", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/promises.git", + "state" : { + "revision" : "e70e889c0196c76d22759eb50d6a0270ca9f1d9e", + "version" : "2.3.1" + } + }, + { + "identity" : "swift-protobuf", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-protobuf.git", + "state" : { + "revision" : "3c54ab05249f59f2c6641dd2920b8358ea9ed127", + "version" : "1.24.0" + } + } + ], + "version" : 2 +} diff --git a/ios/App/App/AppDelegate.swift b/ios/App/App/AppDelegate.swift index c3cd83b5c..87983b5dd 100644 --- a/ios/App/App/AppDelegate.swift +++ b/ios/App/App/AppDelegate.swift @@ -1,5 +1,7 @@ import UIKit import Capacitor +import FirebaseCore +import Firebase @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { @@ -8,6 +10,22 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. + + // Specify the custom file path + let customGoogleServiceInfoPlistPath = Bundle.main.path(forResource: "GoogleService-Info", ofType: "plist") + + // Check if the custom plist file exists + if let filePath = customGoogleServiceInfoPlistPath, + let fileOptions = FirebaseOptions(contentsOfFile: filePath) { + FirebaseApp.configure(options: fileOptions) + } else { + // Handle the case where the custom plist file is not found + print("Custom GoogleService-Info.plist not found or invalid.") + FirebaseApp.configure() + } + + + return true } @@ -46,4 +64,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate { return ApplicationDelegateProxy.shared.application(application, continue: userActivity, restorationHandler: restorationHandler) } + func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) { + NotificationCenter.default.post(name: .capacitorDidRegisterForRemoteNotifications, object: deviceToken) + } + + func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) { + NotificationCenter.default.post(name: .capacitorDidFailToRegisterForRemoteNotifications, object: error) + } } diff --git a/ios/App/App/Assets.xcassets/GoogleService-Info.plist b/ios/App/App/Assets.xcassets/GoogleService-Info.plist new file mode 100644 index 000000000..3ee552a0a --- /dev/null +++ b/ios/App/App/Assets.xcassets/GoogleService-Info.plist @@ -0,0 +1,36 @@ + + + + + CLIENT_ID + 800733765231-5da370m1mntjk7cg8cc2d331sp8cj91d.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.800733765231-5da370m1mntjk7cg8cc2d331sp8cj91d + API_KEY + AIzaSyCDW6bjQSiSAVCYhai7nFV1wWnLMV_kBeM + GCM_SENDER_ID + 800733765231 + PLIST_VERSION + 1 + BUNDLE_ID + com.gpr.gabinetedigital.teste + PROJECT_ID + gabinete-digital-2020 + STORAGE_BUCKET + gabinete-digital-2020.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:800733765231:ios:af4d35631d70473213779a + DATABASE_URL + https://gabinete-digital-2020.firebaseio.com + + \ No newline at end of file diff --git a/ios/App/App/Base.lproj/GoogleService-Info.plist b/ios/App/App/Base.lproj/GoogleService-Info.plist new file mode 100644 index 000000000..3ee552a0a --- /dev/null +++ b/ios/App/App/Base.lproj/GoogleService-Info.plist @@ -0,0 +1,36 @@ + + + + + CLIENT_ID + 800733765231-5da370m1mntjk7cg8cc2d331sp8cj91d.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.800733765231-5da370m1mntjk7cg8cc2d331sp8cj91d + API_KEY + AIzaSyCDW6bjQSiSAVCYhai7nFV1wWnLMV_kBeM + GCM_SENDER_ID + 800733765231 + PLIST_VERSION + 1 + BUNDLE_ID + com.gpr.gabinetedigital.teste + PROJECT_ID + gabinete-digital-2020 + STORAGE_BUCKET + gabinete-digital-2020.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:800733765231:ios:af4d35631d70473213779a + DATABASE_URL + https://gabinete-digital-2020.firebaseio.com + + \ No newline at end of file diff --git a/ios/App/App/GoogleService-Info.plist b/ios/App/App/GoogleService-Info.plist new file mode 100644 index 000000000..3ee552a0a --- /dev/null +++ b/ios/App/App/GoogleService-Info.plist @@ -0,0 +1,36 @@ + + + + + CLIENT_ID + 800733765231-5da370m1mntjk7cg8cc2d331sp8cj91d.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.800733765231-5da370m1mntjk7cg8cc2d331sp8cj91d + API_KEY + AIzaSyCDW6bjQSiSAVCYhai7nFV1wWnLMV_kBeM + GCM_SENDER_ID + 800733765231 + PLIST_VERSION + 1 + BUNDLE_ID + com.gpr.gabinetedigital.teste + PROJECT_ID + gabinete-digital-2020 + STORAGE_BUCKET + gabinete-digital-2020.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:800733765231:ios:af4d35631d70473213779a + DATABASE_URL + https://gabinete-digital-2020.firebaseio.com + + \ No newline at end of file diff --git a/ios/App/GoogleService-Info.plist b/ios/App/GoogleService-Info.plist new file mode 100644 index 000000000..3ee552a0a --- /dev/null +++ b/ios/App/GoogleService-Info.plist @@ -0,0 +1,36 @@ + + + + + CLIENT_ID + 800733765231-5da370m1mntjk7cg8cc2d331sp8cj91d.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.800733765231-5da370m1mntjk7cg8cc2d331sp8cj91d + API_KEY + AIzaSyCDW6bjQSiSAVCYhai7nFV1wWnLMV_kBeM + GCM_SENDER_ID + 800733765231 + PLIST_VERSION + 1 + BUNDLE_ID + com.gpr.gabinetedigital.teste + PROJECT_ID + gabinete-digital-2020 + STORAGE_BUCKET + gabinete-digital-2020.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:800733765231:ios:af4d35631d70473213779a + DATABASE_URL + https://gabinete-digital-2020.firebaseio.com + + \ No newline at end of file diff --git a/ios/App/Podfile b/ios/App/Podfile index b013e2d80..d15c57d45 100644 --- a/ios/App/Podfile +++ b/ios/App/Podfile @@ -32,6 +32,9 @@ end target 'App' do capacitor_pods # Add your Pods here + pod 'Firebase/CoreOnly', '~> 10.15.0' + pod 'Firebase/Core', '~> 10.15.0' + pod 'Firebase/Messaging', '~> 10.15.0' end post_install do |installer|