06-09-2013 02:33 AM
We have a responsive website built on Backbone.js, Zepto and HTML/CSS.
We are using WebWorks to build the app for deployment to the app store.
Our app has account sign up and confirmation etc. Emails are sent out to the user from the server but when a user requests them from a mobile app we would like to be able to open the aforementioned app and then navigate to the correct section as dictated by the URL.
Is there an easy way to do this? I would have thought the best way would be to detect if any email request was initiated by an app and then serve different URLs in the emails to the user that can somehow fire up the correct application.
06-09-2013 01:22 PM
Hmm - it sounds unlikely
The thing is that if your app has already registered the user once validated there should be no reason to use the method you describe
When resistering via the app also send the UUID of the device or some similar unique identifier
When you send the email activate that specific UUID (it's in blackberry.identity somewhere depending on OS and needs permissions)
As a result the user registers via the app - from which you got the UUID, they get an email they click on and that device is authorised to use the system
They then open the app and the login knows they are OK to use it
There are other methods I can thing of but this one seems easiest
06-09-2013 08:54 PM