mirror of
https://github.com/fergalmoran/chrometophone.git
synced 2025-12-22 09:41:51 +00:00
Reenable phone-to-chrome
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "__MSG_app_name__",
|
||||
"description": "__MSG_app_desc__",
|
||||
"version": "2.1.0",
|
||||
"version": "2.2.0",
|
||||
"default_locale": "en",
|
||||
"icons": {
|
||||
"16": "icon_16.png",
|
||||
|
||||
@@ -57,14 +57,12 @@ function sendToPhone(title, url, msgType, selection, listener) {
|
||||
};
|
||||
|
||||
var data = 'title=' + encodeURIComponent(title) + '&url=' + encodeURIComponent(url) +
|
||||
'&sel=' + encodeURIComponent(selection) + '&type=' + encodeURIComponent(msgType);
|
||||
'&sel=' + encodeURIComponent(selection) + '&type=' + encodeURIComponent(msgType) +
|
||||
'&deviceType=ac2dm';
|
||||
req.send(data);
|
||||
}
|
||||
|
||||
function initializeBrowserChannel() {
|
||||
// TODO: Enable for v2.2
|
||||
return;
|
||||
|
||||
console.log('Initializing browser channel');
|
||||
|
||||
var deviceRegistrationId = localStorage['deviceRegistrationId'];
|
||||
|
||||
Reference in New Issue
Block a user