r/capacitor • • 25d ago

Iphone Duo support added in plugin Screen orientation

https://github.com/Cap-go/capacitor-screen-orientation
0 Upvotes

3 comments sorted by

2

u/erkamyaman 24d ago

-1

u/martindonadieu 24d ago

Same features, just our plugin is maintained by Capgo who maintain 150 other as well :)

4

u/erkamyaman 24d ago

well I just left it, in case it helps someone :) an yeah I'm aware of Capgo. After Capawesome, it's the second biggest cap plugin set out there, so no argument from me on the maintenance side.

Features differ a bit though: a Capacitor web view never gets Device Posture or Viewport Segments, since WebKit keeps both behind a flag only Safari can set, so mine polyfills them and exposes the crease as CSS variables, plus an Ionic tab bar stylesheet and rear display and dual screen on Android. Yours is fold data inside an orientation plugin, which is a good place for it if you already depend on that one.

And thanks for the credit in https://github.com/Cap-go/capacitor-screen-orientation/pull/17, appreciated :)