-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
RFC: Mobile Platform Support #3999
Conversation
I agree that the WebView approach seems like the most logical to initially research. A concern will be mobile browser WebGL version and extension support. Is there any "prior art" we can refer to, such as three.js with WebViews that we can look into to evaluate the scope of this work and viability? |
deck.gl already run on mobile browsers. Not sure on current state, WebViews used to have some limitations compared to the main mobile browsers but should support same WebGL extensions.
We should look around though I am not aware of any pre-packaged setups, as what is being served in the webview is a deployed URL, not a framework. This is where the "native API messaging proxy" comes in to let the native app and deck.gl talk... as one idea, maybe we can use our JSON transport to create native Android/iOS layer classes similar to how pydeck offers python classes... Also, @tsherif has worked with a similar setup in the past and had good experience with WebViews, and suggested the integration SDK approach. |
My understanding is that the Webviews on iOS and Android are essentially the renderers from their default browsers, so I don't expect there to be any compatibility concerns other than the ones already existing in those browsers. The pieces I imagine being involved in this are:
Overall, I don't think it would be too difficult to make deck amenable to be used in a webview. |
eb02cba
to
63afe09
Compare
* master: v8.0.0-beta.2 Layer bug fixes (#4040) Fix WebGL BlendEquation warnings (#4037) Support preprojection in PolygonTesselator (#4035) [Fix]: CPU Aggregation: filter out points outside of viewport. (#4026) React module fixes (#4032) Bump math.gl and probe.gl dependencies (#4029) RFC: Mobile Platform Support (#3999) Fix playground examples (#4030)
For #
Background
Change List