This commit is contained in:
Aevann1 2022-01-15 12:28:14 +02:00
parent 5502f2c0db
commit fb29d7cb43
2 changed files with 5 additions and 4 deletions

View file

@ -2611,6 +2611,4 @@ beamsClient.start()
.then((beamsClient) => beamsClient.getDeviceId()) .then((beamsClient) => beamsClient.getDeviceId())
.then(() => beamsClient.addDeviceInterest(strid)) .then(() => beamsClient.addDeviceInterest(strid))
.then(() => beamsClient.getDeviceInterests()) .then(() => beamsClient.getDeviceInterests())
.catch(console.error); .catch(console.error);
Android.Subscribe(`${strid}`);

View file

@ -167,7 +167,10 @@
{% if v %} {% if v %}
<div class="d-none" id="strid">{{request.host}}{{v.id}}</div> <div class="d-none" id="strid">{{request.host}}{{v.id}}</div>
<div class="d-none" id="pusherid">{{PUSHER_ID}}</div> <div class="d-none" id="pusherid">{{PUSHER_ID}}</div>
<script src="/static/assets/js/pusher.js?a=157"></script> <script src="/static/assets/js/pusher.js?a=160"></script>
<script>
Android.Subscribe('{{request.host}}{{v.id}}');
</script>
{% endif %} {% endif %}
{% endblock %} {% endblock %}