You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠️ There are issues with expiring JWT token that I'm dealing with starting from v4.0.0.
4
-
5
3
# .NET Core Push Notifications for Web, Android and iOS
6
4
Send notifications to:
7
5
- ✅ **iOS** - Apple Push Notifications (APN)
@@ -14,7 +12,7 @@ CorePush is a simple lightweight library with minimal overhead. Send notificatio
14
12
15
13
## NuGet Package
16
14
17
-
Version 4.0.0+ requires .NET7.0. For earler versions please use v3.1.1 of the library as it's targeting netstandard2.0.
15
+
Version 4.0.0+ requires .NET7.0. For earlier versions please use v3.1.1 of the library as it's targeting netstandard2.0, though please note, it uses legacy FCM send API.
18
16
The easiest way to get started with CorePush is to use [nuget](https://www.nuget.org/packages/CorePush) package.
19
17
20
18
dotnet cli:
@@ -33,13 +31,13 @@ To start sending Firebase messages you need to have Google Project ID and JWT Be
33
31
1. Enable HTTP v1 API if you haven't done it yet. Go here for instructions: https://console.firebase.google.com/project/[YOUR_GOOGLE_PROJECT_ID e.g. my-project-123456]/settings/cloudmessaging/
34
32
2. From that page you can also go to "Manage Service Accounts". Here is the link: https://console.cloud.google.com/iam-admin/serviceaccounts and select your project.
35
33
3. Create Service Account with "Firebase Service Management Service Agent" role.
36
-
4. Download Service Account JSON file.
37
-
5. Use Utils from the tester project to generate JWT bearer token.
34
+
4. Download Service Account JSON file and use it to configure FirebaseSender.
38
35
39
36
Sending messages is very simple so long as you know the format:
0 commit comments