init
This commit is contained in:
commit
a4c68ca9e2
76 changed files with 2737 additions and 0 deletions
9
server/application/backend/static/android.js
Normal file
9
server/application/backend/static/android.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
const deviceNameInput = document.getElementById("add_device_name");
|
||||
const deviceTokenInput = document.getElementById("add_device_token");
|
||||
const encryptionKeyInput = document.getElementById("add_encryption_key");
|
||||
|
||||
if (typeof Android !== 'undefined') {
|
||||
encryptionKeyInput.value = Android.publicKey()
|
||||
deviceTokenInput.value = Android.messagingToken()
|
||||
deviceNameInput.value = Android.deviceName()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue