PWA development in localhost - laravel

Currently, I am trying to make my website support PWA. After implementing it, it works on the browser from the desktop where the button to install it is available on the address bar, but when I tested it on my mobile locally, somehow it won't prompt the "Add to home screen" popup.
Could the reason be that I run it locally, as it only uses the HTTP protocol? Or I missed something in order to set up for that popup specifically? My website is on Laravel 7.
Hope anyone could help enlighten me with this issue.
Thank you.
UPDATE: Solved it. Apparently by running the website locally with exposed public port using ngrok with HTTPS protocol, I am able to simulate how the app will behave on the mobile and the "Add to home screen" popup finally appeared.

PWAs by definition need HTTPS connections to be installed and run properly (as you said). On your development machine you are making use of the exception for "localhost". On your mobile device, you are not accessing the site locally as it is not hosted on the device itself.

Related

How mobile Firefox addon can recieve information from it's Desktop version? (if both are logged in)

I want to be able to close tabs on my mobile Firefox, while using Desktop version of Firefox. I thought Tab-sync would make it work, but it doesn't. So now I'm on the quest to fix it with an extension.
I have thought about using sync area of storage (https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/sync) but it's not supported on Android.
Do I have to build some external service to send command from Desktop version to that service and then use Mobile Firefox extension to do the polling or there is a better way to utilize fact that I'm logged on both of these devices.
Any ideas please?

Not able to debug phonegap app running on windows 8 mobile

I have a phonegap application that has some layout problems. I can run the app in browser for the most part, and this usually get me over the line. But with a new design I need to debug the application layout on windows phone 8.
I'm currently looking at weinre but its not showing anything on the desktop when browsing the local server, I have added the link to my application I have cleaned up everything I can think of. Still blank. Any good tuts around the ones I have read just copy and paste the original docs or are not on my same error.
There's a public weinre server available here:
https://the-weinre.herokuapp.com/
You may have better luck with that than with your local server. There's a demo available on that page, give that a try and see if it works on your windows 8 mobile device.

Open Safari on Mac Client from RDP or Citrix

I have a scenario where I have users accessing our company application either via Citrix or RDP.
The app needs to make a call from within the session to the client pc so it can open a browser for credit card entry.
This is all working okay as I'm using COM to make the call on Windows clients, however I'm not exactly sure how to approach this for Mac.
I believe a start might be able to use AppleScript to open the browser, but not sure on the best way to call the AppleScript. Should I create a C++ app written in xCode.
I'm new to any apple development, so any help or direction would be helpful.
If you have access to the shell on the remote Mac all you need to do to open Safari (or other default browser) is to execute open <URL>, for example:
open http://example.com

How to access my dev laptop mvc site from my ipod touch on same wireless network?

I'm running vista business with IIS 7. Here is what I want to do and can't figure it out. Have tried all kinds of permutations, but I'm missing something and could really use the help.
I'm on a home wireless network. My laptop, which is my dev machine has an IP of 192.168.1.102. I'm writing a mobile site using MVC beta 4 (but should be same configuration as MVC 3) and have an ipod touch 4g which from a mobile site standpoint is identical to an iphone 4.
What I want to do is be able to navigate to the site from my ipod touch thats running on my dev laptop. When I navigate to the aforementioned IP address, I get the IIS 7 home page. So that's the good news. I can get to it from the ipod. (both are on the same wireless network) However, I don't want the default IIS site. I want to see my mobile site. However, I don't want it as a virtual site. (I don't want 192.168.1.102/mysite) I want to navigate to 192.168.1.102 and have it go right to my mobile site rather than the default IIS 7 site.
Here's what I have done:
Created a new website under IIS 7 with port 80. I intend to use host headers.
Added a host header and also added 127.0.0.1 www.test.com to the hosts file
On my dev laptop, I can navigate directly to www.test.com and it works fine. However, when I use the ipod touch and navigate to 192.168.1.102 I still get the default IIS 7 site.
How can I configure my dev laptop so that from my ipod touch I can navigate to 192.168.1.102 and it displays the home page of my site? Is this possible?
Thank you kindly in advance for your help.
Perhaps I'm being foolish and not fully understanding your question properly, but why don't you just move your web application outside of your folder and put it in the root directory? Isn't that what you're trying to do?

IIS7 shows welcome screen in Firefox, Internet Explorer works correctly

Has anyone encountered the following problem: I have IIS7 running on my computer. On that same computer, I open IE7 and the website works (http://localhost/web.site/Default.aspx). Put that same url in Firefox 3 and I get the welcome screen of IIS7, a big image with IIS7 in the middle and 'Welcome' in several different languages. Clicking on the image leads you to http://www.iis.net/.
One browser accesses your server via 127.0.0.1, and another via your external IP.
Make sure virtualhost works with all network interfaces.
Perhaps your browsers have different locals set , only guessing as I have not used IIS7
Strange. That happened to me this morning (April 9, 2009), but the other way around. I was trying to get to Dell.ca. IE7 brought me to that IIS7 Welcome screen and Firefox brought me to the correct site. Happened 3 times before it corrected itself.
I do not have IIS anywhere on my network and my default home page is Google, which came up without a problem. The redirection occurred when I typed the new URL. I wonder if Dell is using IIS7...

Resources