Skip to content

Commit

Permalink
Initialize push notification token as blank (disabled)
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale committed Sep 7, 2023
1 parent f636356 commit 9c6d4a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/helpers/PushNotificationsHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ const setDeviceInfo = async (agent: Agent<any>, blankDeviceToken = false): Promi
* @returns {Promise<void>}
*/
const setup = async (agent: Agent<any>): Promise<void> => {
setDeviceInfo(agent)
// FIXME: Currently set the token to blank (disabled) on initialization.
setDeviceInfo(agent, true)
_backgroundHandler()
_foregroundHandler()
_requestPermission(agent)
Expand Down

0 comments on commit 9c6d4a5

Please sign in to comment.