notifly-sdk 2.3.5 → 2.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -0
- package/package.json +1 -1
- package/src/constant.js +1 -1
package/index.js
CHANGED
|
@@ -127,6 +127,7 @@ exports.initialize = async function (prjId, userName, password, useCustomClickHa
|
|
|
127
127
|
|
|
128
128
|
// custom push click handler
|
|
129
129
|
if (!useCustomClickHandler) {
|
|
130
|
+
await new Promise((resolve) => setTimeout(resolve, 500));
|
|
130
131
|
const initialNotification = await messaging().getInitialNotification();
|
|
131
132
|
if (initialNotification) {
|
|
132
133
|
await clickHandler(initialNotification);
|
package/package.json
CHANGED
package/src/constant.js
CHANGED