-
Notifications
You must be signed in to change notification settings - Fork 131
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
Device info on dual-screen #189
Comments
@kmelmon FYI |
The folks on the web browser side of things are working on the same issue. This might help folks understand what kind of information we're talking about exposing; |
Preview SDK for the Surface Duo and more overall information here: https://blogs.windows.com/windowsdeveloper/2020/01/22/announcing-dual-screen-preview-sdks-and-microsoft-365-developer-day/ |
I am a huge fan of dual/multiple-screen future of computing. Thank you for working on this! I am curious, should the API be intrinsically focused on dual-screen setup, or we should try to build it more generically (e.g. specifying a list of screen and list of characteristics that "connect" those screens)? |
Another concern is sync vs. async APIs design. |
@YuliKl hi! If I were to developer a new dual screen device, how would I set it up so this package returns I'd love to enhance this package, but currently I'm seeing |
Hi there, somebody can tell me if I can use this package with expo dev-client. I tried by I got this error java.lang.NoSuchMethodError: No static method systemBars()I in class Landroid/view/WindowInsets$Type; or its super classes (declaration of 'android.view.WindowInsets$Type' appears in /system/framework/framework.jar!classes3.dex) Thanks |
Introduction
Foldable devices is a growing area of innovation. Microsoft will be entering with market with the Surface Neo and the Surface Duo, which run Windows and Android operating systems, respectively. Microsoft has started publishing some information about dual-screen development, and there's a great opportunity here for React Native to bridge the gap and enable cross-platform app development.
The Core of It
With dual-screen devices come new challenges for apps to provide a great user experience. One challenge is correctly handing content spanned across two screens. To avoid awkwardly placing content in a location where the user can't easily see or interact with it, apps and components would benefit from information such as:
Modules
We propose creating native modules for Android and Windows, and encapsulating their information in a JS DualScreenInfo module, which will include the following information
Discussion points
The text was updated successfully, but these errors were encountered: