I am currently building a progressive web app to help people diagnosed with ADHD get along in their daily lifes. You can see the app in mindfuel.vercel.app and in github
我目前正在开发一个进步的网络应用程序,以帮助被诊断为ADHD的人在日常生活中相处融洽。你可以在MindFuel.vercel.app和GitHub中看到这款应用程序
I am using a version of t3 Stack, so im building with Next.JS, TypeScript, tRPC, Prisma and NextAuth.js
我使用的是T3Stack的一个版本,所以我使用Next.js、tyescript、tRPC、prisma和NextAuth.js进行构建
As part of the aplication i would like to send the user notifications when for example they forget to set a task as done after certain time has passed.
作为应用程序的一部分,我想向用户发送通知,例如,当他们忘记在一定时间后将任务设置为已完成时。
My questions are:
-which tools could i use for building a notifications system?
-where can i find tutorials or documentation for this tools?
我的问题是:-我可以使用哪些工具来构建通知系统?-在哪里可以找到该工具的教程或文档?
I have already tried using firebase, but when i tried initializing firebase i got "navigator is not defined"
and that the browser is not authorized to use the API. You can see more of this on this repo branch
我已经尝试使用Firebase,但是当我尝试初始化FireBase时,我得到“未定义导航器”,并且浏览器未被授权使用API。您可以在回购分支上看到更多此类内容
error unhandledRejection: Error [FirebaseError]: Messaging: This browser doesn't support the API's required to use the Firebase SDK. (messaging/unsupported-browser).
错误未处理拒绝:错误[Firebase错误]:消息:此浏览器不支持使用Firebase SDK所需的API。(消息/不支持的浏览器)。
Server Error. ReferenceError: navigator is not defined
服务器错误。ReferenceError:导航器未定义
更多回答
Please trim your code to make it easier to find your problem. Follow these guidelines to create a minimal reproducible example.
请修改您的代码,以便更容易地找到您的问题。遵循这些指导原则,创建一个最小的可重现示例。
我是一名优秀的程序员,十分优秀!