Install pwa in smartphone with localhost
up vote
0
down vote
favorite
I have a pwa and with localhost I can install on desktop, but I can't with my samrtphone andorid. Is it possible install a pwa without upload in a http server?
progressive-web-apps
add a comment |
up vote
0
down vote
favorite
I have a pwa and with localhost I can install on desktop, but I can't with my samrtphone andorid. Is it possible install a pwa without upload in a http server?
progressive-web-apps
I would recommend checking out ngrok.
– abraham
Nov 11 at 4:29
Thank you for the link
– asv
Nov 11 at 12:54
make sure to meet the criteria for a chrome browser
– Charis Theo
Nov 13 at 13:49
This is my manifest { "name": "PWATEST", "short_name": "pwatest", "icons": [{ some icons .... } ], "start_url": "/index.html", "display": "standalone", "background_color": "#3E4EB8", "theme_color": "#2F3BA2" }
– asv
Nov 14 at 19:22
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a pwa and with localhost I can install on desktop, but I can't with my samrtphone andorid. Is it possible install a pwa without upload in a http server?
progressive-web-apps
I have a pwa and with localhost I can install on desktop, but I can't with my samrtphone andorid. Is it possible install a pwa without upload in a http server?
progressive-web-apps
progressive-web-apps
asked Nov 9 at 22:46
asv
590819
590819
I would recommend checking out ngrok.
– abraham
Nov 11 at 4:29
Thank you for the link
– asv
Nov 11 at 12:54
make sure to meet the criteria for a chrome browser
– Charis Theo
Nov 13 at 13:49
This is my manifest { "name": "PWATEST", "short_name": "pwatest", "icons": [{ some icons .... } ], "start_url": "/index.html", "display": "standalone", "background_color": "#3E4EB8", "theme_color": "#2F3BA2" }
– asv
Nov 14 at 19:22
add a comment |
I would recommend checking out ngrok.
– abraham
Nov 11 at 4:29
Thank you for the link
– asv
Nov 11 at 12:54
make sure to meet the criteria for a chrome browser
– Charis Theo
Nov 13 at 13:49
This is my manifest { "name": "PWATEST", "short_name": "pwatest", "icons": [{ some icons .... } ], "start_url": "/index.html", "display": "standalone", "background_color": "#3E4EB8", "theme_color": "#2F3BA2" }
– asv
Nov 14 at 19:22
I would recommend checking out ngrok.
– abraham
Nov 11 at 4:29
I would recommend checking out ngrok.
– abraham
Nov 11 at 4:29
Thank you for the link
– asv
Nov 11 at 12:54
Thank you for the link
– asv
Nov 11 at 12:54
make sure to meet the criteria for a chrome browser
– Charis Theo
Nov 13 at 13:49
make sure to meet the criteria for a chrome browser
– Charis Theo
Nov 13 at 13:49
This is my manifest { "name": "PWATEST", "short_name": "pwatest", "icons": [{ some icons .... } ], "start_url": "/index.html", "display": "standalone", "background_color": "#3E4EB8", "theme_color": "#2F3BA2" }
– asv
Nov 14 at 19:22
This is my manifest { "name": "PWATEST", "short_name": "pwatest", "icons": [{ some icons .... } ], "start_url": "/index.html", "display": "standalone", "background_color": "#3E4EB8", "theme_color": "#2F3BA2" }
– asv
Nov 14 at 19:22
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
This is unfortunately not an entire solution but an advice on where to look:
- Make sure you are in the same wifi network with your Desktop and your phone.
- Find out the local IP address of the Desktop PC (probably something like 192.168.0.x). You can find it under ipconfig (Windows) or ifconfig (Unix)
- Host your PWA with the http server (remember to use ssl)
- Try to access your hosted website from the phones browser, using the IP address and the port, probably something like 192.168.0.x:8080
- If you serve your web page through another port (ex. 3000) make sure you configure Port Forwarding through your Router default config IP address
You should be able to open the website. So far I was not able to call the install event, but I will update my answer if I find out more.
Yes I see web page, thank you.
– asv
Nov 10 at 22:51
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234235%2finstall-pwa-in-smartphone-with-localhost%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
This is unfortunately not an entire solution but an advice on where to look:
- Make sure you are in the same wifi network with your Desktop and your phone.
- Find out the local IP address of the Desktop PC (probably something like 192.168.0.x). You can find it under ipconfig (Windows) or ifconfig (Unix)
- Host your PWA with the http server (remember to use ssl)
- Try to access your hosted website from the phones browser, using the IP address and the port, probably something like 192.168.0.x:8080
- If you serve your web page through another port (ex. 3000) make sure you configure Port Forwarding through your Router default config IP address
You should be able to open the website. So far I was not able to call the install event, but I will update my answer if I find out more.
Yes I see web page, thank you.
– asv
Nov 10 at 22:51
add a comment |
up vote
1
down vote
This is unfortunately not an entire solution but an advice on where to look:
- Make sure you are in the same wifi network with your Desktop and your phone.
- Find out the local IP address of the Desktop PC (probably something like 192.168.0.x). You can find it under ipconfig (Windows) or ifconfig (Unix)
- Host your PWA with the http server (remember to use ssl)
- Try to access your hosted website from the phones browser, using the IP address and the port, probably something like 192.168.0.x:8080
- If you serve your web page through another port (ex. 3000) make sure you configure Port Forwarding through your Router default config IP address
You should be able to open the website. So far I was not able to call the install event, but I will update my answer if I find out more.
Yes I see web page, thank you.
– asv
Nov 10 at 22:51
add a comment |
up vote
1
down vote
up vote
1
down vote
This is unfortunately not an entire solution but an advice on where to look:
- Make sure you are in the same wifi network with your Desktop and your phone.
- Find out the local IP address of the Desktop PC (probably something like 192.168.0.x). You can find it under ipconfig (Windows) or ifconfig (Unix)
- Host your PWA with the http server (remember to use ssl)
- Try to access your hosted website from the phones browser, using the IP address and the port, probably something like 192.168.0.x:8080
- If you serve your web page through another port (ex. 3000) make sure you configure Port Forwarding through your Router default config IP address
You should be able to open the website. So far I was not able to call the install event, but I will update my answer if I find out more.
This is unfortunately not an entire solution but an advice on where to look:
- Make sure you are in the same wifi network with your Desktop and your phone.
- Find out the local IP address of the Desktop PC (probably something like 192.168.0.x). You can find it under ipconfig (Windows) or ifconfig (Unix)
- Host your PWA with the http server (remember to use ssl)
- Try to access your hosted website from the phones browser, using the IP address and the port, probably something like 192.168.0.x:8080
- If you serve your web page through another port (ex. 3000) make sure you configure Port Forwarding through your Router default config IP address
You should be able to open the website. So far I was not able to call the install event, but I will update my answer if I find out more.
edited Nov 13 at 21:27
Charis Theo
12019
12019
answered Nov 10 at 21:56
Chris
664623
664623
Yes I see web page, thank you.
– asv
Nov 10 at 22:51
add a comment |
Yes I see web page, thank you.
– asv
Nov 10 at 22:51
Yes I see web page, thank you.
– asv
Nov 10 at 22:51
Yes I see web page, thank you.
– asv
Nov 10 at 22:51
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234235%2finstall-pwa-in-smartphone-with-localhost%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I would recommend checking out ngrok.
– abraham
Nov 11 at 4:29
Thank you for the link
– asv
Nov 11 at 12:54
make sure to meet the criteria for a chrome browser
– Charis Theo
Nov 13 at 13:49
This is my manifest { "name": "PWATEST", "short_name": "pwatest", "icons": [{ some icons .... } ], "start_url": "/index.html", "display": "standalone", "background_color": "#3E4EB8", "theme_color": "#2F3BA2" }
– asv
Nov 14 at 19:22