Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Android Presentation API and iOS AirPlay #99

Closed
@FlutterIssues

Description

@FlutterIssues

Issue by eukreign
Monday Jul 20, 2015 at 14:19 GMT
Originally opened as https://github.com/flutter/engine/issues/130


It would be really great if Sky could support the use case of having two independent display/view instances that can communicate together. This would make Sky very appealing to game developers who want to make multi-screen games (phone/tablet as controller and large TV/monitor as second screen).

Both Android and iOS have support for this use case today using the standard frameworks.

There are two issues that would need to be addressed to make this work:

  1. A simple way to connect the two Sky views/apps so that they can quickly pass messages (mostly it will be one way messages from the controlling view to the dumb screen view). A critical feature would be to have a way for the controlling view to know when the other view is available to receive messages (can't start the game until all views are initialized).
  2. Exposing the necessary API in Dart to query for external displays and to be able to create a view to send to the external display. For Android this would be exposing the Presentation API and for iOS there is a Multiple Display Programming Guide for iOS.

For inspiration, here is a cordova Presentation API plugin that implements all of the necessary plumbing for both Android and iOS:

https://github.com/fraunhoferfokus/cordova-plugin-presentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capability

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions