-
Notifications
You must be signed in to change notification settings - Fork 1
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
Versioning and compatibility #11
Comments
We've got Here are possible scenarios:
Over time, is it possible to avoid a hot mess of |
This might be a warning that we need thorough documentation with which functions are supported by which versions. |
This is also linked to #12, since if the native layer never calls functions on the web page, then one of the scenarios above is impossible. |
Can't we assume that the rendered page version will always be >= nativeVersion? |
If a new build of the app accesses a rendered page that is cached by Fastly, then could this happen? |
Hmm yeah, maybe we put a hash on We do have version numbers available to each other but it won't be nice to have if statements everywhere. We should build it so that if the function doesn't exist, nothing happens. I think the majority of cases will be the webview calling into the native layer? |
We had a brief conversation about versioning and compatibility between the native clients and the webview, so I thought we should get something in writing about how we're going to handle changes to the WebView / Native Thrift API over time.
The text was updated successfully, but these errors were encountered: