New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define what's a hybrid app #313

Closed
dkhamsing opened this Issue Mar 25, 2015 · 6 comments

Comments

Projects
None yet
3 participants
@dkhamsing
Contributor

dkhamsing commented Mar 25, 2015

As used in http://artsy.github.io/blog/2015/03/23/artsy-technology-stack-2015/

Our family of mobile applications includes Artsy for iOS, which is a hybrid app written in Objective-C..

@ashfurrow ashfurrow added the Question label Mar 25, 2015

@ashfurrow

This comment has been minimized.

Show comment
Hide comment
@ashfurrow

ashfurrow Mar 25, 2015

Member

Hey! So here's the high-level of what happens:

When you tap a button, the ARSwitchBoard turns that into a URL, which it then routes. Routes are set up at app launch and are responsible for configuring a view controller t be pushed.

If routing fails (something our app can't handle), then we load a generic web view controller to show that content instead. We do some finicking to remove some chrome from the mobile site and make sure the user is logged in. When a user taps a link in the web view, we intercept it and run it through the switchboard again. This lets users go from Native -> Web -> Native again.

Does that make sense? Happy to go into more detail and provide clarifications.

Member

ashfurrow commented Mar 25, 2015

Hey! So here's the high-level of what happens:

When you tap a button, the ARSwitchBoard turns that into a URL, which it then routes. Routes are set up at app launch and are responsible for configuring a view controller t be pushed.

If routing fails (something our app can't handle), then we load a generic web view controller to show that content instead. We do some finicking to remove some chrome from the mobile site and make sure the user is logged in. When a user taps a link in the web view, we intercept it and run it through the switchboard again. This lets users go from Native -> Web -> Native again.

Does that make sense? Happy to go into more detail and provide clarifications.

@orta

This comment has been minimized.

Show comment
Hide comment
@dkhamsing

This comment has been minimized.

Show comment
Hide comment
@dkhamsing

dkhamsing Mar 25, 2015

Contributor

Thanks @ashfurrow

What is the percentage of the routes that fail?

Contributor

dkhamsing commented Mar 25, 2015

Thanks @ashfurrow

What is the percentage of the routes that fail?

@orta

This comment has been minimized.

Show comment
Hide comment
@orta

orta Mar 25, 2015

Member

That is a really interesting question, that we don't really have an answer for.

Member

orta commented Mar 25, 2015

That is a really interesting question, that we don't really have an answer for.

@dkhamsing

This comment has been minimized.

Show comment
Hide comment
@dkhamsing

dkhamsing Mar 26, 2015

Contributor

Thx guys

Contributor

dkhamsing commented Mar 26, 2015

Thx guys

@dkhamsing dkhamsing closed this Mar 26, 2015

@orta

This comment has been minimized.

Show comment
Hide comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment