chrome.experimental.app.onLaunched.addListener(function (launchData) {
  var options = {
    frame: 'none',
    minWidth: 400,
    minHeight: 400,
    width: 700,
    height: 750,
    left: 0,
    top: 0
  };

  chrome.app.window.create('index.html', options, function (win) {
    win.launchData = launchData;
    console.log(launchData);
//    win.onload = function () {};
  });
});


//chrome.runtime.onInstalled.addListener(function() {
//  console.log('INSTALLED');
//});


//chrome.experimental.identity.getAuthToken(function(token) {
//  console.log('token', token);
//
//});

chrome.app.runtime.onLaunched.addListener(function (launchData) {
  var options = {
    frame: 'none',
    minWidth: 400,
    minHeight: 400,
    width: 700,
    height: 750,
    left: 0,
    top: 0
  };

  chrome.app.window.create('index.html', options, function (win) {
    win.launchData = launchData;
    console.log(launchData);
//    win.onload = function () {};
  });
});


//chrome.runtime.onInstalled.addListener(function() {
//  console.log('INSTALLED');
//});


//chrome.experimental.identity.getAuthToken(function(token) {
//  console.log('token', token);
//
//});

Use chrome.app.runtime instead of experimental
Use chrome.app.runtime instead of experimental
