Phonegap has recently stopped working? - ios

I haven't used it in a while until now but I cannot get it to work anymore even with a new, generated and unchanged, project. It worked perfectly fine before. It's been updated and the mobile app has been updated.. I've tried the desktop and CLI version.
Details:
Using Windows 10. Desktop App or CLI Phonegap.
Using iPhone iOS 9.0.2 mobile Phonegap app.
Using the basic, generated Phonegap Hello World.
What happens:
1. I serve the application.
2. I open the mobile app and enter credentials.
3. It sits on "Downloading" indefinitely
Note: If I open the URL in a browser on the serving machine it WILL open. If I open it on any other machine it will not.. This confuses me because they're on the same WiFi network so that has nothing to do with it. I even tried turning off my firewall in case the port was being blocked or something. I've tried 3000 and 8080.
Has anyone else experienced this?
I've uninstalled, re-reinstalled, used different versions, etc...
EDIT: I've found a solution, kind of.. If I use the --localtunnel flag it will work. I'm not sure why given that they ARE on the same network. Of course this also means that every single time I serve it is a different address which is quite a hassle. But at least I can test now.

Related

running flutter app on iPhone with no internet does not work because the phone cant verify user without internet

As the title suggests the app is not opening up without internet because it needs to verify the developer (which is me). I also cant open it after killing the application without running it from my mac.
Is there any way to make this proccess smoother? I would like to be able to open application without reinstalling it everytime from my mac. I would also like to run the app without internet.
I need to be able to do this to test the offline mode on my application.
Appreciate any suggestions!

iOS WebRTC is not working with some STUN/TURN servers

We have a platform that has the Dashboard, Android app and the iOS app and it is using webRTC for video calls.The problem is Android and Dashboard are working ok with all of our STUN/TURN servers, but iOS is working with a few of them. to describe it in more detail when I use "turn:numb.viagenie.ca" and "stun:stun.l.google.com:19302" together in the iOS app, it almost works on every different networks, except for protected wifi's on port 433 and 80. since we had a problem on webrtc connection being made on protected wifi's with the mentioned ports on all of our platforms, we have created some extra ICE servers just for those ports. the problem is that those servers are working fine with android and dashboard, but not with iOS. when I added those ICE servers to the iOS app it gets stuck at checking for finding matching candidates. anyone has any Idea how to solve this issue?
Try using coturn or restund and test different ports I guess.. I am currently facing the same issue with iOS and am doing the same. Please update any success

Test website on iphone from linux

I have a website and client says it is not working on his iPhone6 browser. Tested layout with chrome dev tools, but most likely problem is not in layout, but some js error occurred.
I have a linux desktop and android device. Is there any way to install/emulate iOS anywhere?
UPD
Ok, this is impossible without device or laptop with iOS. I'll try to install it on vmware or virtualbox.
UPD2
One more way to see the error - setup sentry to log js errors and ask client to test it again
iOS could be emulated only through Xcode on Mac OS.
Even though, you always can emulate Mac OS ;)
I had the same problem. This website saved me: https://appetize.io/app/standalone_2p3b4d0weqbr42d31n6cfqby74?device=iphone8&scale=75&orientation=portrait&osVersion=13.7
The emulator that you see on the front page only works for 60 seconds but if you sign up (and don't choose a paid subscription) you can still test it for free in an emulator that can run for longer time. There you can also choose phone type, iOS version etc...

AIR mobile debug - "Enter ip address or hostname"

I'm developing a mobile app using Flash Builder 4.6/AIR. I've been able to debug on the device (an iPhone 4s) just fine until now. I connect my iPhone to my mac with the USB corad, and debug.
All of a sudden I'm getting a black screen for close to a minute. Then I see the "Enter ip address or hostname" dialog. If I enter the ip address of my machine it doesn't matter. The window goes away for about 15 seconds, then comes back. Meanwhile, Flash Builder on my mac times out. The only way I can actually see the program running is if I hit 'Cancel' on that dialog. The app then launches, but I cannot set any breakpoints, cannot debug.
Everything I've found on the internet around this issue mentions it in reference to AIR for android -- not iOs. But I'm seeing it with iOs.
Anyone know what's going on here?
Thanks.
To make it easier for future readers, the official answer to this issue;
With the current (official) version of the AIR SKD (3.2) USB debugging is not supported on iOS devices. This is going to change with the future 3.3 release which (amongst others) adds USB debugging support:
"USB debugging for AIR iOS
This new feature allows the iOS developer to connect to the desktop via USB while debugging their mobile applications instead of relying on network connectivity."
With version 3.2, iOS debugging works over the local network, so both devices (the machine the debugger runs on and the iOS device) have to be in the same network so that they can communicate with each other.
See also the reply to What is the address of my Flash debugger?, it really helped me to resolve similar issue. Using 'ios-debug' mode was the way to go.
If you still have this problem using Android with the device connected to same wifi, try checking firewall rules. In my case FlashDevelop was blocked and I didn't suspected because of updates worked perfectly.

Blackberry Simulator and MDS

Has anybody got the BB simulator and MDS simulator to work?
I have the MDS installed and 4 BB phone sim's. For some reason, when I first install the BB sim it might work and then it will stop working.
Has anybody had this issue and know how to fix it?
The first time I used both, BlackBerry JDE 6.0.0 and its version of MDS-CS, it worked very well. After a couple of simulator reloads to test a Browser-Push application, the 9800 simulator stopped connecting with the Mobile Device Service Simulator. All rules are important, but in my case, rule #3 allowed me to connect the simulator's internet browser after deactivating the WiFi connection
MDS should be running before you start the simulator; and it listens on port 8080, so make sure nothing else is listening on that port before you start it.
The simulator seems to pick up the MDS location from the rimpublic.property file (under MDS/config), which is part of the MDS install, and rimpublic.property needs to have the machine's fully qualified host name in it, not localhost.
If you've started your simulator without the MDS running, you will need to remove the .dmp files in [installroot]/[phonemodel]. This problem often happens with BlackBerry JDE version 6.0.0.
These rules seem to have work for me so far.
Well, there are several common mistakes when using MDS simulator with BlackBerry Simulator.
If you're opening network http connections you need to add "deviceside=false" parameter to your urls
In case you're behind proxy, you have to add several configuration parameters to enable MDS Simulator check them out here
I just spent 2 days trying various of the tips online about MDS (and there are many) but none helped me.
For me, the solution was to turn off network registration upon simulator launch in eclipse.
Edit: this has helped in some situations, but MDS still not always stable.
(posted in case someone with my problem googles to this page)

Resources