Skip to content
Open
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
4 changes: 4 additions & 0 deletions Android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ plugins {
alias(libs.plugins.kotlin.compose)
alias(libs.plugins.android.application)
id("skip-build-plugin")

// this plugin is needed in order to process the google-services.json file
id("com.google.gms.google-services") version "4.4.4" apply true
id("com.google.firebase.crashlytics") version "3.0.2" apply true
}

skip {
Expand Down
29 changes: 29 additions & 0 deletions Android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"project_info": {
"project_number": "25594159619",
"project_id": "app-fair-425519",
"storage_bucket": "app-fair-425519.firebasestorage.app"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:25594159619:android:965b6dc7c4ba7e6afc2436",
"android_client_info": {
"package_name": "org.appfair.app.ShowcaseLite"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyDICqY23CwGFFBM2hDf_-4oJPtUFRfK_1g"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
}
],
"configuration_version": "1"
}
1 change: 1 addition & 0 deletions Android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />

<application
android:label="${PRODUCT_NAME}"
Expand Down
7 changes: 6 additions & 1 deletion Darwin/Entitlements.plist
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?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/>
<dict>
<key>aps-environment</key>
<string>development</string>
<key>com.apple.developer.aps-environment</key>
<string>development</string>
</dict>
</plist>
78 changes: 0 additions & 78 deletions Darwin/Showcase.xcodeproj/xcshareddata/xcschemes/Showcase.xcscheme

This file was deleted.

2 changes: 2 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ let package = Package(
.package(url: "https://source.skip.tools/skip-motion.git", "0.0.0"..<"2.0.0"),
.package(url: "https://source.skip.tools/skip-keychain.git", "0.3.0"..<"2.0.0"),
.package(url: "https://source.skip.tools/skip-marketplace.git", "0.0.0"..<"2.0.0"),
.package(url: "https://source.skip.tools/skip-notify.git", "0.0.0"..<"2.0.0"),
],
targets: [
.target(name: "Showcase", dependencies: [
Expand All @@ -31,6 +32,7 @@ let package = Package(
.product(name: "SkipMotion", package: "skip-motion"),
.product(name: "SkipKeychain", package: "skip-keychain"),
.product(name: "SkipMarketplace", package: "skip-marketplace"),
.product(name: "SkipNotify", package: "skip-notify"),
], resources: [.process("Resources")], plugins: [.plugin(name: "skipstone", package: "skip")]),
]
)
9 changes: 9 additions & 0 deletions Sources/Showcase/NotificationPlayground.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright 2023–2025 Skip
import SwiftUI
import SkipNotify

struct NotificationPlayground: View {
var body: some View {
Text("NotificationPlayground")
}
}
5 changes: 5 additions & 0 deletions Sources/Showcase/PlaygroundListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ enum PlaygroundType: CaseIterable, View {
case menu
case modifier
case navigationStack
case notification
case observable
case offsetPosition
case onSubmit
Expand Down Expand Up @@ -163,6 +164,8 @@ enum PlaygroundType: CaseIterable, View {
return LocalizedStringResource("Modifiers")
case .navigationStack:
return LocalizedStringResource("NavigationStack")
case .notification:
return LocalizedStringResource("Notifications")
case .observable:
return LocalizedStringResource("Observable")
case .offsetPosition:
Expand Down Expand Up @@ -326,6 +329,8 @@ enum PlaygroundType: CaseIterable, View {
ModifierPlayground()
case .navigationStack:
NavigationStackPlayground()
case .notification:
NotificationPlayground()
case .observable:
ObservablePlayground()
case .offsetPosition:
Expand Down
24 changes: 24 additions & 0 deletions Sources/Showcase/Resources/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -1593,6 +1593,9 @@
},
"Item %lld" : {

},
"Item value: %lld" : {

},
"JavaScript" : {

Expand Down Expand Up @@ -1828,9 +1831,18 @@
},
"Navigate back" : {

},
"Navigate back (dismiss)" : {

},
"Navigate back (set nil)" : {

},
"Navigate forward" : {

},
"Navigate forward to %lld" : {

},
"NavigationLink" : {

Expand Down Expand Up @@ -1904,6 +1916,12 @@
},
"Note: tint should not affect Label appearance" : {

},
"NotificationPlayground" : {

},
"Notifications" : {

},
"Observable" : {

Expand Down Expand Up @@ -2134,6 +2152,9 @@
},
"Present with data" : {

},
"Present with item binding" : {

},
"Primary" : {

Expand Down Expand Up @@ -2374,6 +2395,9 @@
},
"Selection Set" : {

},
"Selection: %@" : {

},
"Selection: %lld" : {

Expand Down