diff --git a/App/Support/Info.plist b/App/Support/Info.plist index 1a26dad..96bf03f 100644 --- a/App/Support/Info.plist +++ b/App/Support/Info.plist @@ -22,7 +22,7 @@ CFBundleURLName - com.substratal.hub + com.substratalapps.hub CFBundleURLSchemes substratal diff --git a/Makefile b/Makefile index 46febc2..c068853 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ screens: ## Regenerate ScreenID.swift from the specs (sibling checkout scripts/generate-screen-ids.py $(SPECS) run-demo: ## Launch in the booted simulator with demo data, signed in - xcrun simctl launch booted com.substratal.hub -demo YES -autoSignIn YES + xcrun simctl launch booted com.substratalapps.hub -demo YES -autoSignIn YES check: ## Fail if the project, contract or screen registry is out of date xcodegen generate --quiet && git diff --exit-code -- SubstratalHub.xcodeproj diff --git a/Packages/SubstratalKit/Sources/SubstratalCore/Session/KeychainStore.swift b/Packages/SubstratalKit/Sources/SubstratalCore/Session/KeychainStore.swift index 3c95695..2e2407b 100644 --- a/Packages/SubstratalKit/Sources/SubstratalCore/Session/KeychainStore.swift +++ b/Packages/SubstratalKit/Sources/SubstratalCore/Session/KeychainStore.swift @@ -6,7 +6,7 @@ import Security public struct KeychainStore: Sendable { let service: String - public init(service: String = "com.substratal.hub.session") { self.service = service } + public init(service: String = "com.substratalapps.hub.session") { self.service = service } public func read(_ account: String) -> String? { var query = baseQuery(account) diff --git a/README.md b/README.md index cddd60f..5ad89ff 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ The app talks to production (`https://api.substratalapps.com`) by default. To ex ```bash make build -xcrun simctl launch booted com.substratal.hub -demo YES -autoSignIn YES -route /admin/users +xcrun simctl launch booted com.substratalapps.hub -demo YES -autoSignIn YES -route /admin/users ``` `-autoSignIn YES` skips sign-in, and `-route ` opens any Hub route as if it were a deep link. Both work in demo diff --git a/SubstratalHub.xcodeproj/project.pbxproj b/SubstratalHub.xcodeproj/project.pbxproj index 21c2a27..101c083 100644 --- a/SubstratalHub.xcodeproj/project.pbxproj +++ b/SubstratalHub.xcodeproj/project.pbxproj @@ -396,7 +396,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.substratal.hub.uitests; + PRODUCT_BUNDLE_IDENTIFIER = com.substratalapps.hub.uitests; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = SubstratalHub; @@ -415,7 +415,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.substratal.hub; + PRODUCT_BUNDLE_IDENTIFIER = com.substratalapps.hub; SDKROOT = iphoneos; SUPPORTS_MACCATALYST = NO; TARGETED_DEVICE_FAMILY = "1,2"; @@ -504,7 +504,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.substratal.hub; + PRODUCT_BUNDLE_IDENTIFIER = com.substratalapps.hub; SDKROOT = iphoneos; SUPPORTS_MACCATALYST = NO; TARGETED_DEVICE_FAMILY = "1,2"; @@ -521,7 +521,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.substratal.hub.uitests; + PRODUCT_BUNDLE_IDENTIFIER = com.substratalapps.hub.uitests; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = SubstratalHub; diff --git a/project.yml b/project.yml index dbb7e7a..af49a01 100644 --- a/project.yml +++ b/project.yml @@ -45,7 +45,7 @@ targets: UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight] UISupportedInterfaceOrientations~ipad: [UIInterfaceOrientationPortrait, UIInterfaceOrientationPortraitUpsideDown, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight] CFBundleURLTypes: - - CFBundleURLName: com.substratal.hub + - CFBundleURLName: com.substratalapps.hub CFBundleURLSchemes: [substratal] NSFaceIDUsageDescription: Substratal uses Face ID to unlock administration and to confirm sensitive changes. ITSAppUsesNonExemptEncryption: false @@ -58,7 +58,7 @@ targets: aps-environment: development settings: base: - PRODUCT_BUNDLE_IDENTIFIER: com.substratal.hub + PRODUCT_BUNDLE_IDENTIFIER: com.substratalapps.hub TARGETED_DEVICE_FAMILY: "1,2" ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor @@ -72,7 +72,7 @@ targets: - target: SubstratalHub settings: base: - PRODUCT_BUNDLE_IDENTIFIER: com.substratal.hub.uitests + PRODUCT_BUNDLE_IDENTIFIER: com.substratalapps.hub.uitests GENERATE_INFOPLIST_FILE: YES schemes: SubstratalHub: