Re:I made an iPhone game with PhoneGap and won't do it again
by bdcravens on Saturday November 26, 2016 @05:56PM
(#13046470)
Ionic has done a good job of implementing standard UI idioms atop Phonegap.
[ Parent
| on HN ]
Re:I made an iPhone game with PhoneGap and won't do it again
by brentvatne on Saturday November 26, 2016 @07:10PM
(#13046831)
Agreed, they've done a really great job and pushed it to the limits. Unfortunately they do not have support for even simple gestures, so the parent comment still applies -- afaict it's not possible with WebViews currently.
Re:I made an iPhone game with PhoneGap and won't do it again
by mort96 on Saturday November 26, 2016 @09:37PM
(#13047381)
JavaScript lets you listen for multi touch events just fine with touch starts, ends, and moves, and lets you keep track of each finger separately. What gestures would it not be possible to implement with that?
Re:I made an iPhone game with PhoneGap and won't do it again
by brentvatne on Saturday November 26, 2016 @10:53PM
(#13047604)
The browser has a bunch of behaviors that get in the way. The Ionic team could speak better to what is preventing them from implementing these gestures, or you could browse their issues to get an idea too: https://github.com/driftyco/ionic/issues?utf8=%E2%9C%93&q=ge...
Re:I made an iPhone game with PhoneGap and won't do it again
by ivan_gammel on Sunday November 27, 2016 @08:42AM
(#13049065)
Here's the correct search link, which gives better understanding: https://github.com/driftyco/ionic/issues?utf8=%E2%9C%93&q=is...
10 open, 40 closed issues related to gestures in v2. It has not yet reached release stage, but already good enough to start the development of the new apps.
Re:I made an iPhone game with PhoneGap and won't do it again
by brentvatne on Sunday November 27, 2016 @12:05PM
(#13050132)
Do they have a ViewPager? A DrawerLayout? Swipable rows in lists (eg: to delete an item)?
Also v2 is not the best thing to point to because it's very new and I don't think many people are using it compared with v1. And closed issues don't necessarily mean fixed, eg: https://github.com/driftyco/ionic/issues/9052 -- I believe all WebView based apps suffer from the problem described in this issue.
Re:I made an iPhone game with PhoneGap and won't do it again
by ivan_gammel on Monday November 28, 2016 @04:39AM
(#13054385)
ViewPager: if I understand it correctly, yes: https://ionicframework.com/docs/v2/components/#slides
DrawerLayout: yes
https://ionicframework.com/docs/v2/components/#menus
Swipable rows - yes: https://ionicframework.com/docs/v2/components/#sliding-list
Every new technology is used initially by less people than something older. It does not say anything about it.
Regarding the issue you've mentioned, I think it can be fixed by HTML/CSS means.