iitc-project / ingress-intel-total-conversion

ingress.com/intel total conversion user script with some new features. Should allow easier extension of the intel map.
http://iitc.jonatkins.com/
ISC License
991 stars 552 forks source link

iOS Port of IITC Mobile #272

Open cathesaurus opened 11 years ago

cathesaurus commented 11 years ago

Flame -suit on... Given the way IITC Mobile is currently designed, it feels like an iOS port ought to be fairly straightforward. Has anybody attempted or considered this?

Fragger commented 11 years ago

It would require someone with the ability to build apps for iOS, which as far as I have heard is a pain as OS X is required. The only thing that is straightforward would be the javascript porting over as that works on anything, everything else would need to be done from scratch basically.

cathesaurus commented 11 years ago

Agreed. I've written naive iOS apps before, but not attempted a pet like this. I fancy giving it a go, if there's no prior art, but my situation is slightly suboptimal, in that I only have older hardware to test on, and my Apple iOS Developer subscription has lapsed.

There are at least two routes to market: a native iOS app, or using a multi - platform library like PhoneGap.

leCradle commented 11 years ago

I never considered building a multi-platform app, because 1) Ingress is Android only 2) multi-platform libs are cool...when they work like they should (Qt is an example for a good working multi-platform lib). I don't know phonegap very well, but in my experience you'll always have to code a big part natively, because important features (gps support for example) are missing in the lib you are using. 3) I don't have OS X and I don't like Apple... :)

An iOS port would be cool, but we need a dev who does it. Let's wait for the "IITC-iOS" pull request... :)

cathesaurus commented 11 years ago

1) The Ingress scanner is Android only - at least for now - but is it always going to be so? There's no reason IITC Mobile has to be Android only. How many people play with the scanner on their phone and IITC on a tablet... What if the tablet isn't Android? I, sadly, don't have an Android tablet, but do have an iPad, so...

2) I think you'll find PhoneGap has much wider hardware support now than you believe - including GPS. I mentioned it as a possible route to market, and I might give it a shot, just to see if it can be done. But I'm more familiar with developing iOS native apps, so it's horses for courses.

3) I do have OS X and I don't have the hated for Apple that some people do. And my phone is Android. It is entirely possible to be cross-platform, as a user, as well as an app.

And I created the issue, for the simple reason that Jon Atkins specifically told me to. So he, at least, seems to think it merits an issue. YMMV.

jonatkins commented 11 years ago

I'll keep the issue open here so people can

  1. See we're thinking about the idea
  2. Offer to help if they have iOS development experience.
cathesaurus commented 11 years ago

OK. I've started working on it, and how to have an initial version ready for consideration in a few days.

cathesaurus commented 11 years ago

*hope to have

pcaddict08 commented 11 years ago

I'm definitely interested in this. Has any progress been made? I'd be willing to help test it while it's in the dev. phase.

reynish commented 11 years ago

I'm in. What ever you need to help.

Some guy has a port of ingress for iOS on GitHub, I haven't tried it. Use at your own risk. I'm not even going to link to it ;-)

pcaddict08 commented 11 years ago

I know of the iOS port. I've contributed down to it. Unfortunately, JavaScript isn't my strong suit and I don't have a ton of time to devote to this. Right now it's just a webview with the intel page.

On Sunday, June 9, 2013, Alex Reynish wrote:

I'm in. What ever you need to help.

Some guy has a port of ingress for iOS on GitHub, I haven't tried it. Use at your own risk. I'm not even going to link to it ;-)

— Reply to this email directly or view it on GitHubhttps://github.com/jonatkins/ingress-intel-total-conversion/issues/272#issuecomment-19172836 .

cathesaurus commented 11 years ago

Update: I got as far as running the base script in the iOS emulator. Further progress has been hampered by the fact that funds are tight, and I still haven't been able to afford the update to OS X (to allow the latest iOS SDK to be used) or renew my developer subscription (to allow on-device testing)... hence the apparent lack of progress. I haven't forgotten.

manacker commented 11 years ago

I'm one of the guys who got hooked by the iOS port, but got banned for it. Then I got an old HTC Desire for playing, which doesn't support Android 4 and IITC. Since I carry my iPhone with me anyway, an iOS port would be appreciated.

@cathesaurus I have an open developer subscription, although more for testing than developing. I know some JS, and know how to get Xcode to compile things. Let me know if I can help.

cathesaurus commented 11 years ago

TL;DR - I'm not comfortable with sharing code until I know it works, on-device, not just in simulator.

@manacker I have an iPhone 3G, and a first-generation iPad 3G, so my first goal is to support the highest versions of iOS supported by those devices, namely 4.2.1 and 5.1.1 respectively. Which means that, for an iOS-only build, I don't need to use the latest iOS SDK, I just need current deployment certificates to enable on-device testing.

Looking further ahead, I do think there's a lot of mileage in the PhoneGap approach, not least because then the supported platforms range even wider. However, PhoneGap only supports the latest iOS SDK, which is where the OS X upgrade would come from.

There are a bunch of down-the-line considerations, e.g. how to make it available to others (App Store, Cydia, compile it oneself, connect with an iOS developer with spare test device slots), how to keep in step as painlessly as possible with new IITC releases, how to automate the build... and I've given a lot of thought to these, and more, and they'll all be up for debate, when appropriate. For now, though, I'm hampered until I can test, myself, on-device.

pcaddict08 commented 11 years ago

This port works beautifully, it just needs the most recent desktop IITC script plugged in before it's built. All you have to do is replace the existing js file in project. :) I haven't been able to research into getting it on Cydia or anything. I've been super busy with work/ect.

Bit of backstory, I also got banned for iOS client usage, and now tether wifi from my iPhone to a Nexus 4.

manacker commented 11 years ago

@pcaddict08 Which port are you talking about?

pcaddict08 commented 11 years ago

Oh, My mistake, I thought these comments were on a different repository.....

https://github.com/pcaddict08/Ingress-iOS-Intel <-- this is the one that I thought we were on. Alex-Alex fixed my code, so it works if you just plug in the newest javascript in.

RobyB commented 10 years ago

Any news or progress? Is there a way to get it packaged as an app working on a non jailbroken phone/ipad?

dulgan commented 10 years ago

Hey, I'm an iOS native developper, I'm interested in helping this port from Android to iOS :) Without any developper account (100$ a year) there is no way to install it on non jailbroken devices. With an account, only 100 beta test device can be used. Anyway the purpose of this message was to offer help to any pseudo official iOS port, feel free to contact me :)

marnen commented 10 years ago

Now that the official iOS release of Ingress is out, this would be a good thing to have. Can I help?

arayatara commented 10 years ago

Concur... With ingress out on ios... Would be very useful to have... Willing to support anyway possible...

cathesaurus commented 10 years ago

OK... ages since I opened this issue, but here goes.

I stopped actively pursuing this, because:

1) once my phone (Samsung Galaxy Ace 2) received the official update to 4.1.2, I was finally able to run IITCm on said phone; and

2) I sold my first-generation iPad (the main device I wanted IITCm for) AND received the long-term loan of an IITCm-capable Android tablet.

In combination, IITCm on iOS shot to the bottom of my personal priority list. And I wasn't expecting / planning to be doing any iOS programming again, any time soon. However, I now find myself porting some apps, written for Android, to iOS... have access to an iOS 8-capable device (an iPhone 5) for on-device testing of those apps... and will shortly have a paid-up iOS Developer subscription, permitting the distribution of app installers to up to 100 different iOS devices. In combination, then:

"Looks like meat's back on the menu, boys!"

So, here's the deal.

Personally, I'll be happy to provide installers for as many devices as I have left within my one hundred device allocation, after allowing for testing of my other apps (see above.) Which means that anybody who might want me to include them in the list of one hundred devices for which I can provide installers, will greatly improve their chances if they've also agreed to help test those other app(s). Which seems fair, to me.

Thoughts? Comments?

-- Catherine <- yeah, I'm a woman, AND a programmer, and ever so NOT interested in irrelevant interactions with brogrammers, sexists, MRAs, supporters of rape culture, racists, misogynists, homophobes, ableists, God-botherers, ... in other words, your iOS installer WILL have girl / queer cooties on it, so if that's going to cause you any issues, then back to the Dark Ages with you, and good day to you! :)

manacker commented 10 years ago

Sounds good to me, I'm looking forward to it. I can recommend the "Introducing the Modern Webkit API" talk from this years WWDC (https://developer.apple.com/videos/wwdc/2014/), which explains a new API to interact with websites in your app.

Why so you think it might be rejected from the App Store? Google might complain, but I don't see that this is Apples concern.

cathesaurus commented 10 years ago

Ooh, thanks for that link, I'll check it out. :)

Precisely because Google may complain. Apple is not backwards in coming forwards to remove apps from the App Store. A sniff of a complaint from Google, and it'll likely be gone.

I mean, I'll be very happy to be proved wrong... but I'm not holding my breath. -- Catherine

— Sent from Mailbox

On Sat, Oct 11, 2014 at 1:10 PM, Marcel Anacker notifications@github.com wrote:

Sounds good to me, I'm looking forward to it. I can recommend the "Introducing the Modern Webkit API" talk from this years WWDC (https://developer.apple.com/videos/wwdc/2014/), which explains a new API to interact with websites in your app.

Why so you think it might be rejected from the App Store? Google might complain, but I don't see that this is Apples concern.

Reply to this email directly or view it on GitHub: https://github.com/jonatkins/ingress-intel-total-conversion/issues/272#issuecomment-58747523

umer936 commented 10 years ago

Hey there!

IITC for iOS sounds like a great idea, but I was actually able to get it run through a JavaScript bookmarklet, (hosted here: http://satxresist.com/IITCmw/ ) as per this issue https://github.com/jonatkins/ingress-intel-total-conversion/issues/833

Just wanted to let you know that a way (albeit very hackish) exists before you spend a bunch of time on it.

marnen commented 10 years ago

Thanks for the bookmarklet! I think this is probably at least as useful as a packaged iOS application would be.

flamusdiu commented 9 years ago

@cleptric I don't know. You would need to read the Apple ToS to find that out.

reptil1990 commented 9 years ago

I have some experience writung iOS apps! Maybe someone can share the progress and maybe i can help! Want to get IITC running on iOS!

ATXTimeLord commented 9 years ago

Curious if development on this was still ongoing? I have a dev account I could use for testing purposes...

HubertZhang commented 9 years ago

Currently I'm working on a iOS version IITC using WKWebView and you can find it under my fork. ( https://github.com/Hubertzhang/ingress-intel-total-conversion/tree/master/mobile-ios ) Any help would be appreciated~

pleasantone commented 9 years ago

Don't mean to state the obvious, but one suggestion I'd make is to be sure to grab/refresh/inject the dist and/or test versions of iitc directly from the iitc website, since we don't want to wait for an App Store update cycle (2 weeks) any time niantic changes anything.

The android app also has a developer mode where you can side load plugins and js for those of us who work on iitc.

Yay for doing this!

On Jul 25, 2015, at 8:28 AM, Hubert Zhang notifications@github.com wrote:

Currently I'm working on a iOS version IITC using WKWebView and you can find it under my fork. ( https://github.com/Hubertzhang/ingress-intel-total-conversion/tree/master/mobile-ios ) Any help would be appreciated~

— Reply to this email directly or view it on GitHub.