Comments (1)
Hi @said15904,
Picture-in-Picture Mode for iOS has been developed as a premium feature. Because PIP is not yet supported by the Jitsi iOS SDK, the non-native PIP is implemented, which involves adding gesture detection and translating the gesture events into js touch and click events to be sent to the iOS WKWebView. Because the Jitsi PIP UIView lies on top of the WKWebView, where the hybrid app is rendered, my original thought was to try to capture the gestures and send it to the underlying WKWebView via the Response Chain. Unfortunate Appleโs design doesn't allow it. As a result, the best solution is to capture all the gestures, and translate them into javascript events or swift UIScrollView commands. In some cases, the swift/javascript translation is very complicated. For example, when trying to move the cursor in ion-textarea and ion-input, I have to create a separate module to translate touch coordinates into text selection index.
The big picture development goal is to create something that is a transitional solution, knowing that Jitsi is working on jitsi/jitsi-meet#9437, although we do not know the timeline yet, and have no control over it. So I still believe my approach is a good one, as PIP is a very powerful feature which allows users to access the app while on a video or audio call.
Here is how the PiP works in a real iOS device: https://ds.ivr.solutions/media/pip_demo.mp4. Please note that unlike the native iOS PIP implementation, where the PIP window is active when the app is moved to the background, the non-native PIP window will be hidden when the app is moved to the background.
iOS gestures already implemented and should be working: tap, double tap, pan, pinch, drag, vertical and horizontal scroll. Please report anything that is not working/compatible with your app/framework.
Known limitations that I tried to solve but will need more time to work on. I am listing the ones that I am aware of but there may be more:
- moving of cursor inside div with contenteditable
- highlighting of text in a div
- copying, pasting, long press to open context menu in ion-textarea and ion-input
- ion-content scroll can use a more natural velocity curve
If you are interested in accessing the premium repo which comes with a 1-year customer support included, DM me here to discuss more.
from capacitor-jitsi-meet.
Related Issues (20)
- Cannot restart conference HOT 2
- Documentation issue iOS HOT 1
- Joining a 8x8 room from android results in empty room HOT 1
- Compatibility with Swift Language Version: 5.0 HOT 2
- Is it possible to use "Commands" on this plugin? The same ones available on web? Would I have to customize the SDK?? HOT 4
- Black Screen when Jitsi.joinConference() HOT 1
- PIP in app HOT 5
- dosc(ios): new step needed for Xcode 14 HOT 3
- Default NPM installation version still 2.3.0 HOT 1
- Screen sharing is not working between web and mobile HOT 7
- its is not working ionic 6 HOT 4
- Update to Jitsi Meet SDK 7 HOT 3
- Error when opening Jitsi Android HOT 2
- Interface Config Overwrite HOT 4
- Video/Audio/Chat Not Working But Participants Connect HOT 1
- Language Option HOT 4
- app:processDebugResources FAILED run android error capacitor plugin HOT 6
- Log in as a moderator pop up HOT 1
- Builds constantly require re-signing the Plugin code HOT 2
- Suggested Documentation Additions - meet.jitsi.si not suitable for production use HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capacitor-jitsi-meet.