We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f5c387 commit f196493Copy full SHA for f196493
apps/main/src/init.ts
@@ -149,11 +149,17 @@ const registerPushNotifications = async () => {
149
firebase: env.VITE_FIREBASE_CONFIG,
150
persistentIds: persistentIds || [],
151
credentials,
152
+ bundleId: "is.follow",
153
+ chromeId: "is.follow",
154
})
155
logger.info(
156
`PushReceiver initialized with token ${credentials?.fcm?.token} and firebase config ${env.VITE_FIREBASE_CONFIG}`,
157
)
158
159
+ instance.onReady(() => {
160
+ logger.info("PushReceiver ready")
161
+ })
162
+
163
instance.onCredentialsChanged(({ newCredentials }) => {
164
logger.info(`PushReceiver credentials changed to ${newCredentials?.fcm?.token}`)
165
updateNotificationsToken(newCredentials)
0 commit comments