Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ kotzilla.json
androidApp/keystore/

# Code-review reports — throwaway artifacts written by the code-review skill
.claude/reviews/
.claude/reviews/

# Local SwiftPM working area (multi-GB) of the Kotlin/Native SPM integration. That integration is
# off via kotlin.disableSwiftPMImport, so this only guards against it reappearing.
.swiftpm-locks/
8 changes: 8 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,11 @@ mainClass=de.tabmates.composeapp.MainKt
# client-version gate rejects a version that does not exist in the tag stream, and a value
# ahead of it also makes the in-app update check believe the build is permanently current.
APP_VERSION=1.0.0

# The Kotlin/Native SwiftPM import would resolve the iOS dependencies our Kotlin libraries declare
# (currently FirebaseMessaging, via kmpnotifier-push-firebase) by generating a local Swift package
# under iosApp/ and wiring it into the Xcode project. That package is generated from the dependency
# graph but has to exist before Xcode resolves packages, which no Gradle sync does — so it would
# have to be committed and would go stale on every dependency bump. Instead we add those SDKs to
# iosApp.xcodeproj as ordinary remote Swift packages, as KMPNotifier's own iOS setup documents.
kotlin.disableSwiftPMImport=true
28 changes: 28 additions & 0 deletions iosApp/iosApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
objectVersion = 77;
objects = {

/* Begin PBXBuildFile section */
F1B0A2C4D5E6F70819A2B3C4 /* FirebaseMessaging in Frameworks */ = {isa = PBXBuildFile; productRef = F2C1B3D5E6F7081A2B3C4D5E /* FirebaseMessaging */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
D643D6045C11FE74F5CE1290 /* TabMatesApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TabMatesApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
Expand Down Expand Up @@ -41,6 +45,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
F1B0A2C4D5E6F70819A2B3C4 /* FirebaseMessaging in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -85,6 +90,7 @@
);
name = iosApp;
packageProductDependencies = (
F2C1B3D5E6F7081A2B3C4D5E /* FirebaseMessaging */,
);
productName = iosApp;
productReference = D643D6045C11FE74F5CE1290 /* TabMatesApp.app */;
Expand Down Expand Up @@ -114,6 +120,9 @@
);
mainGroup = 30782983EBF3997AB1AC52A7;
minimizedProjectReferenceProxies = 1;
packageReferences = (
F3D2C4E6F708192A3B4C5D6E /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */,
);
preferredProjectObjectVersion = 77;
productRefGroup = A812E87C7ABF334E17AF133A /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -370,6 +379,25 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
F3D2C4E6F708192A3B4C5D6E /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/firebase/firebase-ios-sdk.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 12.14.0;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
F2C1B3D5E6F7081A2B3C4D5E /* FirebaseMessaging */ = {
isa = XCSwiftPackageProductDependency;
package = F3D2C4E6F708192A3B4C5D6E /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */;
productName = FirebaseMessaging;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 806E4ABFAD122295F42EBAF6 /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

70 changes: 70 additions & 0 deletions iosApp/iosApp.xcodeproj/xcshareddata/xcschemes/iosApp.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "59E03DE79306B66118C3C3EE"
BuildableName = "TabMatesApp.app"
BlueprintName = "iosApp"
ReferencedContainer = "container:iosApp.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "59E03DE79306B66118C3C3EE"
BuildableName = "TabMatesApp.app"
BlueprintName = "iosApp"
ReferencedContainer = "container:iosApp.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<LocationScenarioReference
identifier = "com.apple.dt.IDEFoundation.CurrentLocationScenarioIdentifier"
referenceType = "1">
</LocationScenarioReference>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
</ProfileAction>
Comment thread
diasDominik marked this conversation as resolved.
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
36 changes: 36 additions & 0 deletions iosApp/iosApp/GoogleService-Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?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>
<!-- DUMMY config so the app launches out of the box. NOT a real Firebase project —
push notifications will not work until this is replaced with the real
GoogleService-Info.plist from Firebase Console (Project settings -> Your apps ->
iOS, bundle de.tabmates.app.TabMatesApp). This file is not a secret; the FCM
server key / service account stays on the backend. Mirrors the dummy
androidApp/google-services.json. -->
<key>API_KEY</key>
<string>AIzaSyDUMMYDUMMYDUMMYDUMMYDUMMYDUMMY000</string>
Comment thread
diasDominik marked this conversation as resolved.
<key>GCM_SENDER_ID</key>
<string>000000000000</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>de.tabmates.app.TabMatesApp</string>
<key>PROJECT_ID</key>
<string>tabmates-dummy</string>
<key>STORAGE_BUCKET</key>
<string>tabmates-dummy.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<false/>
<key>IS_ANALYTICS_ENABLED</key>
<false/>
<key>IS_APPINVITE_ENABLED</key>
<false/>
<key>IS_GCM_ENABLED</key>
<true/>
<key>IS_SIGNIN_ENABLED</key>
<false/>
<key>GOOGLE_APP_ID</key>
<string>1:000000000000:ios:0000000000000000000000</string>
</dict>
</plist>