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?










share|improve this question






















  • 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

















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?










share|improve this question






















  • 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















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?










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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




















  • 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














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:




  1. Make sure you are in the same wifi network with your Desktop and your phone.

  2. 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)

  3. Host your PWA with the http server (remember to use ssl)

  4. 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

  5. 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.






share|improve this answer























  • Yes I see web page, thank you.
    – asv
    Nov 10 at 22:51











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
});


}
});














draft saved

draft discarded


















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:




  1. Make sure you are in the same wifi network with your Desktop and your phone.

  2. 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)

  3. Host your PWA with the http server (remember to use ssl)

  4. 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

  5. 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.






share|improve this answer























  • Yes I see web page, thank you.
    – asv
    Nov 10 at 22:51















up vote
1
down vote













This is unfortunately not an entire solution but an advice on where to look:




  1. Make sure you are in the same wifi network with your Desktop and your phone.

  2. 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)

  3. Host your PWA with the http server (remember to use ssl)

  4. 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

  5. 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.






share|improve this answer























  • Yes I see web page, thank you.
    – asv
    Nov 10 at 22:51













up vote
1
down vote










up vote
1
down vote









This is unfortunately not an entire solution but an advice on where to look:




  1. Make sure you are in the same wifi network with your Desktop and your phone.

  2. 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)

  3. Host your PWA with the http server (remember to use ssl)

  4. 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

  5. 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.






share|improve this answer














This is unfortunately not an entire solution but an advice on where to look:




  1. Make sure you are in the same wifi network with your Desktop and your phone.

  2. 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)

  3. Host your PWA with the http server (remember to use ssl)

  4. 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

  5. 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.







share|improve this answer














share|improve this answer



share|improve this answer








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


















  • 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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







這個網誌中的熱門文章

Tangent Lines Diagram Along Smooth Curve

Yusuf al-Mu'taman ibn Hud

Zucchini