Hi - IIRC - Both Apple and Google AppStores have Unique DeviceIDs and can callback your own web service using their protocols when a user downloads and then activates your App. This interface is used for push notifications.
Or - you can use a Cookie approach… I take it that you want the clients of your clients to have the unique experience. You may be able to do something like having the App download with a key through a link on the client’s web page that properly defines the relationship. Hope this helps. Regards, Dave > On Dec 19, 2017, at 10:08 AM, Javier Guerrero García <javi...@gmail.com> > wrote: > > Not 100% sure (a few hurdles to jump in between), but maybe a simple cookie > could let you handle all that: store a random number (or even the agentID) > in the cookie AND in your database on first click (before redirecting to > the app store), and then inside the app use a browser to query for that > same cookie (or maybe even access it from your HTTPService requests: > https://forums.adobe.com/thread/432662 ) > > Or.... maybe you can just migrate the app to be 100% web based :-P > > P.S. If you go to your second option, do you really really need to store > the pair (agentID, deviceID) in your database? Why not skipping that part, > linking directly to the appstore (so everyone in the world can install/use > it), and just enter the agentID on first run and storing it? > > > El El mar, 19 dic 2017 a las 14:20, bilbosax <waspenc...@comcast.net> > escribió: > >> The idea is that agents would have an account with their branding in it - >> email address , phone number, company name, photo, etc. They would be given >> a link that they could put on their websites. When a client clicked the >> link, I was going to capture a unique identifier for their device and write >> it to a database along with the agents ID. They would then be redirected to >> the App Store to download the app. On first run, the app would again get >> the >> unique identifier from their, look it up in my database to find the agent >> ID >> associated with it, and download the agents marketing. I wanted it to be >> easy and seamless, just a click of a link, install, and run. But it looks >> as >> if Apple is very tight with unique ID's for privacy purposes. Now I think >> the only option to customize is that a client would have to enter an email >> address upon clicking the install link, which would be written to a >> database >> along with the agent ID, and then they would also have to re-enter the >> email >> address again on first run to retrieve the agents branding from my >> database. >> >> Can anyone think of a slicker way of delivering a customized app to a >> user??? Am I missing something that the rest of the world already knows?? >> >> >> >> -- >> Sent from: http://apache-flex-users.2333346.n4.nabble.com/ >>
signature.asc
Description: Message signed with OpenPGP