bbb
This commit is contained in:
parent
5502f2c0db
commit
fb29d7cb43
2 changed files with 5 additions and 4 deletions
|
@ -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}`);
|
|
|
@ -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 %}
|
Loading…
Add table
Add a link
Reference in a new issue