IOS 9 Beta 5 issues, app loads but no taps registered?

  • 8
  • Question
  • Updated 5 years ago
Hi, there seems to be a problem with some apps that no taps are registered whatsoever once it has loaded. These taps are all listened for by JavaScript, on menus etc. IOS8 < is fine. Of course this is beta IOS so may be fixed with the next release, but with the finished IOS looming i was wondering if anyone else has experienced this issue and what it might be linked with?

Phonegap version 3.7.0

Thank you
Photo of plarner

plarner

  • 1 Post
  • 0 Reply Likes

Posted 5 years ago

  • 8
Photo of Yi Ming Kuan

Yi Ming Kuan

  • 1840 Posts
  • 78 Reply Likes
Support should most likely roll out for iOS platform version 4.0.0.

-yiming
Photo of Matt Quinn

Matt Quinn

  • 3 Posts
  • 0 Reply Likes
Sounds good - any clues as to when on the roadmap v4 is?
We have an app due for release next month and Apple are rejecting it because the touch doesn't respond on iOS9....
If v4 isn't imminent I suspect ditching PhoneGap build will be our only option :-(
Photo of Matt Quinn

Matt Quinn

  • 3 Posts
  • 0 Reply Likes
Quick update (on our issue at least)....

It seems from a number of people's feedback that JS libraries that worked like a charm in iOS8 just don't play ball in PhoneGap in iOS9.

Having seen a number of people's issues tidied up by updating jQuery Mobile it caused us to review the JS libraries we are using (we're not using jQuery Mobile), but we did spot a newer available version of AngularJS. The upgrade for this AngularJS solved a significant portion of the freezing we were seeing in various tap scenarios.

Hypothesis - the new funky touch events in iOS9 are not being handled very well by some libraries, causing JS errors, which then bring the whole thing to a halt.

We also noticed some updates (thanks to @raymondcamden who tweeted a few pointers here) that some of the references we had in the app were using HTTP rather than HTTPS. All of our APIs etc are HTTPS, but we were loading the Bing Maps API over HTTP - which iOS9 doesn't allow by default.

So if you're experiencing issues, the two recommendations I'd suggest starting with are:

- review any JavaScript libraries / frameworks you're using to see if newer ones are available
- take stock of any library references you might have unwittingly referenced via HTTP

NOTE: To help us get to the bottom of this we ended up doing manual builds so we could debug directly and bypassing PGB. Now we've gotten to the bottom of it we should be back up and running with PGB for the regular build automation :-)

Since Visual Studio 2015 is our development environment for Cordova / PhoneGap apps we also found this really useful to enable us to directly build and debug from Visual Studio...

http://go.microsoft.com/fwlink/?LinkI...
Photo of Giuseppe Milo

Giuseppe Milo

  • 27 Posts
  • 1 Reply Like
@matt I'm using jquery mobile 1.4.5 in ios9 without any issue. The only problem I had was with the taptoscroll plugin which doesn't work in ios9. I suggest anybody with this kind of issues to build the app with xcode to check which plugin or javascript is creating issues.
Photo of John Friedman

John Friedman

  • 21 Posts
  • 0 Reply Likes
Confirmed same problem
Photo of Philip Larner

Philip Larner

  • 1 Post
  • 0 Reply Likes
Not happening in IOS 9 release
Photo of John Friedman

John Friedman

  • 21 Posts
  • 0 Reply Likes
Still happening on our app in iOS 9 release
Photo of Michael Dobekidis

Michael Dobekidis

  • 18 Posts
  • 0 Reply Likes
yes this is happening on release, iPhone5 ios9
Photo of FilmKit

FilmKit

  • 8 Posts
  • 0 Reply Likes
Experiencing the same issues in ios9 release, my apps have become totally unresponsive
Photo of Luciano

Luciano

  • 11 Posts
  • 1 Reply Like
Awesome...we all have the same problem
Photo of Joshua Herbison

Joshua Herbison

  • 13 Posts
  • 2 Reply Likes
Yeah, I made the mistake of upgrading to IOS 9 beta on my iphone 6 plus. I had to use one of my kids phones to finish building the app. It is completely unresponsive.
Photo of Luciano

Luciano

  • 11 Posts
  • 1 Reply Like
So do we all have to wait for Phonegap 4.0?? What the heck I'm suppose to tell my client's? Anybody know if a custom build through Xcode could resolve the issue? Are all apps built from Phonegap unresponsive within iOS 9?
Photo of Giuseppe Milo

Giuseppe Milo

  • 27 Posts
  • 1 Reply Like
Same problem here :-( after resume the app becomes unresponsive. Works fine when it starts. I'm using phonegap 5.1.1.
Photo of Joshua Herbison

Joshua Herbison

  • 13 Posts
  • 2 Reply Likes
Yeah, it is really starting to hurt... New business app and half of the clients can't use it.
Photo of Luciano

Luciano

  • 11 Posts
  • 1 Reply Like
@joshua what also hurts is the 17 days of silence from the Phonegap team. Grrrrr
Photo of Luciano

Luciano

  • 11 Posts
  • 1 Reply Like
So I got my app to work outside of the build.phonegap.com. Build.phonegap is awesome for convenience and plugin management, but if you all need to rock and roll NOW, then i used Cordova CLi using 5.1.1. Built the app inside Xcode, downloaded the ipa file and dropped it into iTunes.

Goodluck :)
Photo of Raz Wasserstein

Raz Wasserstein

  • 8 Posts
  • 0 Reply Likes
Hey- Can you help me build my app outside of phonegap build?
I have a very big problem with it
Thank you
Raz
Photo of Michael Dobekidis

Michael Dobekidis

  • 18 Posts
  • 0 Reply Likes
Does that make it responsive again to taps/input? Just locally building it?
Photo of Luciano

Luciano

  • 11 Posts
  • 1 Reply Like
@Michael
Hopefully I understood this forum correctly, but we all lost control of the touch screen, where our apps were nothing more than a frozen picture. Not even the three finger Hydration feature was working. FYI: I'm also a new developer, so I want give that disclaimer, so as to not lead you down a wrong path unwillingly :)

The above behavior is what I was experiencing.

The current method I spoke of in the last post, is now completely responsive to tap input on the touchscreen. Other notes, I'm using an ad hoc provision profile, and nothing as of now is public for my project. I cannot say if you build within Xcode and push it to iTunes, the solution will sustain for a public distribution.
Photo of Michael Dobekidis

Michael Dobekidis

  • 18 Posts
  • 0 Reply Likes
Yes that is what I'm also experiencing. I will give it a try and post here again.
Photo of John Friedman

John Friedman

  • 21 Posts
  • 0 Reply Likes
@Luciano
This is a little off topic but the only thing I need PGB for is Hydration and I can't find any documentation about adding it under phonegap or cordova CLI. Were you able to make Hydration work? Only way I can see of doing it is extracting the files from a PGB ipa and adding them to your cordova project.
Photo of Luciano

Luciano

  • 11 Posts
  • 1 Reply Like
@John
My suggested method is without Hydration. Thats a perk of the PGB and outside of the CLi project scope.

It would have been if cool if I could!

You need to install Cordova CLi then go to your projects dir within the terminal, then do an iOS build:

$ cordova platform add ios

That will create a folder within the platform folder with an Xcode project file. I'm not sure if you need a copy of the config.xml in the project folder before the build, I put one there anyways.

Luciano
Photo of John Friedman

John Friedman

  • 21 Posts
  • 0 Reply Likes
Thanks for your response @Luciano.

I have just now confirmed our app is iOS compatible when built with cordova 5.3.1 using XCode 7.0

john
Photo of Luciano

Luciano

  • 11 Posts
  • 1 Reply Like
Awesome!!!!
Photo of John Friedman

John Friedman

  • 21 Posts
  • 0 Reply Likes
sorry, ... it is iOS 9 compatible
Photo of Scott Bolinger

Scott Bolinger

  • 16 Posts
  • 2 Reply Likes
I'm not seeing this issue. I'm wondering if it's related to Hydration, are you guys all using that?
Photo of Joshua Herbison

Joshua Herbison

  • 13 Posts
  • 2 Reply Likes
I am... I will turn off hydration and test it.
Photo of Joshua Herbison

Joshua Herbison

  • 13 Posts
  • 2 Reply Likes
Yes, turning off hydration works... App is fully responsive. On my iPhone 6 plus, I still have a black border at the top and bottom but the app does work.

Thanks for the suggestion Scott.
Photo of Luciano

Luciano

  • 11 Posts
  • 1 Reply Like
Its working fine on my end with that feature disabled. That makes sense, if the error is with hydration. It cause the whole screen to be disabled.

Thanks guys!
Photo of Michael Dobekidis

Michael Dobekidis

  • 18 Posts
  • 0 Reply Likes
Adobe should be thanking you man!
Photo of Vinicius ApliMed

Vinicius ApliMed

  • 8 Posts
  • 0 Reply Likes
Query Mobile properly Working with phonegap 5.3.1 , IOS 9?
(Edited)