Próbuję włączyć inline installs, ale nadal pojawia się następujący błądJak określić zweryfikowaną witrynę do aplikacji Chrome?
Inline installs can only be initiated for Chrome Web Store items that have one or more verified sites
I zweryfikowaniu własności mojej strony testowej poprzez zarówno plakietki i .html pliku. Czy to jest problem, że ta strona testowa jest również własnością mojego innego e-maila (do analityki)? To wszystko jest testowane na Wyspach Kanaryjskich, gdzie jestem zalogowany przez służbowy adres e-mail.
W panelu programisty zmieniłem nazwę wyświetlaną na zweryfikowaną przez mnie witrynę (np. Www.example.com). Włączyłem też pole wyboru dla This item uses inline install.
Nie jest jasne, w jaki sposób powiązam witrynę, którą posiadam, z aplikacją, którą publikuję w Chrome Web Store.
Wygląda na to, że muszę podać witrynę, która jest moją własnością w pliku manifestu?
W moim www.mydomain.com/testfile.html:
<!DOCTYPE html>
<html lang="en">
<head>
<title>blu</title>
<meta charset="UTF-8" />
<link rel="shortcut icon" href="./img/favicon.png">
<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/myAppIdNumber">
</head>
<body>
<div style="width: 600px; margin: 40px auto;">
<h1>
Example Install Page
</h1>
<p>
You can initiate app and extension installations "inline" from your site. These apps and extensions are still hosted in the <a href="https://chrome.google.com/webstore/category/apps">Chrome Web Store</a>, but users no longer have to leave your site to install them.
</p>
<button onclick="chrome.webstore.install(undefined, undefined, function(message) { console.log(message); });" id="install-button">
Add to Chrome
</button>
<script>
if (chrome.app.isInstalled) {
document.getElementById('install-button').style.display = 'none';
}
</script>
</div>
</body>
</html>
Kiedy mówisz „zweryfikowano własność mojej strony testowej”, zrobiłeś w sposób opisany na tę stronę: https://support.google.com/webmasters/answer/34592?hl=pl –