Firebase Cloud Messaging 1. Versuch
This commit is contained in:
1 parent
f1fb926c2f
commit
4c8b11c4d5
25 files changed
+2111
-31
No files matched your search
@@ -134,6 +134,10 @@
|
||||
<span>Benachrichtigungen</span>
|
||||
<button type="button" id="mobileNotifyBtn" class="secondary mobile-settings-button">Aktivieren</button>
|
||||
</div>
|
||||
<p class="mobile-dialog-hint">
|
||||
Hintergrund-Signale benötigen eine installierte PWA und die
|
||||
Erlaubnis für Benachrichtigungen.
|
||||
</p>
|
||||
</div>
|
||||
<footer>
|
||||
<button type="button" onclick="closeMobileSettings()">Schließen</button>
|
||||
@@ -155,6 +159,8 @@
|
||||
window.CMBNET_MANIFEST_URL = {{ url_for('views.manifest', tenant=session.tenant_code)|tojson }};
|
||||
window.CMBNET_ICON_URL = {{ url_for('static', filename='img/icon-192.png')|tojson }};
|
||||
window.CMBNET_VIEW_MODE = 'mobile_group';
|
||||
window.CMBNET_CLIENT_TYPE = 'group_view';
|
||||
window.CMBNET_FCM_CONFIG = {{ fcm_public_config()|tojson }};
|
||||
</script>
|
||||
<script src="{{ url_for('static', filename='js/leaflet.js') }}"></script>
|
||||
<script src="{{ url_for('static', filename=str2pl_asset()) }}?v={{ str2pl_asset_version() }}"></script>
|
||||
|
||||
Reference in new issue
Block a user