tsssaver icon indicating copy to clipboard operation
tsssaver copied to clipboard

Add sideload support

Open nullpixel opened this issue 8 years ago • 13 comments

Few ways I can do this:

  • Allow manual ECID input on the first attempt, and cache for the rest (easiest)
  • Find another private API to get the ECID.

nullpixel avatar May 29 '17 12:05 nullpixel

@AppleBetas your input on this would be liked, since it's evident we cannot get the ECID from inside the box of sand. I could ask the user once and store it somewhere?

nullpixel avatar May 29 '17 14:05 nullpixel

Not sure if possible but you could:

  1. Bundle mobile configuration profile that gets user ECID in app
  2. Start temporary server and host profile
  3. Redirect user to profile
  4. Have URL of profile send data back to app's server, which then redirects it to a URL scheme such as tsssaver://ecid/ECIDHERE

AppleBetas avatar May 29 '17 14:05 AppleBetas

I'd say storing the ECID would be convenient, but User Defaults carry over with backups and it's possible that even after switching the device, the user could still get the old device's ECID

AppleBetas avatar May 29 '17 14:05 AppleBetas

I didn't think that mobileprovs. actually allowed for getting ECIDs. Also, starting a webserver would require the personal VPN entitlement which is paid, so we'd have to host that somewhere in the cloud, which may not be a big issue.

nullpixel avatar May 29 '17 14:05 nullpixel

You can always just start the server and access it from DEVICE_INTERNAL_IP_OR_LOCALHOST:3000.

I think it only has to be from another device when installing apps (what happened with Extender)

AppleBetas avatar May 29 '17 14:05 AppleBetas

Ahh, makes sense then. Yeah, I don't see why this'd be an issue, although it could get cumbersome doing it repetitively. How about caching it, and the UDID, and if the UDID has changed then we can re-get the ECID?

nullpixel avatar May 29 '17 14:05 nullpixel

We can't get the real UDID inside the app without these hoops either, though.

AppleBetas avatar May 29 '17 14:05 AppleBetas

Ah yeah, that's a valid point too. I'm just not sure from a UX perspective we should be doing this process every time. There's no longer any truly unique IDs now, is there?

I was going to suggest the keychain, but that syncs.

nullpixel avatar May 29 '17 15:05 nullpixel

Not that I'm aware of. How often does the user use TSSSaver though? The process is like 30 seconds with this added loophole, so it's not like it is a terrible compromise

AppleBetas avatar May 29 '17 15:05 AppleBetas

Yeah, that's a good point. I'll add google analytics / fabrics to track users and we can see if it's even worth removing the loophole

nullpixel avatar May 29 '17 15:05 nullpixel

Thanks for the ideas. Gonna make the same thing before you two :P

jakeajames avatar May 29 '17 20:05 jakeajames

@nullpixel No one needs your code. I am enough smart to make it myself :P

jakeajames avatar May 30 '17 13:05 jakeajames

Any news?

Sn0wCooder avatar Mar 30 '18 11:03 Sn0wCooder