9 lines
No EOL
400 B
JavaScript
9 lines
No EOL
400 B
JavaScript
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()
|
|
} |