Skip to content

Commit

Permalink
SIANXSVC-1227: change firebase config
Browse files Browse the repository at this point in the history
  • Loading branch information
anx-bkelhar committed Mar 22, 2024
1 parent b4870a6 commit c1a911d
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 43 deletions.
24 changes: 12 additions & 12 deletions TwoFAS/AnexiaAutheticator.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@
C234433E2A8C09E700005F33 /* AddingServiceTextFieldLineView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C234433D2A8C09E700005F33 /* AddingServiceTextFieldLineView.swift */; };
C23443402A8C12C200005F33 /* AddingServiceServiceIconView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C234433F2A8C12C200005F33 /* AddingServiceServiceIconView.swift */; };
C23443DE26B08EAA00C9F645 /* ExtensionsStorage.swift in Sources */ = {isa = PBXBuildFile; fileRef = C23443DD26B08EAA00C9F645 /* ExtensionsStorage.swift */; };
C2355B4B2221D33300BA001D /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = C2355B4A2221D33300BA001D /* GoogleService-Info.plist */; };
C235A011298FD97D008F4FD0 /* MainSplitViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C235A010298FD97D008F4FD0 /* MainSplitViewController.swift */; };
C235A013298FE785008F4FD0 /* MainMenuPresenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = C235A012298FE785008F4FD0 /* MainMenuPresenter.swift */; };
C235FA76229DAED80098F8E9 /* GridViewItemProviderWriting.swift in Sources */ = {isa = PBXBuildFile; fileRef = C235FA75229DAED80098F8E9 /* GridViewItemProviderWriting.swift */; };
Expand Down Expand Up @@ -1056,6 +1055,7 @@
C2FDEE63279CC37E002CAB9E /* CameraScannerFlowController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C2FDEE62279CC37E002CAB9E /* CameraScannerFlowController.swift */; };
C2FF3EEA27B1A81100642FA4 /* CollectionViewDelegatee.swift in Sources */ = {isa = PBXBuildFile; fileRef = C2FF3EE927B1A81100642FA4 /* CollectionViewDelegatee.swift */; };
C2FF3EEC27B1CF0100642FA4 /* IconSelectorModels.swift in Sources */ = {isa = PBXBuildFile; fileRef = C2FF3EEB27B1CF0100642FA4 /* IconSelectorModels.swift */; };
E1FCA3112BACD8E200D5AE78 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = E1FCA3102BACD8E100D5AE78 /* GoogleService-Info.plist */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -1683,7 +1683,6 @@
C234433D2A8C09E700005F33 /* AddingServiceTextFieldLineView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddingServiceTextFieldLineView.swift; sourceTree = "<group>"; };
C234433F2A8C12C200005F33 /* AddingServiceServiceIconView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddingServiceServiceIconView.swift; sourceTree = "<group>"; };
C23443DD26B08EAA00C9F645 /* ExtensionsStorage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExtensionsStorage.swift; sourceTree = "<group>"; };
C2355B4A2221D33300BA001D /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
C235A010298FD97D008F4FD0 /* MainSplitViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainSplitViewController.swift; sourceTree = "<group>"; };
C235A012298FE785008F4FD0 /* MainMenuPresenter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainMenuPresenter.swift; sourceTree = "<group>"; };
C235FA75229DAED80098F8E9 /* GridViewItemProviderWriting.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GridViewItemProviderWriting.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -2499,6 +2498,7 @@
C2FE36292517FF8D00035643 /* VoiceOver.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VoiceOver.swift; sourceTree = "<group>"; };
C2FF3EE927B1A81100642FA4 /* CollectionViewDelegatee.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CollectionViewDelegatee.swift; sourceTree = "<group>"; };
C2FF3EEB27B1CF0100642FA4 /* IconSelectorModels.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IconSelectorModels.swift; sourceTree = "<group>"; };
E1FCA3102BACD8E100D5AE78 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -6127,11 +6127,11 @@
C2BDC6BF1FC1ABF600967D0E /* Other */ = {
isa = PBXGroup;
children = (
E1FCA3102BACD8E100D5AE78 /* GoogleService-Info.plist */,
C24E3E5B2AB8F13A008A7158 /* Guides */,
C2D17FF3291BB5D90072EBFD /* Generated */,
C2F8702A262C7A900032DB1F /* FileIcons */,
C2CB5D1125DB1B7E00A362A9 /* External */,
C2355B4A2221D33300BA001D /* GoogleService-Info.plist */,
C2BDC6DE1FC1F66F00967D0E /* TwoFAS.entitlements */,
C2D291DB2955FC9E0084FE1E /* Settings.bundle */,
C225E617241CFCE90041C238 /* Localizable.strings */,
Expand Down Expand Up @@ -8077,10 +8077,10 @@
C29B9ADD2B1E859D00255A2C /* instagram.json in Resources */,
C24E3E652AB8F15A008A7158 /* rockstar_games.json in Resources */,
C24E3E682AB8F15A008A7158 /* epic_games.json in Resources */,
C2355B4B2221D33300BA001D /* GoogleService-Info.plist in Resources */,
C24E3E6A2AB8F15A008A7158 /* amazon.json in Resources */,
C225E615241CFCE90041C238 /* Localizable.strings in Resources */,
C24E3E6B2AB8F15A008A7158 /* linkedin.json in Resources */,
E1FCA3112BACD8E200D5AE78 /* GoogleService-Info.plist in Resources */,
C29B9ADC2B1E859D00255A2C /* reddit.json in Resources */,
C23666811FB2644900989ACA /* Assets.xcassets in Resources */,
C24E3E662AB8F15A008A7158 /* universal.json in Resources */,
Expand Down Expand Up @@ -10593,7 +10593,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = ZY8UR5ADFW;
DEVELOPMENT_TEAM = ADDH38ZULC;
INFOPLIST_FILE = TwoFASWidget/Info.plist;
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2024 Two Factor Authentication Service, Inc. All rights reserved.";
IPHONEOS_DEPLOYMENT_TARGET = 16.4;
Expand Down Expand Up @@ -10629,7 +10629,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = ZY8UR5ADFW;
DEVELOPMENT_TEAM = ADDH38ZULC;
INFOPLIST_FILE = TwoFASWidget/Info.plist;
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2024 Two Factor Authentication Service, Inc. All rights reserved.";
IPHONEOS_DEPLOYMENT_TARGET = 16.4;
Expand Down Expand Up @@ -10662,7 +10662,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = ZY8UR5ADFW;
DEVELOPMENT_TEAM = ADDH38ZULC;
INFOPLIST_FILE = TwoFASServiceIntent/Info.plist;
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2024 Two Factor Authentication Service, Inc. All rights reserved.";
IPHONEOS_DEPLOYMENT_TARGET = 16.4;
Expand Down Expand Up @@ -10696,7 +10696,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = ZY8UR5ADFW;
DEVELOPMENT_TEAM = ADDH38ZULC;
INFOPLIST_FILE = TwoFASServiceIntent/Info.plist;
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2024 Two Factor Authentication Service, Inc. All rights reserved.";
IPHONEOS_DEPLOYMENT_TARGET = 16.4;
Expand Down Expand Up @@ -10789,7 +10789,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = ZY8UR5ADFW;
DEVELOPMENT_TEAM = ADDH38ZULC;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -10836,7 +10836,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = ZY8UR5ADFW;
DEVELOPMENT_TEAM = ADDH38ZULC;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -10881,7 +10881,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = ZY8UR5ADFW;
DEVELOPMENT_TEAM = ADDH38ZULC;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -10928,7 +10928,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = ZY8UR5ADFW;
DEVELOPMENT_TEAM = ADDH38ZULC;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down
2 changes: 1 addition & 1 deletion TwoFAS/Common/Sources/CoreData/CoreDataStack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public final class CoreDataStack {

private lazy var storeDescription: NSPersistentStoreDescription = {
guard let name else { fatalError("Trying to run persistentContainer without name!") }
let storeUrl = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "group.twofas.com")!
let storeUrl = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "group.at.anexia.authenticator")!
.appendingPathComponent("\(name).sqlite")

let description = NSPersistentStoreDescription()
Expand Down
38 changes: 15 additions & 23 deletions TwoFAS/TwoFAS/Other/GoogleService-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,33 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AD_UNIT_ID_FOR_BANNER_TEST</key>
<string>ca-app-pub-3940256099942544/2934735716</string>
<key>AD_UNIT_ID_FOR_INTERSTITIAL_TEST</key>
<string>ca-app-pub-3940256099942544/4411468910</string>
<key>CLIENT_ID</key>
<string>80066261136-rauqt46bb51hdu7k7vnp1mbsiesuqpt0.apps.googleusercontent.com</string>
<key>REVERSED_CLIENT_ID</key>
<string>com.googleusercontent.apps.80066261136-rauqt46bb51hdu7k7vnp1mbsiesuqpt0</string>
<key>ANDROID_CLIENT_ID</key>
<string>657102836550-o61kdidhndmkg6bq3g69hpt3eub75bjv.apps.googleusercontent.com</string>
<key>API_KEY</key>
<string>AIzaSyBosxgOaieshGpvsQ-hDMUzdXi66wmsCGI</string>
<string>AIzaSyDUwbRUG5mSJWzlPREftMHN4n653Lc0X1U</string>
<key>GCM_SENDER_ID</key>
<string>80066261136</string>
<string>657102836550</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>com.twofas.org</string>
<string>at.anexia.authenticator</string>
<key>PROJECT_ID</key>
<string>fas-d8cca</string>
<string>anexia-authenticator</string>
<key>STORAGE_BUCKET</key>
<string>fas-d8cca.appspot.com</string>
<string>anexia-authenticator.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<false/>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
<false/>
<false></false>
<key>IS_APPINVITE_ENABLED</key>
<false/>
<true></true>
<key>IS_GCM_ENABLED</key>
<true/>
<true></true>
<key>IS_SIGNIN_ENABLED</key>
<false/>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:80066261136:ios:9581da97887231e4</string>
<string>1:657102836550:ios:47b433033d5da53d288b47</string>
<key>DATABASE_URL</key>
<string>https://fas-d8cca.firebaseio.com</string>
<key>GOOGLE_ANALYTICS_REGISTRATION_WITH_AD_NETWORK_ENABLED</key>
<false/>
<string>https://anexia-authenticator.firebaseio.com</string>
</dict>
</plist>
</plist>
11 changes: 8 additions & 3 deletions TwoFAS/TwoFAS/Other/TwoFAS.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,26 @@
<string>development</string>
<key>com.apple.developer.icloud-container-identifiers</key>
<array>
<string>iCloud.com.twofas.org.Vault</string>
<string>iCloud.at.anexia.authenticator.Vault</string>
</array>
<key>com.apple.developer.icloud-services</key>
<array>
<string>CloudKit</string>
<string>CloudDocuments</string>
</array>
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
<string>iCloud.at.anexia.authenticator.Vault</string>
</array>
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
<string>$(TeamIdentifierPrefix)$(CFBundleIdentifier)</string>
<key>com.apple.security.application-groups</key>
<array>
<string>group.twofas.com</string>
<string>group.at.anexia.authenticator</string>
</array>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)com.twofas.org</string>
<string>$(AppIdentifierPrefix)at.anexia.authenticator</string>
</array>
</dict>
</plist>
2 changes: 1 addition & 1 deletion TwoFAS/TwoFAS/Other/TwoFASWidgetExtension.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<string>NSFileProtectionComplete</string>
<key>com.apple.security.application-groups</key>
<array>
<string>group.twofas.com</string>
<string>group.at.anexia.authenticator</string>
</array>
</dict>
</plist>
4 changes: 2 additions & 2 deletions TwoFAS/TwoFASAuth/TwoFASAuth.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<dict>
<key>com.apple.security.application-groups</key>
<array>
<string>group.twofas.com</string>
<string>group.at.anexia.authenticator</string>
</array>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)com.twofas.org</string>
<string>$(AppIdentifierPrefix)at.anexia.authenticator</string>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<string>NSFileProtectionComplete</string>
<key>com.apple.security.application-groups</key>
<array>
<string>group.twofas.com</string>
<string>group.at.anexia.authenticator</string>
</array>
</dict>
</plist>

0 comments on commit c1a911d

Please sign in to comment.