Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您如何使用 javascript 获取用户推送令牌?我正在使用 Pushwoosh,我可以在调用 registerDevice 后立即从状态变量中获取它,但是是否可以在该函数之外获取它?
谢谢
我们将令牌写入文件并使用 phonegp 读取它。
目前,您只能使用此功能执行此操作。将来会有另一种方式实现。