Skip to content

Commit 7713aa9

Browse files
committed
Updates
1 parent c67bbe9 commit 7713aa9

13 files changed

Lines changed: 447 additions & 83 deletions

File tree

.github/workflows/build.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Build
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
logLevel:
7+
description: 'Log level'
8+
required: true
9+
default: 'warning'
10+
push:
11+
branches:
12+
- main
13+
- dev
14+
- preview
15+
- v*
16+
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.ref }}
19+
cancel-in-progress: true
20+
21+
jobs:
22+
build:
23+
24+
runs-on: macos-latest
25+
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
with:
30+
fetch-depth: 0
31+
32+
- name: Select Xcode
33+
run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
34+
35+
- name: Setup .NET
36+
uses: actions/setup-dotnet@v4
37+
with:
38+
dotnet-version: '10.0.x'
39+
40+
- name: Build
41+
run: dotnet build Firebase.slnx /restore -m -property:Configuration=Release -property:PublicRelease=true
42+
43+
- name: Post NuGet Artifacts
44+
uses: actions/upload-artifact@v4
45+
with:
46+
name: nuget-artifacts
47+
path: '**/*.nupkg'
48+
49+
- name: Publish Artifacts
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: nugets
53+
path: ${{ github.workspace }}/artifacts
54+
retention-days: 5
55+
56+
- name: Publish NuGets
57+
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/v') }}
58+
run: dotnet nuget push ./**/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGETAPIKEY }} --skip-duplicate

.github/workflows/sync-skills.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Sync Skills to Skills Repository
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'skills/**'
9+
workflow_dispatch:
10+
11+
jobs:
12+
sync-skills:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout source repository
17+
uses: actions/checkout@v4
18+
with:
19+
path: source
20+
21+
- name: Checkout skills repository
22+
uses: actions/checkout@v4
23+
with:
24+
repository: shinyorg/skills
25+
token: ${{ secrets.SKILLS_REPO_TOKEN }}
26+
path: skills-repo
27+
28+
- name: Configure Git
29+
run: |
30+
git config --global user.name "github-actions[bot]"
31+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
32+
33+
- name: Sync skills directory
34+
run: |
35+
if [ -d "source/skills/shiny-firebase" ]; then
36+
rm -rf skills-repo/skills/shiny-firebase
37+
mkdir -p skills-repo/skills
38+
cp -r source/skills/shiny-firebase skills-repo/skills/
39+
fi
40+
41+
- name: Create Pull Request
42+
uses: peter-evans/create-pull-request@v6
43+
with:
44+
token: ${{ secrets.SKILLS_REPO_TOKEN }}
45+
path: skills-repo
46+
commit-message: "Update shiny-firebase skill from Firebase repository"
47+
title: "Update shiny-firebase skill"
48+
body: |
49+
This PR updates the shiny-firebase skill from the [Firebase repository](https://github.com/shinyorg/firebase).
50+
51+
**Source commit:** ${{ github.sha }}
52+
**Triggered by:** @${{ github.actor }}
53+
---
54+
*This PR was automatically created by the [sync-skills workflow](https://github.com/shinyorg/firebase/actions/workflows/sync-skills.yml).*
55+
branch: update-shiny-firebase-skill
56+
delete-branch: true
57+
labels: |
58+
automated
59+
skills-update

Directory.build.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@
66
<Nullable>enable</Nullable>
77
<DisableExtraReferences>False</DisableExtraReferences>
88
<EnableDefaultCompileItems>true</EnableDefaultCompileItems>
9-
<Description>Shiny</Description>
9+
<Description>Shiny Push - Firebase Cloud Messaging</Description>
1010
<Product>$(AssemblyName) ($(TargetFramework))</Product>
1111
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1212
<PackageProjectUrl>https://shinylib.net</PackageProjectUrl>
1313
<PackageIcon>icon.png</PackageIcon>
1414
<PackageReadmeFile>readme.md</PackageReadmeFile>
1515
<PackageReleaseNotes>https://shinylib.net/release-notes/client/v40/</PackageReleaseNotes>
16-
<PackageTags>xamarin ios android ble bluetooth bluetoothle push notifications sensors geofences gps location background jobs settings speech sensors</PackageTags>
17-
<RepositoryUrl>https://github.com/shinyorg/shiny</RepositoryUrl>
16+
<PackageTags>firebase fcm push notifications ios android maui</PackageTags>
17+
<RepositoryUrl>https://github.com/shinyorg/firebase</RepositoryUrl>
1818
<RepositoryType>git</RepositoryType>
1919

2020
<CI Condition="'$(GITHUB_ACTIONS)' == 'true'">true</CI>
2121
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
2222
</PropertyGroup>
2323

2424
<PropertyGroup>
25-
<IosTargetFrameworks>net9.0-ios18.0</IosTargetFrameworks>
26-
<AndroidTargetFrameworks>net9.0-android35.0</AndroidTargetFrameworks>
25+
<IosTargetFrameworks>net10.0-ios</IosTargetFrameworks>
26+
<AndroidTargetFrameworks>net10.0-android</AndroidTargetFrameworks>
2727
</PropertyGroup>
2828

2929
<PropertyGroup Condition="'$(Configuration)' == 'Release'">

Directory.build.targets

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
<Project>
22
<ItemGroup>
3-
<PackageReference Include="Nerdbank.GitVersioning" Version="3.7.112" PrivateAssets="All" />
3+
<PackageReference Include="Nerdbank.GitVersioning" Version="3.9.50" PrivateAssets="All"/>
44
</ItemGroup>
55

66
<ItemGroup>
7-
<None Include="Platforms\**\*.cs" />
8-
<Compile Remove="Platforms\**\*.cs" />
7+
<None Include="Platforms\**\*.cs"/>
8+
<Compile Remove="Platforms\**\*.cs"/>
99

10-
<None Include="$(MSBuildThisFileDirectory)nuget.png" Pack="true" PackagePath="icon.png" />
11-
<None Include="$(MSBuildThisFileDirectory)nuget.txt" Pack="true" PackagePath="readme.txt" />
12-
<None Include="$(MSBuildThisFileDirectory)readme.md" Pack="true" PackagePath="\" />
10+
<None Include="$(MSBuildThisFileDirectory)nuget.png" Pack="true" PackagePath="icon.png"/>
11+
<None Include="$(MSBuildThisFileDirectory)nuget.txt" Pack="true" PackagePath="readme.txt"/>
12+
<None Include="$(MSBuildThisFileDirectory)readme.md" Pack="true" PackagePath="\"/>
1313
</ItemGroup>
1414

1515
<ItemGroup Condition="$(TargetFramework.Contains('-android'))">
16-
<Compile Include="Platforms\Android\**\*.cs" />
17-
<Compile Include="Platforms\Shared\**\*.cs" />
16+
<Compile Include="Platforms\Android\**\*.cs"/>
17+
<Compile Include="Platforms\Shared\**\*.cs"/>
1818
</ItemGroup>
1919

2020
<ItemGroup Condition="$(TargetFramework.Contains('-ios'))">
21-
<Compile Include="Platforms\Apple\**\*.cs" />
22-
<Compile Include="Platforms\Shared\**\*.cs" />
23-
<Compile Include="Platforms\iOS\**\*.cs" />
21+
<Compile Include="Platforms\Apple\**\*.cs"/>
22+
<Compile Include="Platforms\Shared\**\*.cs"/>
23+
<Compile Include="Platforms\iOS\**\*.cs"/>
2424
</ItemGroup>
2525
</Project>

Firebase.slnx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
<Solution>
22
<Folder Name="/Solution/">
3+
<File Path=".github\workflows\build.yml" />
4+
<File Path=".github\workflows\sync-skills.yml" />
35
<File Path="Directory.build.props" />
46
<File Path="Directory.build.targets" />
57
<File Path="LICENSE.md" />
68
<File Path="nuget.png" />
79
<File Path="nuget.txt" />
10+
<File Path="skills\shiny-firebase\SKILL.md" />
811
<File Path="version.json" />
912
<File Path="firebase_ios\Firebase-ios.targets" />
1013
<File Path="readme.md" />
11-
<File Path=".github\workflows\build.yml" />
1214
</Folder>
13-
<Project Path="Shiny.Firebase.Analytics.iOS.Binding\Shiny.Firebase.Analytics.iOS.Binding.csproj" Type="Classic C#" />
14-
<Project Path="Shiny.Firebase.Messaging.iOS.Binding\Shiny.Firebase.Messaging.iOS.Binding.csproj" Type="Classic C#" />
15-
<Project Path="Shiny.Push.FirebaseMessaging\Shiny.Push.FirebaseMessaging.csproj" Type="Classic C#" />
15+
<Project Path="Shiny.Firebase.Analytics.iOS.Binding\Shiny.Firebase.Analytics.iOS.Binding.csproj" />
16+
<Project Path="Shiny.Firebase.Messaging.iOS.Binding\Shiny.Firebase.Messaging.iOS.Binding.csproj" />
17+
<Project Path="Shiny.Push.FirebaseMessaging\Shiny.Push.FirebaseMessaging.csproj" />
1618
</Solution>

Shiny.Push.FirebaseMessaging/Shiny.Push.FirebaseMessaging.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
</ItemGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Shiny.Push" Version="4.0.0-beta-0091"/>
13+
<PackageReference Include="Shiny.Push" Version="4.0.1"/>
1414
</ItemGroup>
1515
</Project>

firebase_ios/native/analytics/ShinyFirebaseAnalytics.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@
427427
repositoryURL = "https://github.com/firebase/firebase-ios-sdk.git";
428428
requirement = {
429429
kind = upToNextMajorVersion;
430-
minimumVersion = 10.22.1;
430+
minimumVersion = 12.0.0;
431431
};
432432
};
433433
/* End XCRemoteSwiftPackageReference section */

firebase_ios/native/analytics/ShinyFirebaseAnalytics.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 29 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

firebase_ios/native/messaging/ShinyFirebaseMessaging.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
GENERATE_INFOPLIST_FILE = YES;
291291
INFOPLIST_KEY_NSHumanReadableCopyright = "";
292292
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
293-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
293+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
294294
LD_RUNPATH_SEARCH_PATHS = (
295295
"@executable_path/Frameworks",
296296
"@loader_path/Frameworks",
@@ -330,7 +330,7 @@
330330
GENERATE_INFOPLIST_FILE = YES;
331331
INFOPLIST_KEY_NSHumanReadableCopyright = "";
332332
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
333-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
333+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
334334
LD_RUNPATH_SEARCH_PATHS = (
335335
"@executable_path/Frameworks",
336336
"@loader_path/Frameworks",
@@ -384,7 +384,7 @@
384384
repositoryURL = "https://github.com/firebase/firebase-ios-sdk.git";
385385
requirement = {
386386
kind = upToNextMajorVersion;
387-
minimumVersion = 10.22.1;
387+
minimumVersion = 12.0.0;
388388
};
389389
};
390390
/* End XCRemoteSwiftPackageReference section */

0 commit comments

Comments
 (0)