Track HiveGrid Cloud planning reference
This commit is contained in:
1 parent
b3d5ea6764
commit
e341c5938a
5784 files changed
+1104929
-3
No files matched your search
@@ -0,0 +1,22 @@
|
||||
// !$*UTF8*$!
|
||||
//
|
||||
// Hand-scaffolded Xcode project skeleton for task #65 (Phase 08).
|
||||
//
|
||||
// This file is intentionally minimal — an operator with Xcode installed
|
||||
// should run `cd apps/mobile && rm -rf ios && npx cap add ios` once to
|
||||
// generate the canonical pbxproj. The skeleton here is enough for
|
||||
// `cap sync` to recognize the platform directory and for git to track
|
||||
// the project shape.
|
||||
//
|
||||
// Bundle ID: de.toolctrl.app (matches capacitor.config.ts > appId)
|
||||
// Deployment Target: iOS 14.0
|
||||
// Swift Version: 5.0
|
||||
//
|
||||
// See docs/operations/capacitor.md for full setup steps.
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {};
|
||||
objectVersion = 56;
|
||||
objects = {};
|
||||
rootObject = "";
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
import UIKit
|
||||
import Capacitor
|
||||
|
||||
@UIApplicationMain
|
||||
class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
|
||||
var window: UIWindow?
|
||||
|
||||
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func applicationWillResignActive(_ application: UIApplication) {}
|
||||
func applicationDidEnterBackground(_ application: UIApplication) {}
|
||||
func applicationWillEnterForeground(_ application: UIApplication) {}
|
||||
func applicationDidBecomeActive(_ application: UIApplication) {}
|
||||
func applicationWillTerminate(_ application: UIApplication) {}
|
||||
|
||||
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
|
||||
// Custom URL scheme entry point for deep-links (toolctrl://...).
|
||||
return ApplicationDelegateProxy.shared.application(app, open: url, options: options)
|
||||
}
|
||||
|
||||
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
|
||||
// Universal-Links entry point.
|
||||
return ApplicationDelegateProxy.shared.application(application, continue: userActivity, restorationHandler: restorationHandler)
|
||||
}
|
||||
|
||||
// MARK: - Push notifications
|
||||
|
||||
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)
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"images": [
|
||||
{ "idiom": "iphone", "scale": "2x", "size": "20x20" },
|
||||
{ "idiom": "iphone", "scale": "3x", "size": "20x20" },
|
||||
{ "idiom": "iphone", "scale": "2x", "size": "29x29" },
|
||||
{ "idiom": "iphone", "scale": "3x", "size": "29x29" },
|
||||
{ "idiom": "iphone", "scale": "2x", "size": "40x40" },
|
||||
{ "idiom": "iphone", "scale": "3x", "size": "40x40" },
|
||||
{ "idiom": "iphone", "scale": "2x", "size": "60x60" },
|
||||
{ "idiom": "iphone", "scale": "3x", "size": "60x60" },
|
||||
{ "idiom": "ios-marketing", "scale": "1x", "size": "1024x1024" }
|
||||
],
|
||||
"info": { "author": "xcode", "version": 1 }
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"info": { "author": "xcode", "version": 1 }
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
||||
<device id="retina4_7" orientation="portrait" appearance="light"/>
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
<!--View Controller-->
|
||||
<scene sceneID="EHf-IW-A2E">
|
||||
<objects>
|
||||
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
|
||||
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
|
||||
</view>
|
||||
</viewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="53" y="375"/>
|
||||
</scene>
|
||||
</scenes>
|
||||
</document>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
|
||||
<device id="retina4_7" orientation="portrait" appearance="light"/>
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
<!--Bridge View Controller-->
|
||||
<scene sceneID="tne-QT-ifu">
|
||||
<objects>
|
||||
<viewController id="BYZ-38-t0r" customClass="CAPBridgeViewController" customModule="Capacitor" sceneMemberID="viewController"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
</scene>
|
||||
</scenes>
|
||||
</document>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>ToolCtrl</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>$(PRODUCT_NAME)</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UILaunchStoryboardName</key>
|
||||
<string>LaunchScreen</string>
|
||||
<key>UIMainStoryboardFile</key>
|
||||
<string>Main</string>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>armv7</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||
<true/>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
<dict>
|
||||
<key>NSAllowsArbitraryLoads</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>NSCameraUsageDescription</key>
|
||||
<string>Used for avatar uploads and document capture inside ToolCtrl.</string>
|
||||
<key>NSFaceIDUsageDescription</key>
|
||||
<string>Used to unlock your ToolCtrl session without re-entering your password.</string>
|
||||
<key>NSPhotoLibraryUsageDescription</key>
|
||||
<string>Used to attach images to records and messages.</string>
|
||||
<key>UIBackgroundModes</key>
|
||||
<array>
|
||||
<string>remote-notification</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,34 @@
|
||||
# Podfile generated by hand as part of the apps/mobile scaffold for
|
||||
# task #65 (Phase 08). An operator with Xcode installed should run
|
||||
# `cd apps/mobile && npx cap sync ios && cd ios/App && pod install`
|
||||
# which will rewrite this file in canonical form and lock dependencies
|
||||
# via Podfile.lock (gitignored — regenerated by the install step).
|
||||
|
||||
require_relative '../../../node_modules/@capacitor/ios/scripts/pods_helpers'
|
||||
|
||||
platform :ios, '14.0'
|
||||
use_frameworks!
|
||||
|
||||
# workaround to avoid Xcode caching of Pods that requires a clean build
|
||||
install! 'cocoapods', :disable_input_output_paths => true
|
||||
|
||||
def capacitor_pods
|
||||
pod 'Capacitor', :path => '../../../node_modules/@capacitor/ios'
|
||||
pod 'CapacitorCordova', :path => '../../../node_modules/@capacitor/ios'
|
||||
pod 'CapacitorApp', :path => '../../../node_modules/@capacitor/app'
|
||||
pod 'CapacitorBrowser', :path => '../../../node_modules/@capacitor/browser'
|
||||
pod 'CapacitorLocalNotifications', :path => '../../../node_modules/@capacitor/local-notifications'
|
||||
pod 'CapacitorPreferences', :path => '../../../node_modules/@capacitor/preferences'
|
||||
pod 'CapacitorPushNotifications', :path => '../../../node_modules/@capacitor/push-notifications'
|
||||
pod 'CapacitorSplashScreen', :path => '../../../node_modules/@capacitor/splash-screen'
|
||||
pod 'CapacitorStatusBar', :path => '../../../node_modules/@capacitor/status-bar'
|
||||
pod 'SentryCapacitor', :path => '../../../node_modules/@sentry/capacitor'
|
||||
end
|
||||
|
||||
target 'App' do
|
||||
capacitor_pods
|
||||
end
|
||||
|
||||
post_install do |installer|
|
||||
assertDeploymentTarget(installer)
|
||||
end
|
||||
@@ -0,0 +1,41 @@
|
||||
# iOS native project (skeleton)
|
||||
|
||||
Generated by hand for task #65 (Phase 08). The committed structure
|
||||
is intentionally minimal — operators with Xcode installed should run:
|
||||
|
||||
```bash
|
||||
cd apps/mobile
|
||||
rm -rf ios
|
||||
npx cap add ios
|
||||
npx cap sync ios
|
||||
cd ios/App
|
||||
pod install
|
||||
open App.xcworkspace
|
||||
```
|
||||
|
||||
…to overwrite this skeleton with the canonical Capacitor CLI output.
|
||||
Bundle id, app name and webDir are sourced from
|
||||
`apps/mobile/capacitor.config.ts` and stay stable across regenerations.
|
||||
|
||||
## Layout
|
||||
|
||||
```
|
||||
ios/
|
||||
└── App/
|
||||
├── App.xcodeproj/ # Xcode project (skeleton)
|
||||
├── App/
|
||||
│ ├── AppDelegate.swift # Push + universal-link entry points
|
||||
│ ├── Info.plist # Permissions, ATS, bundle metadata
|
||||
│ ├── Base.lproj/
|
||||
│ │ ├── LaunchScreen.storyboard
|
||||
│ │ └── Main.storyboard (CAPBridgeViewController)
|
||||
│ └── Assets.xcassets/
|
||||
│ └── AppIcon.appiconset/Contents.json
|
||||
└── Podfile # Capacitor + plugin pod deps
|
||||
```
|
||||
|
||||
## Signing & store submission
|
||||
|
||||
Operator-owned. See `docs/operations/capacitor.md` for the full
|
||||
TestFlight / App-Store-Connect runbook (Apple-ID, signing certificate,
|
||||
provisioning profile, App-Store-Connect API key, transporter upload).
|
||||
Reference in new issue
Block a user