@quintype/framework 7.33.6-fcm-fix-2.8 → 7.33.6-fcm-fix-2.9
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/client/start.js +10 -10
- package/package.json +1 -1
package/client/start.js
CHANGED
|
@@ -301,16 +301,16 @@ export function startApp(renderApplication, reducers, opts) {
|
|
|
301
301
|
|
|
302
302
|
store.dispatch({ type: NAVIGATE_TO_PAGE, page, currentPath: path });
|
|
303
303
|
|
|
304
|
-
if (opts.firebaseConfig) {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
}
|
|
304
|
+
// if (opts.firebaseConfig) {
|
|
305
|
+
// const fcm = typeof opts.firebaseConfig === "function" ? opts.firebaseConfig(page) : opts.firebaseConfig;
|
|
306
|
+
// if (fcm) {
|
|
307
|
+
// const mssgSenderId = fcm.messagingSenderId;
|
|
308
|
+
// const projectId = fcm.projectId;
|
|
309
|
+
// const apiKey = fcm.apiKey;
|
|
310
|
+
// console.log("fcm start app")
|
|
311
|
+
// if (mssgSenderId && projectId && apiKey) initializeFCM(fcm);
|
|
312
|
+
// }
|
|
313
|
+
// }
|
|
314
314
|
|
|
315
315
|
const { config: { "theme-attributes": pageThemeAttributes = {} } = {} } = page;
|
|
316
316
|
const version = pageThemeAttributes["cache-burst"] || app.getAppVersion();
|